unimatrix icon indicating copy to clipboard operation
unimatrix copied to clipboard

Invalid Escape Sequence

Open EvilJordan opened this issue 11 months ago • 4 comments

Not sure if this matters (because it still seems to run well), but when running, this is dumped to the terminal:

/usr/local/bin/unimatrix:32: SyntaxWarning: invalid escape sequence '\;'
  help_msg = '''
/usr/local/bin/unimatrix:231: SyntaxWarning: invalid escape sequence '\;'
  '`-=~!@#$%^&*()_+[]{}|\;\':",./<>?"',
/usr/local/bin/unimatrix:237: SyntaxWarning: invalid escape sequence '\;'
  'S': '`-=~!@#$%^&*()_+[]{}|\;\':",./<>?"',

EvilJordan avatar Feb 26 '24 03:02 EvilJordan

check that you're not running an older version of unimatrix. I had the same error until I noticed I had installed it twice, the latest was through pipx, which was the correct version without any error.

EDIT: it seems the error occurs due to the version of python (3.11 runs correctly for me)

midekra avatar Mar 19 '24 12:03 midekra

I'm also having the same issue:

/usr/bin/unimatrix:32: SyntaxWarning: invalid escape sequence '\;'
  help_msg = '''
/usr/bin/unimatrix:231: SyntaxWarning: invalid escape sequence '\;'
  '`-=~!@#$%^&*()_+[]{}|\;\':",./<>?"',
/usr/bin/unimatrix:237: SyntaxWarning: invalid escape sequence '\;'
  'S': '`-=~!@#$%^&*()_+[]{}|\;\':",./<>?"',

heit0r avatar Jul 27 '24 05:07 heit0r

I ran into this with another application running under Python v3.12.x. Removing the backslash escaping the character should fix it.

virtadpt avatar Jul 27 '24 20:07 virtadpt

Should be fixed here: https://github.com/will8211/unimatrix/pull/60

will8211 avatar Jul 31 '24 01:07 will8211