Skip to content
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

Support for Python3 #5

Open
mycaule opened this issue Nov 8, 2019 · 4 comments
Open

Support for Python3 #5

mycaule opened this issue Nov 8, 2019 · 4 comments

Comments

@mycaule
Copy link

mycaule commented Nov 8, 2019

The command was initially developed for Python 2, but now breaks with Python 3.

These only small changes are needed to correct the errors:

ModuleNotFoundError: No module named 'urlparse'
  • main.py: use the standard try except syntax.
    except SyntaxError, e:
                      ^
SyntaxError: invalid syntax
NameError: name 'xrange' is not defined
AttributeError: module 'itertools' has no attribute 'izip_longest'
@mycaule
Copy link
Author

mycaule commented Nov 8, 2019

To support both Python 2 and 3, you might have to publish two different versions on PyPI repository.

@Binternet
Copy link

This should be a pull request ;-)

@mycaule
Copy link
Author

mycaule commented Jan 11, 2021

This package is not maintained anymore. Last update was 5 years ago and Python 2 now being deprecated.

See also #6

@dan10051
Copy link

Is there no other solution other than to mount the bucket via goofys backet /mnt and use the usual ncdu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants