Python-spe-users digest, Vol 1 #87 - 1 msg

python-spe-users-request-tdrK/[email protected] Mon, 08 May 2006 12:00:20 +0200
Newsgroups gmane.comp.python.spe.user
Message-ID <[email protected]>
Send Python-spe-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.berlios.de/mailman/listinfo/python-spe-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Python-spe-users digest..."


_______________________________________________
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate _______________________________________________


Today's Topics:

   1. SPE and path problems in hungarian Windows (Dara Durum)

--__--__--

Message: 1
Date: Sun, 7 May 2006 16:26:08 +0200
From: "Dara Durum" <[email protected]>
To: [email protected]
Subject: [spe-users] SPE and path problems in hungarian Windows
Reply-To: [email protected]

Hi !

I have a problem with SPE in hungarian windows. Hun. lang. use
iso-8859-2 (or win1250) encodings.

When I want to open an existing python file, I got errors like this:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  File "C:\Python24\Lib\site-packages\_spe\sm\wxp\smdi.py", line 424, in __finis
h__
    self.panel.__finish__()
  File "C:\Python24\Lib\site-packages\_spe\Child.py", line 128, in __finish__
    self.__source__(self._fileName,self._source)
  File "C:\Python24\Lib\site-packages\_spe\Child.py", line 245, in __source__
    menu        = self.parentFrame.menuBar.edit)
  File "C:\Python24\Lib\site-packages\_spe\sm\wxp\stc.py", line 67, in __init__
    if path and path not in sys.path: sys.path.append(path)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 39: ordinal
 not in range(128)
Event>: Framework: <class 'sm.wxp.smdi.MdiSashTabsParentFrame'>.Activate(False)
Event>: Framework: <class 'sm.wxp.smdi.MdiSashTabsParentFrame'>.Activate(False)
Event<: Framework: <class 'sm.wxp.smdi.MdiSashTabsParentFrame'>.Activate(True)
Event:  Parent: <class 'Parent.Panel'>.onActivate
Warning: Parent: <class 'Parent.Panel'>.onActivate failed
exceptions.Exception
'Panel' object has no attribute 'fileName'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I think that this is caused by hungarian characters in sys.path.
The main problem, that temp/tmp dirs stored in actual user's "doc. and
setting" folder.
This user name is containing hun chars like "á","é", etc.

But I don't know, how to make solution to this problem.

When I open a "cmd" in _spe dir, and start SPE_DEBUG.py, I not get this problem.

But when I use original links (icon) to debug or start SPE, the bug is
appearing.

Thanx for help:
    dd


--__--__--

_______________________________________________
Python-spe-users mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/python-spe-users


End of Python-spe-users Digest