kraft
kraft copied to clipboard
Failed to Parse Error
Describe the bug Bug is reported after installing kraft a user run the following command: 'kraft list update'
Error message [CRITICAL] Failed to parse: https://api.github.com:443/repos/unikraft/unikraft
Hey @farif!
Could you provide a few more detaiils please about your problem, e.g. by trying with kraft -v list update
.
Also, have you set your Github access token via the environmental variable UK_KRAFT_GITHUB_TOKEN
?
Hi Alex, thank you for your prompt response. Here is the what I get after running command with 'v'
[DEBUG ] Synchronizing cache with filesystem...
[INFO ] Using direct repository: http://github.com/unikraft/unikraft.git
[CRITICAL] Failed to parse: https://api.github.com:443/repos/unikraft/unikraft
[CRITICAL] Traceback (most recent call last):
File "/home/farif/.local/lib/python3.8/site-packages/requests/models.py", line 382, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/farif/.local/lib/python3.8/site-packages/kraft/cmd/list/update.py", line 76, in kraft_update
thread.join()
File "/home/farif/.local/lib/python3.8/site-packages/kraft/util/threading.py", line 58, in join
raise self.exc
File "/home/farif/.local/lib/python3.8/site-packages/kraft/util/threading.py", line 49, in run
self.ret = self._target(*self._args, **self._kwargs)
File "/home/farif/.local/lib/python3.8/site-packages/kraft/cmd/list/provider/github.py", line 139, in
Any feedback on this? I am running into the same issue, but only on one of my systems, all of which are running Linux Mint 20 Ulyana
UPDATE: I found that on the system having this issue, urllib3 1.25.8 was installed. Upgrading this to 1.26.7 corrected the issue for me.