Folgender Error nach dem umstellen auf utf-8 (Preferences Window hängt sich auf task gekillt und neugestartet):
Code: Alles auswählen
Traceback (most recent call last):
File "drpython.pyw", line 36, in <module>
drpython.main()
File "/home/programs/drpython/drpython.py", line 3999, in main
app = DrApp(0)
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7757, in __init__
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7354, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/home/programs/drpython/drpython.py", line 3983, in OnInit
self.frame = DrFrame(None, 101, "DrPython - Untitled 1")
File "/home/programs/drpython/drpython.py", line 112, in __init__
self.InitializeConstants()
File "/home/programs/drpython/drpython.py", line 1076, in InitializeConstants
if os.path.exists (pth):
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
st = os.stat(path)
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
Komischerweise gab es zweimal utf-8: utf-8 und UTF-8
Nach dem Löschen von .drpython kann ich ganz normal auf utf-8 umstellen komisch^^ Warum eigentlich nicht utf-8 als default, latin kommt mir irgendwie alt vor
Eine Kleinigkeit noch, dann geh ich pennen (drum auch nicht mehr...): Ich würde usetabs für python per default deaktivieren, pep-8 nach sollte man ja spaces verwenden...
Und wie schon gesagt Tango würde sich gut machen.
Sys ist das gleiche wie EnteQuak, auch gleiche wx Versionen etc...
MfG apollo13