[Eric] Re: eric 4.1.1 interactive python console problem

Lauri Piikivi lauri.piikivi at gmail.com
Fri Apr 11 08:36:07 BST 2008


Hi, I have the same problem. Can it be caused by an error in the startup. In
Eric settings folder user\_eric4 there is an error log file with

--------------------------------------------------------------------------------

2008-04-10, 22:22:10
--------------------------------------------------------------------------------

<type 'exceptions.UnicodeEncodeError'>:
'ascii' codec can't encode character u'\xe4' in position 10: ordinal not in
range(128)
--------------------------------------------------------------------------------

  File "C:\python25\Lib\site-packages\eric4\eric4.pyw", line 8, in <module>
    main()
  File "C:\Python25\Lib\site-packages\eric4\eric4.py", line 234, in main
    mainWindow = UserInterface(loc, splash, pluginFile)
  File "C:\Python25\Lib\site-packages\eric4\UI\UserInterface.py", line 530,
in __init__
    self.__readTasks()
  File "C:\Python25\Lib\site-packages\eric4\UI\UserInterface.py", line 3643,
in __readTasks
    parser.parse(f)
  File "C:\Python25\lib\xml\sax\expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "C:\Python25\lib\xml\sax\xmlreader.py", line 119, in parse
    self.prepareParser(source)
  File "C:\Python25\lib\xml\sax\expatreader.py", line 111, in prepareParser
    self._parser.SetBase(source.getSystemId())

--------------------------------------------------------------------------------

Version Numbers:
  Python 2.5.1
  Qt 4.3.3
  PyQt4 4.3.3
  sip sip version not available
  QScintilla 2-snapshot-20071223
  eric4 4.1.2 (r2105)

Platform: win32
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]

This seems to be a problem with the scandinavian letters (\xe4 == ä == is
the a with dots above) in directory names or file names. My _eric4 folder is
in a path with scandinavian letters in the name. Should have known better of
course...

- Lauri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20080411/d4c6a6a9/attachment.html


More information about the Eric mailing list