Beremiz can't start if it's located inside of non-latin directory

Issue #78 invalid
Andrey Skvortsov created an issue

Steps to reproduce:

mkdir /tmp/Letöltések
cd /tmp/Letöltések
hg clone https://bitbucket.org/automforge/beremiz
cd beremiz
./Beremiz.py

Following traceback happens

 $ ./Beremiz.py 
Traceback (most recent call last):
  File "./Beremiz.py", line 203, in AppStart
    self.BackgroundInitialization()
  File "./Beremiz.py", line 136, in BackgroundInitialization
    self.ImportModules()
  File "./Beremiz.py", line 179, in ImportModules
    mod = __import__(modname)
  File "/tmp/Letöltések/beremiz/BeremizIDE.py", line 44, in <module>
    from editors.EditorPanel import EditorPanel
  File "/tmp/Letöltések/beremiz/editors/EditorPanel.py", line 29, in <module>
    from controls import VariablePanel
  File "/tmp/Letöltések/beremiz/controls/__init__.py", line 34, in <module>
    from controls.DebugVariablePanel import DebugVariablePanel
  File "/tmp/Letöltések/beremiz/controls/DebugVariablePanel/__init__.py", line 26, in <module>
    from controls.DebugVariablePanel.DebugVariablePanel import DebugVariablePanel
  File "/tmp/Letöltések/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py", line 38, in <module>
    import matplotlib.pyplot
  File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 71, in <module>
    from matplotlib.backends import pylab_setup
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/__init__.py", line 16, in <module>
    line for line in traceback.format_stack()
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/__init__.py", line 18, in <genexpr>
    if not line.startswith('  File "<frozen importlib._bootstrap'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)

Comments (2)

  1. Log in to comment