question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rofimoji crashed and now won't start

See original GitHub issue

I have a keybind to execute the following command: rofimoji -s neutral -a clipboard --keybinding-copy Ctrl+c --max-recent 0. I tried copying the Eyes emoji, after that I tried opening rofimoji again but it wouldn’t, executing the previous command from the terminal (or also executing rofimoji with any other or no flags) only crashes and gives the following traceback:

Traceback (most recent call last):
  File "/usr/bin/rofimoji", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/picker/rofimoji.py", line 508, in main
    Rofimoji().standalone()
  File "/usr/lib/python3.10/site-packages/picker/rofimoji.py", line 224, in standalone
    returncode, stdout = self.open_main_rofi_window()
  File "/usr/lib/python3.10/site-packages/picker/rofimoji.py", line 356, in open_main_rofi_window
    self.read_character_files(),
  File "/usr/lib/python3.10/site-packages/picker/rofimoji.py", line 296, in read_character_files
    for character in self.read_frecencies().keys():
  File "/usr/lib/python3.10/site-packages/picker/rofimoji.py", line 448, in read_frecencies
    (frecency, character) = line.strip().split(' ')
ValueError: not enough values to unpack (expected 2, got 1)

I tried uninstalling and reinstalling to no avail. Haven’t tried just restarting my copmuter yet but I wanted to do the bug report while I still had the traceback in my terminal. Gonna report if a simple restart fixes the issue.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fdwcommented, Jul 17, 2022

Since this should already be fixed on main, I’ve decided to push out a new release. Can you please re-open the ticket if it isn’t?

0reactions
stizaidcommented, Jul 16, 2022

I can only imagine one possible cause: Have you ever used some whitespace character and use the latest stable version? It has has bug with exactly this scenario.

I just had the same issue and I did use the whitespace character ‘En Quad’, and seems like every time I use a whitespace character the above issue occurs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rofimoji: A character picker for rofi - GitHub
Fear no more, rofimoji invokes the power of rofi (and other dmenu-derivatives like wofi or fuzzel) to give you exactly the picker you...
Read more >
How To Fix Steam Games That Crash or Won't Launch - 4 Steps
This tutorial will explain how to fix stubborn steam games that won't launch or crash constantly. The 4th step is a little complicated...
Read more >
By the way, we already have an "emoji button" on our keyboards
A command to open the Emoji & Symbols palette is generally at the end of each application's Edit menu, and that's where its...
Read more >
[RESOLVED] Crash on launch / Game doesn't start (Steam
This apparently is a driver problem. Now, we've established that these new drivers don't really seem to fix this particular problem. There's a ......
Read more >
dmenumoji: dmenu with built-in libxft-bgra and emoji support 💪
Since I like the idea of a dmenu-based emoji picker, I start looking ... to prevent crashes with libXft's lack of support for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found