Import Error
Closed this issue · 3 comments
Traceback (most recent call last):
File "proximity.py", line 57, in <module>
print ("The program cannot import the module bluetooth.")
NameError: name '' is not defined
Change:
import _bluetooth as bluez
in
import bluetooth._bluetooth as bluez
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
(By sf-robot)
Logged In: YES
user_id=114903
Originator: NO
Ok, there two errors as far as I can see.
I made the import error messages translateable which is obviousl not a good idea since the translation function has to be created first. I will fix that in the next release.
Do you have references why the import of _bluetooth should be changed? And could you please post your system configuration? maybe this has to do with a certain distribution...
Thanks for your error report,
Lars
(By highno)
Logged In: NO
my contatc is: pantano.luigi [ a t ] gmail.com
(By nobody)