From: David H. <df...@fo...> - 2012-12-04 11:23:09
|
A customer running my software, distributed via py2exe (Python 2.7.2) is consistently getting the following error **** Mon Dec 03 13:20:25 2012 **** Traceback (most recent call last): File "__main__.py", line 838, in <module> File "__main__.py", line 331, in bootstrap File "__main__.py", line 358, in chainload File "__main__.py", line 834, in _chainload File "dietplan6.py", line 342, in <module> File "dietplan6.py", line 332, in main File "wx\_core.pyc", line 8631, in __init__ File "wx\_core.pyc", line 8196, in _BootstrapApp File "dietplan6.py", line 171, in OnInit File "licence_installed.pyc", line 28, in CheckLicence File "licence_installed.pyc", line 105, in InstallLicence File "licence_installed.pyc", line 252, in openmasterlicence File "licence.pyc", line 314, in IsMasterValid File "library\oslib.pyc", line 192, in get_vol_info File "wmi.pyc", line 157, in <module> File "win32com\client\__init__.pyc", line 72, in GetObject File "win32com\client\__init__.pyc", line 87, in Moniker com_error: (-2147024770, 'The specified module could not be found.', None, None) oslib.pyc", line 192, in get_vol_info contains from wmi import WMI as WMI prior to obtaining the details of an attached USB flash drive. It has been confirmed the error is specific to that particular machine (running 32 bit Windows 7, I believe). Does anyone have any suggestions please as to probable cause and, of course, solution! (or perhaps where it might be more appropriate to ask). -- Regards David Hughes Forestfield Software |
From: Mark H. <ski...@gm...> - 2012-12-04 21:46:45
|
It sounds like the WMI components aren't installed there. I doubt this is specific to py2exe, so asking on the pyt...@py... mailing list might help you find others who have seen this issue elsewhere. Mark On 4/12/2012 9:56 PM, David Hughes wrote: > A customer running my software, distributed via py2exe (Python 2.7.2) is > consistently getting the following error > > **** Mon Dec 03 13:20:25 2012 **** > Traceback (most recent call last): > File "__main__.py", line 838, in <module> > File "__main__.py", line 331, in bootstrap > File "__main__.py", line 358, in chainload > File "__main__.py", line 834, in _chainload > File "dietplan6.py", line 342, in <module> > File "dietplan6.py", line 332, in main > File "wx\_core.pyc", line 8631, in __init__ > File "wx\_core.pyc", line 8196, in _BootstrapApp > File "dietplan6.py", line 171, in OnInit > File "licence_installed.pyc", line 28, in CheckLicence > File "licence_installed.pyc", line 105, in InstallLicence > File "licence_installed.pyc", line 252, in openmasterlicence > File "licence.pyc", line 314, in IsMasterValid > File "library\oslib.pyc", line 192, in get_vol_info > File "wmi.pyc", line 157, in <module> > File "win32com\client\__init__.pyc", line 72, in GetObject > File "win32com\client\__init__.pyc", line 87, in Moniker > com_error: (-2147024770, 'The specified module could not be found.', > None, None) > > oslib.pyc", line 192, in get_vol_info contains > > from wmi import WMI as WMI > > prior to obtaining the details of an attached USB flash drive. > > It has been confirmed the error is specific to that particular machine > (running 32 bit Windows 7, I believe). Does anyone have any suggestions > please as to probable cause and, of course, solution! (or perhaps where > it might be more appropriate to ask). > |