Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work on my linux server with python 2.7.5 #8

Open
sunmoonone opened this issue Dec 27, 2015 · 4 comments
Open

does not work on my linux server with python 2.7.5 #8

sunmoonone opened this issue Dec 27, 2015 · 4 comments

Comments

@sunmoonone
Copy link

I run the filewatch.py example on my linux centos 7 with default python
no event triggered

@sunmoonone
Copy link
Author

./filewatch.py hello.txt 

and then in another terminal:

echo hello >  hello.txt

no output in the running terminal

python version:

Python 2.7.5 (default, Jun 24 2015, 00:41:19) 
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2

@asettouf
Copy link
Contributor

What's your kernel version? (uname -a) According to the readme, you need at least Linux 2.6, (or at the very least the inotify API), can you confirm it is present?

@parknom
Copy link

parknom commented Dec 6, 2017

Same problem...
OS : CentOS 7

python

Python 2.7.5 (default, Aug  4 2017, 00:39:18) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

uname -r

3.10.0-693.5.2.el7.x86_64

@phdru
Copy link
Contributor

phdru commented Jun 19, 2018

Doesn't work for me either with echo 1 >testfile. Debian 9

$ uname -a
Linux 4.9.0-6-686-pae #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) i686 GNU/Linux

But when I edited the testfile with vim I got

attrib /home/phd/tmp/testfile 
delete self /home/phd/tmp/testfile 

dirwatch.py works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants