[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-30 Thread James Westby
Hi, Has anyone discussed this fix with upstream? If it fixes the serious bug you found then I think it's important for them to fix their examples, as people are probably basing their work of them, and so this bug may be spreading. I'd also appreciate their review before uploading, as I have very

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-30 Thread Andrea Gasparini
James, i already sent them a mail (but now I'm seeing it's bounced :P ). Btw, i talked also with seb at debian, and it seems he agree with my patch. I'll retry to resend or find a working address. -- python-fuse's xmp.py bad at handling larger files https://bugs.launchpad.net/bugs/262961 You

Re: [Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-30 Thread James Westby
On Tue, 2008-09-30 at 09:51 +, Andrea Gasparini wrote: James, i already sent them a mail (but now I'm seeing it's bounced :P ). Btw, i talked also with seb at debian, and it seems he agree with my patch. I'll retry to resend or find a working address. Thanks, James -- python-fuse's

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-30 Thread Bug Watch Updater
** Changed in: python-fuse (Debian) Status: New = Fix Released -- python-fuse's xmp.py bad at handling larger files https://bugs.launchpad.net/bugs/262961 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-29 Thread Andrea Gasparini
The fast solution is set multithreaded = False right after the creation of che Fuse object. In your case: server = Xmp( blablabla... ) server.multithreaded = False ... ... .. server.main() Don't know if a wider solution would be necessary and accepted. -- python-fuse's xmp.py bad at handling

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-29 Thread Andrea Gasparini
** Changed in: python-fuse (Ubuntu) Status: New = Confirmed -- python-fuse's xmp.py bad at handling larger files https://bugs.launchpad.net/bugs/262961 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-29 Thread Andrea Gasparini
I think the only thing that could be made in python-fuse is to patch the example. I believe that kind of issues can happen even on a not-virtualized filesystem. I mean: two thread that process the same file descriptor without taking a lock on it, will have ever problems of race condition. --

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-29 Thread Andrea Gasparini
attacching a patch that should fix the problem. Perhaps a better solution could be made calling lock() in every function of XmpFile() class. ** Bug watch added: Debian Bug tracker #500584 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500584 ** Also affects: python-fuse (Debian) via

[Bug 262961] Re: python-fuse's xmp.py bad at handling larger files

2008-09-29 Thread Bug Watch Updater
** Changed in: python-fuse (Debian) Status: Unknown = New -- python-fuse's xmp.py bad at handling larger files https://bugs.launchpad.net/bugs/262961 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list