Piotr82 Napisano Listopad 21, 2004 Zgłoszenie Share Napisano Listopad 21, 2004 chce uruchomić starterbar i dostaje : Traceback (most recent call last): File "/usr/local/share/gdesklets/factory/SensorFactory.py", line 83, in create_sensor sensor = module.new_sensor(args) AttributeError: 'module' object has no attribute 'new_sensor' if (module): self.__modules[name] = (module, path) # initalize the sensor try: os.chdir(path) sensor = module.new_sensor(args) ( to jest 83 linijka) except: dialog.warning(_("Error in sensor %(name)s") % vars(), _("An error occured while running a sensor.")) # a stack trace could be useful for debugging sensors import traceback; traceback.print_exc() Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi