On Jan 27, 1:06 pm, Jeff Bone <[EMAIL PROTECTED]> wrote:
> Okay, I solved the "Symbol not found: _iconv" problem. I downloaded
> a fresh (2.0) Python FUSE bindings and added a line to setup.py as
> follows:
>
> libsonly.append("pthread") # <-- existing line
> libsonly.append("iconv") # <-- new line
Thanks, Jeff, that solved my problem! You're a rock star!
> However, now when I run gmailfs I'm getting numerous lines of the form:
This one I don't know about. I'm not using gmailfs.
I have a new problem. To test the robustness of my new Python file
system, which is a network file system, I tried disconnecting my
network during a file transfer ("cp foobar /tmp/"). After about 30
seconds of no network, my Python daemon stopped abruptly, and I saw
the following error message in Terminal:
cp: foobar: Socket is not connected
I tried wrapping a try clause around the code being executed, but it
didn't catch any exception ('SOCKET ERROR' was never printed):
try:
key.get_contents_to_filename(localPath,
None, callBack)
except :
print 'SOCKET ERROR'
This is bad news if my Python file system just gives up when there's a
network failure. Is there any way I can catch this condition instead
of the whole program dying? Is there a MacFUSE command line option I
should be using? I'm using MacFUSE-Core-10.5-1.3.1.
Thanks,
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---