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

rofimoji --action menu errors out insteaad of opening action menu #155

Closed
tranzystorekk opened this issue Aug 22, 2023 · 0 comments · Fixed by #156
Closed

rofimoji --action menu errors out insteaad of opening action menu #155

tranzystorekk opened this issue Aug 22, 2023 · 0 comments · Fixed by #156

Comments

@tranzystorekk
Copy link
Contributor

When testing rofimoji for a new package on Void Linux, I encountered the following issue:

  1. Run rofimoji --action menu
  2. Emoji selector pops up as usual, select some emoji character
  3. Instead of an action menu, rofimoji errors out (traceback below)

Traceback:

Traceback (most recent call last):
  File "/usr/bin/rofimoji", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/picker/__main__.py", line 9, in main
    StandaloneRofimoji().standalone()
  File "/usr/lib/python3.11/site-packages/picker/standalone.py", line 38, in standalone
    self.args.actions = self.selector.show_action_menu(self.args.selector_args)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/picker/selector/selector.py", line 249, in show_action_menu
    return [Action(fuzzel.stdout.strip())]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/enum.py", line 711, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/enum.py", line 1128, in __new__
    raise ve_exc
ValueError: '' is not a valid Action

Additional info:

  • rofimoji version: 6.1.0
  • Python version: 3.11.4
  • System: Void Linux
  • Environment: labwc (wayland wlroots compositor), fuzzel, wl-clipboard, wtype
@tranzystorekk tranzystorekk changed the title rofimoji --action menu errors out before opening action menu rofimoji --action menu errors out insteaad of opening action menu Aug 22, 2023
@fdw fdw closed this as completed in #156 Aug 23, 2023
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

Successfully merging a pull request may close this issue.

1 participant