cemmanouilidis / naturalscrolling

Natural Scrolling for Linux
GNU General Public License v3.0
69 stars 11 forks source link

AttributeError: 'module' object has no attribute 'device' #29

Closed zedtux closed 12 years ago

zedtux commented 12 years ago

Running on Ubuntu Natty with naturalscrolling 0.5.4:

zedtux@zedtux-VirtualBox:~$ naturalscrolling 
Traceback (most recent call last):
  File "/usr/bin/naturalscrolling", line 46, in <module>
    naturalscrolling.main()
  File "/usr/lib/pymodules/python2.7/naturalscrolling/__init__.py", line 46, in main
    Indicator().start()
  File "/usr/lib/pymodules/python2.7/naturalscrolling/indicator.py", line 57, in __init__
    menu.refresh(udev_observator.gather_devices())
  File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/udevobservator.py", line 70, in gather_devices
    for device_name in self.gather_devices_names_with_xid():
  File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/udevobservator.py", line 58, in gather_devices_names_with_xid
    except pyudev.device.DeviceNotFoundAtPathError:
AttributeError: 'module' object has no attribute 'device'
cweiske commented 12 years ago

could you release a new version with that bug fixed, please?

naaronne-zz commented 12 years ago

As a temporary fix, i manually updated the file in question. Perhaps this will help you until they release a new version. (ps - its working great now)

cweiske commented 12 years ago

Works for me, too.

zedtux commented 12 years ago

Ok I will release it.

zedtux commented 12 years ago

The package naturalscrolling-testing version 0.5.5 is now available.

Please validate it and I publish it as stable release. Thanks and sorry for the late reply.

zedtux commented 12 years ago

The version 0.5.5 has a bug (see issue #33), but it's not related to this issue.

zedtux commented 12 years ago

As nobody give us feedback about the 0.5.5 (and even now 0.5.6 to fix issue #33) I image that we can move it to production.