chrys87 / fenrir

An TTY screenreader for Linux.
GNU Lesser General Public License v3.0
46 stars 14 forks source link

Warnings on compilation #70

Closed sthibaul closed 4 weeks ago

sthibaul commented 4 weeks ago

While python compiles fenrir, we get warnings:

  /usr/lib/python3/dist-packages/fenrirscreenreader/commands/commands/add_word_to_spell_check.py:44:
SyntaxWarning: invalid escape sequence '\('
    currWord = currWord.strip(string.whitespace +
'!"#$%&\()*+,-./:;<=§>?@[\\]^_{|}~')
  /usr/lib/python3/dist-packages/fenrirscreenreader/commands/commands/remove_word_from_spell_check.py:47:
SyntaxWarning: invalid escape sequence '\('
    currWord = currWord.strip(string.whitespace +
'!"#$%&\()*+,-./:;<=§>?@[\\]^_{|}~')
  /usr/lib/python3/dist-packages/fenrirscreenreader/core/settingsManager.py:425:
SyntaxWarning: invalid escape sequence '\/'
    environment['runtime']['debug'].writeDebugOut('\/-------environment-------\/',debug.debugLevel.INFO,
onAnyLevel=True)
  /usr/lib/python3/dist-packages/fenrirscreenreader/core/settingsManager.py:427:
SyntaxWarning: invalid escape sequence '\/'
    environment['runtime']['debug'].writeDebugOut('\/-------settings.conf-------\/',
debug.debugLevel.INFO, onAnyLevel=True)
  /usr/lib/python3/dist-packages/fenrirscreenreader/core/settingsManager.py:429:
SyntaxWarning: invalid escape sequence '\/'
    environment['runtime']['debug'].writeDebugOut('\/-------self.settingArgDict-------\/',debug.debugLevel.INF
O,
onAnyLevel=True)
stormdragon2976 commented 4 weeks ago

This should be fixed now. Please let us know if you have any more problems.