Thor77 / Blueproximity

Run a command once a bluetooth device is in/out of a range
GNU General Public License v2.0
66 stars 15 forks source link

Import Error #22

Closed Thor77 closed 7 years ago

Thor77 commented 7 years ago

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

Thor77 commented 7 years ago

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)

Thor77 commented 7 years ago

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)

Thor77 commented 7 years ago

Logged In: NO

my contatc is: pantano.luigi [ a t ] gmail.com (By nobody)