Comment 9 for bug 365501

Revision history for this message
petebisson (o-launchpad-bisson-co-uk) wrote : Re: [Bug 365501] Re: wubi-r129.exe does nothing.

-------
C:\u-904\wubi>python.exe main.py --verbose
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "main.py", line 23, in ?
    from wubi.application import Wubi
  File "C:\u-904\wubi\lib\wubi\application.py", line 30, in ?
    from wubi.backends.win32 import WindowsBackend
  File "C:\u-904\wubi\lib\wubi\backends\win32\__init__.py", line 1, in ?
    from backend import WindowsBackend
  File "C:\u-904\wubi\lib\wubi\backends\win32\backend.py", line 33, in ?
    from wubi.backends.common.backend import Backend
  File "C:\u-904\wubi\lib\wubi\backends\common\__init__.py", line 1, in ?
    from backend import Backend
  File "C:\u-904\wubi\lib\wubi\backends\common\backend.py", line 42, in ?
    from signature import verify_gpg_signature
  File "C:\u-904\wubi\lib\wubi\backends\common\signature.py", line 29, in ?
    from openpgp.sap.api import verify_str
  File "C:\u-904\wubi\lib\openpgp\sap\api.py", line 49, in ?
    import openpgp.sap.crypto as CRYPT
  File "C:\u-904\wubi\lib\openpgp\sap\crypto.py", line 48, in ?
    log.debug(sys.path)
NameError: name 'log' is not defined

----------

That didn't seem to work, so I tried manually:

--------
C:\u-904\wubi>python -v
Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import Crypto.Util
import Crypto # directory C:\u-904\wubi\lib\Crypto
import Crypto # from C:\u-904\wubi\lib\Crypto\__init__.py
# wrote C:\u-904\wubi\lib\Crypto\__init__.pyc
import Crypto.Util # directory C:\u-904\wubi\lib\Crypto\Util
import Crypto.Util # from C:\u-904\wubi\lib\Crypto\Util\__init__.py
# wrote C:\u-904\wubi\lib\Crypto\Util\__init__.pyc
>>> Crypto.Util.__file__
'C:\\u-904\\wubi\\lib\\Crypto\\Util\\__init__.py'

>>> import Crypto
>>> Crypto.__file__
'C:\\u-904\\wubi\\lib\\Crypto\\__init__.py'

>>> import Crypto.Util.number
import Crypto.Util.number # from C:\u-904\wubi\lib\Crypto\Util\number.py
# wrote C:\u-904\wubi\lib\Crypto\Util\number.pyc
import Crypto.PublicKey # directory C:\u-904\wubi\lib\Crypto\PublicKey
import Crypto.PublicKey # from C:\u-904\wubi\lib\Crypto\PublicKey\__init__.py
# wrote C:\u-904\wubi\lib\Crypto\PublicKey\__init__.pyc
import struct # builtin
>>> Crypto.Util.number.__file__
'C:\\u-904\\wubi\\lib\\Crypto\\Util\\number.py'

--------

2009/4/24 Agostino Russo <email address hidden>:
> it's actually
>
> import sys
> log.debug(sys.path)
> import Crypto
> log.debug(Crypto.__file__)
> import Crypto.Util
> log.debug(Crypto.Util.__file__)
>
> --
> wubi-r129.exe does nothing.
> https://bugs.launchpad.net/bugs/365501
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Wubi, Windows Ubuntu Installer: Confirmed
>
> Bug description:
> wubi-r129.exe from http://people.ubuntu.com/~evand/wubi/jaunty/
> Windows XP SP3 on Thinkpad r50e
>
> I have used this build of wubi (in fact this exact file!) successfully on two other XP SP3 machines, but when trying it on the Thinkpad it does not appear to do anything.
>
> More specifically, a pylXX.tmp.exe and a pylXX.tmp folder are created in %TEMP% but then the folder is immediately deleted and the process quits.
>
> Note that the wubi GUI never starts, so no wubi logs get created.
>
> I am happy to provide further information, but need pointing in the right direction :-)
> . Is there a way of diagnosing/logging exactly what is happening on this machine?
> . Are there any dependencies for unpacking wubi that may be missing from this machine?
>
> EDIT:
> The thinkpad has C:\IBMTOOLS\Python22 in %path%
> Is this likely to affect the package?
> None of the other machines that it worked successfully on have any python versions.
>
>