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

Problem with installation using Python 3.11 #158

Closed
Akasiek opened this issue Nov 22, 2022 · 5 comments · Fixed by #159
Closed

Problem with installation using Python 3.11 #158

Akasiek opened this issue Nov 22, 2022 · 5 comments · Fixed by #159
Assignees
Labels
bug Something isn't working

Comments

@Akasiek
Copy link

Akasiek commented Nov 22, 2022

After using torrentfile (torrentfile -V or any other command) for the first time this error comes up:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Python311\Scripts\torrentfile.exe\__main__.py", line 7, in <module>
  File "C:\Python311\Lib\site-packages\torrentfile\cli.py", line 608, in main
    execute()
  File "C:\Python311\Lib\site-packages\torrentfile\cli.py", line 544, in execute
    rebuild_parser = subparsers.add_parser(
                     ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\argparse.py", line 1188, in add_parser
    raise ArgumentError(
argparse.ArgumentError: argument create, edit, info, magnet, recheck, rebuild
: conflicting subparser alias: build

Maybe it's an easy fix but I have no idea. Is it something with Python 3.11?

@Akasiek Akasiek changed the title Problem with installation on Python 3.11 Problem with installation using Python 3.11 Nov 22, 2022
@alexpdev
Copy link
Owner

alexpdev commented Nov 22, 2022

@Akasiek what operating system?

@Akasiek
Copy link
Author

Akasiek commented Nov 22, 2022

@Akasiek what operating system?

Windows 11

@alexpdev
Copy link
Owner

@Akasiek I identified the issue... patching now. should be able to download the new release from pypi within an hour.

@alexpdev alexpdev linked a pull request Nov 23, 2022 that will close this issue
@alexpdev alexpdev self-assigned this Nov 23, 2022
@alexpdev alexpdev added the bug Something isn't working label Nov 23, 2022
alexpdev added a commit that referenced this issue Nov 23, 2022
* Fixed bug in argparser for python v3.11 Issue #158

* added deprecation notices to interactive mode

* added deprecation notices to interactive mode

* Bump Version torrentfile v0.8.6

* Fixed error in documentation and bump to version 0.8.6

* added updates to master
@alexpdev
Copy link
Owner

@Akasiek The new version is up on pypi and merged into git master branch. Thanks for submitting the Issue

@Akasiek
Copy link
Author

Akasiek commented Nov 23, 2022

Thank you! I appreciate the effort

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

Successfully merging a pull request may close this issue.

2 participants