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

Not working on Fedora 38 #17

Open
miguelangelcg25 opened this issue Jan 7, 2024 · 2 comments
Open

Not working on Fedora 38 #17

miguelangelcg25 opened this issue Jan 7, 2024 · 2 comments

Comments

@miguelangelcg25
Copy link

Not working on Fedora 38, when executing tc420 --help I get this error:

Traceback (most recent call last):
  File "/home/miguelangel/.local/bin/tc420", line 5, in <module>
    from tc420.__main__ import main
  File "/home/miguelangel/.local/lib/python3.12/site-packages/tc420/__main__.py", line 286, in <module>
    @cmd_group.resultcallback()
     ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Group' object has no attribute 'resultcallback'. Did you mean: 'result_callback'?

I created plugdev group, added my user, re-logged in but did not work.

@git-madresc
Copy link

Changing 'resultcallback' to 'result_callback' as suggested worked for me.

@schwabix-1311
Copy link

This is fixed by PR #11.
Unfortunately Adam seems to no longer maintain this code.

To make this and other fixes available I created a fork https://github.com/schwabix-1311/tc420 to add all new stuff there.
My fork includes all PRs found here, namely

  • update to package click >= 8.1.0 => rename of resultcallback to result_callback
  • non-sudo use of tc420
  • USBTimeoutErrors
  • multiple TC420 controllers connected to same system

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