Package: dvcs-autosync
Version: 0.5
Severity: normal

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


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dvcs-autosync depends on:
ii  python            2.7.5-5
ii  python-pyinotify  0.9.3-2
ii  python-support    1.0.15
ii  python-xmpp       0.4.1-cvs20080505.3

Versions of packages dvcs-autosync recommends:
ii  python-notify  0.1.1-3

dvcs-autosync suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to