On Wed, Nov 26, 2008 at 1:07 PM, David Bremner <[EMAIL PROTECTED]> wrote: > Package: git-cola > Version: 1.3.2-1 > Severity: normal > > > There seems to be some problem with git-cola's inotify support on my > system. > > Instead of noticing a file change, I get the following output in the shell: > > Traceback (most recent call last): > File "/var/lib/python-support/python2.5/cola/controllers/__init__.py", line > 332, in event > if msg.type() == inotify.INOTIFY_EVENT: > AttributeError: 'module' object has no attribute 'INOTIFY_EVENT'
Hello This has been fixed in upstream version 1.3.2.5. I've attached a patch of the upstream commit that fixed it. Here's a link to that commit: http://gitorious.org/projects/git-cola/repos/mainline/commits/0fe0bd382878bb3c7c1bb58448d1dee0f78e2cee .. and a quick 'n dirty fix for the impatient (sorry 'bout the typo!): perl -p -i -e \ s/INOTIFY_EVENT_TYPE/INOTIFY_EVENT/g \ /var/lib/python-support/python2.5/cola/inotify.py > > > -- System Information: > Debian Release: lenny/sid > APT prefers testing > APT policy: (900, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages git-cola depends on: > ii git-core 1:1.5.6.5-1 fast, scalable, distributed > revisi > ii python 2.5.2-3 An interactive high-level > object-o > ii python-qt4 4.4.2-4 Python bindings for Qt4 > ii python-support 0.8.4 automated rebuilding support for > P > > Versions of packages git-cola recommends: > ii gitk 1:1.5.6.5-1 fast, scalable, distributed > revisi > > Versions of packages git-cola suggests: > ii python-pyinotify 0.7.1-1 Simple Linux inotify Python > bindin > pn python-simplejson <none> (no description available) > > -- no debconf information > > > > -- David
0001-inotify-fix-a-bug-introduced-when-removing-the-defa.patch
Description: application/mbox

