Comment 7 for bug 499443

Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote : Re: [Bug 499443] Re: wish - store and reuse xml cache localy

A Divendres, 15 de gener de 2010, olefoxe va escriure:
> Hi,
>
> this was the first thing i did yesterday after the "ImportError".
> I installed PyQt like Rob
> http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-windows

Oh. Now I understand, you're running it on Windows. I'm sorry I have zero
experience running those modules on a Windows server.

Because of the way the server may be packaged it probably can't find the
modules you installed. You may try to download (don't know if you're already
doing that) server from bazaar or use source code and install python and the
rest of the packages individually. Then I think pyro would work, but I
understand that this is a mess compared to the standard windows installer.

If you succeed, we can document it somewhere in the modules, but I'm afraid I
can't help you very much there...

>
> qt-sdk-win-opensource-2009.05
> python-2.5.4
> sip-4.10-snapshot-20100108
> PyQt-win-gpl-4.6.2
>
> And i also put this: C:\Program Files\Koo in the Path Variable.
>
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\
> System32\WindowsPowerShell\v1.0\;C:\Windows\Qt\mingw\bin;C:\Windows\Python2
> 5;C:\Windows\Qt\qt\bin;C:\Program Files\jEdit;C:\Program Files\Koo
>
> Starting my Python 2.5.4 and test QT
>
> >>> print SIP_VERSION_STR
>
> 4.10-snapshot-20100108
>
> >>> print QT_VERSION
>
> 263680
>
> >>> print PYQT_VERSION_STR
>
> 4.6.2
>
> After that a installed Pyro-3.10.win32.exe, but still the same problem.
>
> maybe i have to tell smart_attach.py where QtCore is?
>
> so i try this now, i put "from sip import *" in the .py:
>
> line 39 and 40 in the smart_attach.py
> import ocr
> from PyQt4.QtCore import *
> from sip import *
>
> Thank you
>
> Olaf
>

--
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18