When launching dvcs-autosync, a typo in the code causes it to crash under
certain configurations.
amoe@vuurvlieg $ dvcs-autosync
INFO:root:pynotify initialized successfully, will use desktop notifications
INFO:root:Growl does not seem to be installed
INFO:root:Watching path /home/amoe/autosync
DEBUG:root:Checking/writing pidfile /home/amoe/.autosync.pid
INFO:root:Using all notification methods
INFO:root:Ignoring files matching any of the patterns
INFO:root:Adding list to inotify exclude filter: ['/home/amoe/autosync/.git', '/home/amoe/autosync/.svn', '/home/amoe/autosync/.hg', '/home/amoe/autosync/src/packages', '/home/amoe/autosync/src/java/openuat', '/home/amoe/autosync/src/csharp/sparkleshare', '/home/amoe/autosync/src/cpp/cross/keepassx', '/home/amoe/autosync/src/android/ipv6config']
Traceback (most recent call last):
File "/usr/bin/dvcs-autosync", line 900, in <module>
logger.warning('XMPP notification requested, but alsonotify option not configured, will not send XMPP notifications')
NameError: name 'logger' is not defined
This seems to be a simple typo in the script. Changing 'logger' to 'logging'
fixes the problem.
Cheers,
David