<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Bitstream Vera Sans Mono">
<p>Dear Rui,</p>
<p></p>
<p>On Friday 10 December 2010, 11:08:50 NARCISO, Rui wrote:</p>
<p>> When I use absolute paths (os.path.abspath) or real paths</p>
<p>> (os.path.realpath) or even relative paths (../../toto) it doesn't</p>
<p>> work. It only works when I use only the file name.</p>
<p></p>
<p>Works fine here with absolute paths. Consequently, it triggers all four connected signals, if I touch the watched file in my home.</p>
<p></p>
<p>Guys, if you rely on some special file argument, why can't you provide a global variable or even better, a command line parameter.</p>
<p></p>
<p>> I don't think permissions are the problem because I tried the with</p>
<p>> the same file in the current folder and then in the parent folder and</p>
<p>> it works for the first and it doesn't for the latter...</p>
<p>></p>
<p>> I'm on a Linux workstation accessing hard drives physically stored in</p>
<p>> a data center elsewhere. Can this be the problem ? I would think not</p>
<p>> because if it works for a file in the current folder it should work</p>
<p>> for the parent folder as well since both are in the same hard</p>
<p>> drive/filer ...</p>
<p></p>
<p>My home is NFS, too. If I remember correctly, Qt uses simple timer based polling for the file system watcher since being multi-platform they cannot rely on any special OS kernel/filesystem feature.</p>
<p></p>
<p>> Any insight anyone ?</p>
<p></p>
<p>Yes, you're using ancient versions of everything. This is most probably,<span style="font-weight:600"> </span> what does harm in your case.</p>
<p></p>
<p>Pete</p>
<p></p>
<p>SCR: http://goldmark.org/jeff/stupid-disclaimers/fun.html</p>
</body></html>