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

[CMD] autoclear, autopurge, autoremove not working #128

Closed
Lyken17 opened this issue Nov 28, 2023 · 2 comments
Closed

[CMD] autoclear, autopurge, autoremove not working #128

Lyken17 opened this issue Nov 28, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Lyken17
Copy link

Lyken17 commented Nov 28, 2023

Describe the bug
autoclear, autopurge, autoremove do not work in latest version.

To Reproduce

(base) ➜  ~ aria2p autoclear
Traceback (most recent call last):
  File "/Users/ligeng/anaconda3/bin/aria2p", line 8, in <module>
    sys.exit(main())
  File "/Users/ligeng/anaconda3/lib/python3.9/site-packages/aria2p/cli/main.py", line 84, in main
    check_args(parser, opts)
  File "/Users/ligeng/anaconda3/lib/python3.9/site-packages/aria2p/cli/parser.py", line 50, in check_args
    if not opts.do_all and not opts.gids:
AttributeError: 'Namespace' object has no attribute 'do_all'
(base) ➜  ~ aria2p autopurge
Traceback (most recent call last):
  File "/Users/ligeng/anaconda3/bin/aria2p", line 8, in <module>
    sys.exit(main())
  File "/Users/ligeng/anaconda3/lib/python3.9/site-packages/aria2p/cli/main.py", line 84, in main
    check_args(parser, opts)
  File "/Users/ligeng/anaconda3/lib/python3.9/site-packages/aria2p/cli/parser.py", line 50, in check_args
    if not opts.do_all and not opts.gids:
AttributeError: 'Namespace' object has no attribute 'do_all'
(base) ➜  ~ aria2p autoremove
Traceback (most recent call last):
  File "/Users/ligeng/anaconda3/bin/aria2p", line 8, in <module>
    sys.exit(main())
  File "/Users/ligeng/anaconda3/lib/python3.9/site-packages/aria2p/cli/main.py", line 84, in main
    check_args(parser, opts)
  File "/Users/ligeng/anaconda3/lib/python3.9/site-packages/aria2p/cli/parser.py", line 50, in check_args
    if not opts.do_all and not opts.gids:
AttributeError: 'Namespace' object has no attribute 'do_all'

Are these command still valid?

@Lyken17 Lyken17 added the unconfirmed This bug was not reproduced yet label Nov 28, 2023
@pawamoy pawamoy added bug Something isn't working and removed unconfirmed This bug was not reproduced yet labels Nov 28, 2023
@pawamoy
Copy link
Owner

pawamoy commented Nov 28, 2023

Bug confirmed, thank you for reporting! Will try to fix asap.

@pawamoy pawamoy self-assigned this Nov 28, 2023
pawamoy added a commit that referenced this issue Jan 11, 2024
@pawamoy
Copy link
Owner

pawamoy commented Jan 11, 2024

Fixed, will release new version 🙂

@pawamoy pawamoy closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants