We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The command was initially developed for Python 2, but now breaks with Python 3.
These only small changes are needed to correct the errors:
s3_directory_generator.py
urlparse
urllib.parse
main.py
ModuleNotFoundError: No module named 'urlparse'
try except
except SyntaxError, e: ^ SyntaxError: invalid syntax
ncdu_data_writer.py
xrange
range
NameError: name 'xrange' is not defined
directory_walker.py
izip_longest
zip_longest
AttributeError: module 'itertools' has no attribute 'izip_longest'
The text was updated successfully, but these errors were encountered:
To support both Python 2 and 3, you might have to publish two different versions on PyPI repository.
Sorry, something went wrong.
This should be a pull request ;-)
This package is not maintained anymore. Last update was 5 years ago and Python 2 now being deprecated.
See also #6
Is there no other solution other than to mount the bucket via goofys backet /mnt and use the usual ncdu?
goofys backet /mnt
ncdu
No branches or pull requests
The command was initially developed for Python 2, but now breaks with Python 3.
These only small changes are needed to correct the errors:
s3_directory_generator.py
: renameurlparse
tourllib.parse
see The urlparse module is renamed to urllib.parse in Python 3 FriendCode/gittle#49main.py
: remove that unused importmain.py
: use the standardtry except
syntax.ncdu_data_writer.py
: replacexrange
withrange
that are now equivalent : see range-vs-xrange-pythondirectory_walker.py
: renameizip_longest
tozip_longest
The text was updated successfully, but these errors were encountered: