[Eric] Re: eric 4.1.1 interactive python console problem
Detlev Offenbach
detlev at die-offenbachs.de
Fri Apr 11 18:20:57 BST 2008
On Freitag, 11. April 2008, Lauri Piikivi wrote:
> 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
Actually it is a problem of the expat reader handling paths with non ASCII
characters. I am in the progress of implementing a workaround for this. That
will be part of 4.1.3 and the next 4.2 snapshot.
Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list