I'm using PyInstaller-1.5 (downloaded on Dec 30) to create a single file exe 
that uses Python 2.6 and PyBlueZ (http://code.google.com/p/pybluez/ - 
http://code.google.com/p/pybluez/downloads/detail?name=PyBluez-0.18.win32-py2.6.exe&can=2&q=).
  I create the exe on Windows 7 and it runs fine there.  However, when I try to 
run it on an XP machine, it fails.  Apparently, it cannot load the bluetooth 
library.  I don't have an XP machine myself, but I've had others confirm this.  
The error messages look like this:

bluetooth not supported: DLL load failed: The specified procedure could not be 
found.
File "<string>", line 220, in <module>
File "<string>", line 12, in __init__
File 
"Z:\Desktop\src\ISC\btapps\build\pyi.win32\version\outPYZ1.pyz/lib.bt_gateway", 
line 282, in BtGatewayFactor
NameError: global name 'BtGatewayBlueZ' is not defined

BtGatewayBlueZ is not defined because its definition is conditional on 
importing the bluetooth module:
try:
   import bluetooth
except Exception, e:
   print e
   BLUEZ_SUPPORTED = False
else:
   BLUEZ_SUPPORTED = True

I don't know where to begin to diagnose which specified procedure is missing in 
the bluetooth DLL or how to fix things so it will run under XP.  Can anyone 
offer some advice?

mike

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to