jijo-paulose / ulipad

Automatically exported from code.google.com/p/ulipad
0 stars 0 forks source link

退出时出现 UnicodeWarning 错误 #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 启动ulipad
2. 打开一个py文件
3. 点击运行,然后退出ulipad

What is the expected output? What do you see instead?

弹出一个错误对话框:
---------------------------
Errors occurred
---------------------------
See the logfile 'C:\Program Files\UliPad\UliPad.exe.log' for details
---------------------------
OK   
---------------------------

ulipad.exe.log文件的内容如下:

C:\Program Files\UliPad\lib\sharedlib.zip\mixins\Import.py:920:
UnicodeWarning: Unicode equal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
C:\Program Files\UliPad\lib\sharedlib.zip\mixins\Import.py:8072:
UnicodeWarning: Unicode unequal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
C:\Program Files\UliPad\lib\sharedlib.zip\mixins\Import.py:920:
UnicodeWarning: Unicode equal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
C:\Program Files\UliPad\lib\sharedlib.zip\mixins\Import.py:921:
UnicodeWarning: Unicode equal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
C:\Program Files\UliPad\lib\sharedlib.zip\mixins\Import.py:8072:
UnicodeWarning: Unicode unequal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
C:\Program Files\UliPad\lib\sharedlib.zip\mixins\Import.py:8072:
UnicodeWarning: Unicode unequal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal

What version of the product are you using? On what operating system?
ulipad3.9版本
Windows XP pro SP3

Please provide any additional information below.

此问题不总是每次都出现,但是2天内断续出现了6次,不知为
什么。

Original issue reported on code.google.com by Aspi...@gmail.com on 19 Dec 2008 at 3:36

GoogleCodeExporter commented 9 years ago
补充一下:其他软件的版本
comtypes-0.5.3.win32
wxPython2.8-win32-unicode-2.8.9.1-py26

Original comment by Aspi...@gmail.com on 19 Dec 2008 at 3:43

GoogleCodeExporter commented 9 years ago
建议你下载源码版本试试。

Original comment by limo...@gmail.com on 20 Dec 2008 at 1:47

GoogleCodeExporter commented 9 years ago
下载源码版本后问题解决,不过只有管理员权限的用户运行��
�一次后才能设置Python解释器,直
接以普通用户权限运行在 Python - 设置参数 - 
选择Python解释器的对话框中的下拉列表是空的

Original comment by Aspi...@gmail.com on 20 Dec 2008 at 4:51

GoogleCodeExporter commented 9 years ago
Ulipad在启动时可以从注册表中找到已经安装的python解释器,��
�可以在preference->python页面中
进行设置。如果你的python安装了只能让管理员用的话,一般��
�户是找不到的。但是可以手工添加
python解释器。

Original comment by limo...@gmail.com on 20 Dec 2008 at 5:29

GoogleCodeExporter commented 9 years ago
手工添加python解释器可以在ulipad目录ulipad.ini文件中找到下面�
��一行:

python_interpreter=[('2.6 console', u'C:\\Python26\\python.exe'), ('2.6 
window', u'C:
\\Python26\\pythonw.exe')]

添加/修改相应的内容就可以了,明白了,多谢limodou

Original comment by Aspi...@gmail.com on 20 Dec 2008 at 6:50

GoogleCodeExporter commented 9 years ago
通过界面可以添加的。就是我上面说的Preference->Python,在里��
�有设置解释器的按钮。

Original comment by limo...@gmail.com on 20 Dec 2008 at 7:24