2014-05-02, 18:15
OK, absolutely never succeds, no matter how accessible and quick the network share is. So... had to dig a bit deeper on this one, then, and learn a bit of python.
As it turns out, this is actually hanging when trying to construct the observers, well before it even checks for the existence of the network share. It hangs on the line
inside lib\watchdog\observers\inotify.py
libc_string is "libc.so.6" at the time.
I'm afraid I don't know enough about python, Android and C to be able to hazard a guess as to *why* you can't load libc.so.6, but as I don't need inodes to observe network shares, I can solve the issue for me by replacing "if platform.is_linux():" with "if 0:" just to disable inode watching entirely.
As it turns out, this is actually hanging when trying to construct the observers, well before it even checks for the existence of the network share. It hangs on the line
Code:
libc = ctypes.CDLL(libc_string, use_errno=True)
libc_string is "libc.so.6" at the time.
I'm afraid I don't know enough about python, Android and C to be able to hazard a guess as to *why* you can't load libc.so.6, but as I don't need inodes to observe network shares, I can solve the issue for me by replacing "if platform.is_linux():" with "if 0:" just to disable inode watching entirely.