-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: unknown url type #1
Comments
Have you tried python3? I think I should limit to python 3 only. |
Having the same issue with python3, but with Memory Error later on. (ram is around 4gb all of it is used when running) |
Let me check it later. |
Hi ! I'm having quiet the same error with Python 3.6.5. Thanks for your kind help. Start downloading... Download oculus-librarian.zip Exception in thread Thread-7: Exception in thread Thread-11: |
Unfortunately I'm currently busy on other project so don't have bandwidth to look into it. Basically from the error message, it looks like python3 has updated some package usage.
|
I'm not very familiar with decompiler (nor compiler ;-). Tried ''Reko Decompiler'' and can't find any clue. |
You may try ildasm (included in Windows SDK) or .Net Reflector, download url, user agent and access token are stored in plain text. |
They changed their webpage so the setup exe fails to download and throws the above error. But everything else will download fine. This fixes it (im too lazy to do a PR). The token isnt required for the setup exe but it doesnt hurt anything.
Output:
|
Apply fixes from ivellioscolin#1
Hi,
First of all, great utility, really like it.
Having a small issue whilst running the script, it throws the error below. Everything appears to download ok and install, just something to look at perhaps ? Not sure why it's thrown. Thanks !
Start downloading...
Download OculusSetup.exe
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "OculusDownload.py", line 85, in DownloadFileThread
fp = urlopen(AddAccessToken(uri))
File "C:\Python27\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 421, in open
protocol = req.get_type()
File "C:\Python27\lib\urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: ?access_token=OC|1582076955407037|
The text was updated successfully, but these errors were encountered: