-
Notifications
You must be signed in to change notification settings - Fork 12
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
Access denied via Volume() #45
Comments
Thank you for the clear report. What is your system setup? (Especially OS and character encoding). This code works fine on my Mac and on a clean google colab instance, so I suspect it must be some kind of system-specific escaping problem. |
Also, is this a problem with all htids, or just the one here? Given the backslashes where there should be slashes in that URL, it seems possible that this is pathlib overcompensating for being on Windows, but I'm not sure why we wouldn't have seen this before.
|
Setup:
The first/top error when only passing: Volume('mdp.39015029970129').tokenlist())
It doesn't work for any IDs for me. It was working on Mac/Manjaro |
Thanks. Let me tag in @organisciak since I think he develops this on Windows. |
@bmschmidt The error seems to only exist in 2.0.7. If you downgrade the package to 2.0.6, it works. |
Thanks for looking in further. It looks like 2.0.7 is a version number that only appears on the MassiveTexts branch. My best guess is that this problem was have been introduced here. It calls @organisciak, do you still have Windows to fix/test this? I've proposed massivetexts#29 as a really stupid way to fix what appears to the be the problem, but I don't know if it's a full fix. |
I can access the page via browser, but it gives a 'no online access' page. I can download the json file, but I cannot use that within the Volume()
If I try path = r""
I get: OSError: Invalid data stream
The text was updated successfully, but these errors were encountered: