-
Notifications
You must be signed in to change notification settings - Fork 3
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
Crash when trying to open URL #6
Comments
Why not do the same as all the other pyfilesystem2 packages and put dropboxfs under an empty "fs" directory? |
Like, completely empty? That doesn't work. I tried following the setuptools docs, but it kept breaking. I've been tearing my hair out trying to figure out why it works locally and fails on Travis; turns out it's this issue that makes |
I mean no files in it except for the dropboxfs directory - that's the way all the other pyfilesystem2 packages work. |
Which ones, exactly? I looked at |
Actually, you're right, some of them do work the same way as this repo: Some work with an empty fs directory: |
Of the second list, some of those aren't installable (missing |
Okay so now I'm getting a new kind of error:
I suspect this has something to do with the namespacing but I'm following setuptools' own documentation... |
On my projects, I use poetry to make a wheel and install them that way. Also, it's not my project so I can't really close issues :) |
Oh duh I can close it because I filed it. 🤦♂ |
@zopyx can we do a release to PyPI include the fix? Latest version up there doesn't have this. |
Thanks! |
This still doesn't install properly. I installed the post2 version via poetry and it installs the dropboxfs directory, with dropboxfs.py under it, at the root of site-packages (it should install under the fs directory). I think this is why the opener doesn't work. |
I think this is fine, as it seems how |
Due to a fix for a bug in
setuptools
, installation of the package goes fine but because this package's name isfs.dropboxfs
and notfs-dropboxfs
,pip
interprets the package to be namespaced in fs (more on namespacing here). You won't encounter problems when installing this locally, but if you install from PyPI and try to open a Dropbox URL, you get this:Platform:
The text was updated successfully, but these errors were encountered: