google-code-export / ulipad

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

can't install ulipad on windows xp #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am under windowsxp sp3, python 2.6, have installed
wxPython2.8-win32-unicode-2.8.11.0-py26.exe, 
and comtypes-0.6.2.win32.exe.

When I ran python ulipad.py, I got:
D:\program\ulipad>python UliPad.py
begin... 23:45:33
There are some errors as importing mimxins, Please see the error.txt.

Below is my error.txt:
[Traceback]Traceback (most recent call last):
  File "UliPad.py", line 85, in <module>
    import mixins
  File "D:\program\ulipad\mixins\__init__.py", line 160, in <module>
    import Import
  File "D:\program\ulipad\mixins\Import.py", line 7691, in <module>
    from mixins import HtmlPage
  File "D:\program\ulipad\mixins\HtmlPage.py", line 33, in <module>
    import wx.lib.iewin as iewin
  File "C:\Python26\lib\site-packages\wx\lib\iewin.py", line 15, in <module>
    import wx.lib.activex
  File "C:\Python26\lib\site-packages\wx\lib\activex.py", line 43, in <module>
    cc.GetModule(f)
  File "C:\Python26\lib\site-packages\comtypes\client\_generate.py", line
97, in GetModule
    tlib = comtypes.typeinfo.LoadTypeLibEx(tlib)
  File "C:\Python26\lib\site-packages\comtypes\typeinfo.py", line 480, in
LoadTypeLibEx
    _oleaut32.LoadTypeLibEx(c_wchar_p(szFile), regkind, byref(ptl))
  File "_ctypes/callproc.c", line 925, in GetResult
WindowsError: [Error -2147312566] Error loading type library/DLL

Original issue reported on code.google.com by zyli2...@gmail.com on 3 Jun 2010 at 5:00

GoogleCodeExporter commented 9 years ago
I don't know why. But maybe you can try lower wxpython version and try.

Original comment by limo...@gmail.com on 3 Jun 2010 at 9:09

GoogleCodeExporter commented 9 years ago
我也遇到了相同的问题,因为我使用的是stackless 
python,所有wxpython我是自己build的,并且是源码方式使用ulipad的
,使用过程中碰到了和上述现象一直的错误

[Traceback]Traceback (most recent call last):
  File "G:\download\ulipad.4.0\ulipad\UliPad.py", line 85, in <module>
    import mixins
  File "G:\download\ulipad.4.0\ulipad\mixins\__init__.py", line 160, in <module>
    import Import
  File "G:\download\ulipad.4.0\ulipad\mixins\Import.py", line 7691, in <module>
    from mixins import HtmlPage
  File "G:\download\ulipad.4.0\ulipad\mixins\HtmlPage.py", line 33, in <module>
    import wx.lib.iewin as iewin
  File "D:\tools\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\iewin.py", line 15, in <module>
    import wx.lib.activex
  File "D:\tools\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\activex.py", line 43, in <module>
    cc.GetModule(f)
  File "D:\tools\Python26\lib\site-packages\comtypes\client\_generate.py", line 97, in GetModule
    tlib = comtypes.typeinfo.LoadTypeLibEx(tlib)
  File "D:\tools\Python26\lib\site-packages\comtypes\typeinfo.py", line 480, in LoadTypeLibEx
    _oleaut32.LoadTypeLibEx(c_wchar_p(szFile), regkind, byref(ptl))
  File "_ctypes/callproc.c", line 925, in GetResult
WindowsError: [Error -2147312566] 加载类型库/DLL

PS: OS:winxp+sp2 , stackless-python 2.6.5

Original comment by suds1...@gmail.com on 4 Jul 2010 at 10:18

GoogleCodeExporter commented 9 years ago
对了wxPython的版本是2.8.11.0

Original comment by suds1...@gmail.com on 4 Jul 2010 at 10:20

GoogleCodeExporter commented 9 years ago
用低版本的wxpython试试。

Original comment by limo...@gmail.com on 4 Jul 2010 at 10:23

GoogleCodeExporter commented 9 years ago
测试发现只要把 wxPython下面的myole4ax.tlb放到
site-packages\wx-2.8-msw-unicode\wx\lib
下面即可,现在ulipad已经可以正常运行了

Original comment by suds1...@gmail.com on 9 Jul 2010 at 12:30

GoogleCodeExporter commented 9 years ago
i even can't setup my ulipad on my xp os . it always notice that : attempt  
load c library failed . but on my win7 os , this problem never appearance . 
that is weird 

Original comment by hesiyuan...@gmail.com on 4 Oct 2013 at 9:43

GoogleCodeExporter commented 9 years ago
So you can use souerce version. If you installed 4.1 version, there is bug in 
xp. Because I packaged exe in win7. But source version is better. And you 
should install wxpython + comtypes.

Original comment by limo...@gmail.com on 4 Oct 2013 at 11:00