The cause of this, as mentioned above is openpgp/sap/crypto.py ( line 47)
import Crypto.Util.number as NUM
Because python is running case insensitive search, the first match this gets for Crypto is actually crypto in the openpgp/sap directory. This means the module is actually trying :
import openpgp.sap.crypto.Util.number as NUM
with the results we have seen all along :
ImportError: No module named Util.number
You can investigate this further on your build machine by setting the environment variable:
export PYTHONCASEOK=1
Then when you 'make runbin' you will get exactly the same behaviour in wine.
Cheers,
Pete
-----
Extra info as requested.
# log extract (reformatted for clarity)
06-02 10:56 DEBUG root: ** extra info BEGIN **
06-02 10:56 DEBUG root: sys.path = [
'C:\\u-904\\wubi',
'C:\\IBMTOOLS\\utils\\support',
'C:\\IBMTOOLS\\utils\\logger',
'C:\\u-904\\wubi\\python23.zip',
'C:\\u-904\\wubi\\DLLs',
'C:\\u-904\\wubi\\lib',
'C:\\u-904\\wubi\\lib\\plat-win',
'C:\\u-904\\wubi\\lib\\lib-tk',
'C:\\u-904\\wubi'
]
Hi again Ago,
With PYTHONCASEOK set, application.py fails on
from wubi.backends.win32 import WindowsBackend
The cause of this, as mentioned above is openpgp/ sap/crypto. py ( line 47)
import Crypto.Util.number as NUM
Because python is running case insensitive search, the first match this gets for Crypto is actually crypto in the openpgp/sap directory. This means the module is actually trying :
import openpgp. sap.crypto. Util.number as NUM
with the results we have seen all along :
ImportError: No module named Util.number
You can investigate this further on your build machine by setting the environment variable:
export PYTHONCASEOK=1
Then when you 'make runbin' you will get exactly the same behaviour in wine.
Cheers,
Pete
-----
Extra info as requested.
# log extract (reformatted for clarity) \\u-904\ \wubi', \\IBMTOOLS\ \utils\ \support' , \\IBMTOOLS\ \utils\ \logger' , \\u-904\ \wubi\\ python23. zip', \\u-904\ \wubi\\ DLLs', \\u-904\ \wubi\\ lib', \\u-904\ \wubi\\ lib\\plat- win', \\u-904\ \wubi\\ lib\\lib- tk', \\u-904\ \wubi'
06-02 10:56 DEBUG root: ** extra info BEGIN **
06-02 10:56 DEBUG root: sys.path = [
'C:
'C:
'C:
'C:
'C:
'C:
'C:
'C:
'C:
]
06-02 10:56 DEBUG root: os.environ = { 1\\Stacey\ \LOCALS~ 1\\Temp' , RAMFILES' : 'C:\\Program Files\\Common Files', IDENTIFIER' : 'x86 Family 6 Model 13 Stepping 8, GenuineIntel', REVISION' : '0d08', THINKPAD\ \UTILITIES; C:\\WINDOWS\ \system32; C:\\WINDOWS; C:\\WINDOWS\ \System32\ \Wbem;C: \\WINDOWS\ \Downloaded Program Files;C: \\IBMTOOLS\ \Python22; C:\\Program Files\\PC-Doctor for Windows\ \services; C:\\Program Files\\ hpgs\\bin; C:\\Program Files\\ OpenVPN\ \bin;C: \\Program Files\\Nmap', \Python22\ \tcl\\tk8. 4', 1\\Stacey\ \LOCALS~ 1\\Temp' , ARCHITECTURE' : 'x86', OFILE': 'C:\\Documents and Settings\\All Users', \system32\ \cmd.exe' , \utils\ \support; C:\\IBMTOOLS\ \utils\ \logger' , \Python22\ \tcl\\tcl8. 4', EXE;.BAT; .CMD;.VBS; .VBE;.JS; .JSE;.WSF; .WSH;.pyo; .pyc;.py; .pyw', NO_HOST_ CHECK': 'NO', \Stacey\ \Application Data', OF_PROCESSORS' : '1', LEVEL': '6',
'TMP': 'C:\\DOCUME~
'COMPUTERNAME': 'THINKPAD',
'USERDOMAIN': 'THINKPAD',
'COMMONPROG
'PROCESSOR_
'PROGRAMFILES': 'C:\\Program Files',
'PROCESSOR_
'SYSTEMROOT': 'C:\\WINDOWS',
'PATH': 'C:\\PROGRAM FILES\\
'IBMSHARE': 'C:\\IBMSHARE',
'TK_LIBRARY': 'C:\\IBMTOOLS\
'TEMP': 'C:\\DOCUME~
'PROCESSOR_
'ALLUSERSPR
'SESSIONNAME': 'Console',
'HOMEPATH': '\\Documents and Settings\\Stacey',
'RRU': 'C:\\Program Files\\IBM\\IBM Rapid Restore Ultra\\',
'USERNAME': 'Stacey',
'LOGONSERVER': '\\\\THINKPAD',
'PROMPT': '$P$G',
'COMSPEC': 'C:\\WINDOWS\
'PYTHONPATH': 'C:\\IBMTOOLS\
'TCL_LIBRARY': 'C:\\IBMTOOLS\
'PATHEXT': '.COM;.
'CLIENTNAME': 'Console',
'FP_
'WINDIR': 'C:\\WINDOWS',
'APPDATA': 'C:\\Documents and Settings\
'HOMEDRIVE': 'C:',
'SYSTEMDRIVE': 'C:',
'NUMBER_
'PROCESSOR_
'OS': 'Windows_NT',
'USERPROFILE': 'C:\\Documents and Settings\\Stacey'
}
06-02 10:56 DEBUG root: ** extra info END **