Ticket #2 (assigned defect)

Opened 7 months ago

Last modified 7 months ago

pyinotify doesn't work with local version of python

Reported by: anonymous Owned by: seb
Priority: minor Keywords:
Cc:

Description

pyinotify works fine for using the system wide version of python. But for a particular application I need it to run with a version of python installed in the $HOME directory.

paul@apt:~/fred.current$ python -m pyinotify -v
Traceback (most recent call last):

File "/home/paul/lib/python2.5/runpy.py", line 95, in run_module

filename, loader, alter_sys)

File "/home/paul/lib/python2.5/runpy.py", line 52, in _run_module_code

mod_name, mod_fname, mod_loader)

File "/home/paul/lib/python2.5/runpy.py", line 32, in _run_code

exec code in run_globals

File "build/bdist.linux-i686/egg/pyinotify.py", line 1751, in <module>
File "build/bdist.linux-i686/egg/pyinotify.py", line 1714, in command_line
File "build/bdist.linux-i686/egg/pyinotify.py", line 1258, in init
File "/home/paul/lib/python2.5/ctypes/init.py", line 361, in getattr

func = self.getitem(name)

File "/home/paul/lib/python2.5/ctypes/init.py", line 366, in getitem

func = self._FuncPtr((name_or_ordinal, self))

AttributeError?: python: undefined symbol: inotify_init

Attachments

Change History

Changed 7 months ago by seb

  • owner set to seb
  • status changed from new to assigned

Changed 7 months ago by seb

Okay, from the trace it seems that there is a problem when pyinotify try to use ctypes module. For the moment I haven't any clue and I don't have this kind of environment, therefore it is not easy to track it down.

Add/Change #2 (pyinotify doesn't work with local version of python)

Author



Change Properties
<Author field>
Action
as assigned
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'assigned'
The owner will change to anonymous. Next status will be 'accepted'
 
Note: See TracTickets for help on using tickets.