[Bug 499023] [NEW] inosync not compatible with shipped python-pyinotify

Guillermo Pérez bisho at eurielec.etsit.upm.es
Mon Dec 21 12:14:53 UTC 2009


Public bug reported:

Binary package hint: inosync

inosync is not compatible with the shipped python-pyinotify library.

It's trying to use EventsCodes.ALL_EVENTS, that doesn't exist anymore:
Traceback (most recent call last):
  File "/usr/bin/inosync", line 217, in <module>
    main()
  File "/usr/bin/inosync", line 195, in main
    wds = wm.add_watch(config.wpath, EventsCodes.ALL_EVENTS,
AttributeError: type object 'EventsCodes' has no attribute 'ALL_EVENTS'

Even trying to call the compatibility mode of the library ( http://trac.dbzteam.org/pyinotify/pyinotify-api/pyinotify-pysrc.html#compatibility_mode ), it doesn't work, so the change doesn't seem to be straightforward:
Traceback (most recent call last):
  File "/usr/bin/inosync", line 229, in <module>
    main()
  File "/usr/bin/inosync", line 208, in main
    rec = True, auto_add = True)
  File "/usr/lib/pymodules/python2.6/pyinotify.py", line 1436, in add_watch
    auto_add)
  File "/usr/lib/pymodules/python2.6/pyinotify.py", line 1369, in __add_watch
    mask)
ctypes.ArgumentError: argument 3: <type 'exceptions.TypeError'>: Don't know how to convert parameter 3

ProblemType: Bug
Architecture: i386
Date: Mon Dec 21 13:10:19 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: inosync 0.2-1 [modified: usr/bin/inosync]
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: inosync
Uname: Linux 2.6.31-16-generic i686

** Affects: inosync (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
inosync not compatible with shipped python-pyinotify
https://bugs.launchpad.net/bugs/499023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list