On Mon, 2007-10-08 at 11:55 +0200, Igor2 wrote: > Hi Peter, > > it seems I've found the source of the problem. When gsch2pcb tries to move > tes.pcb.new.tmp to tes.pcb.new, tes.pcb.new may already exist. In this > case, on local FS, it's simply overwritten, on sshfs the result is > operation not permitted. > > There is a workaround option for this in sshfs, if it's turned on, the > problem is gone. However, I still think gsch2pcb should be more robust and > should be prepared to things like permission problems or disk space > shortage and xgsch2pcb should report such problems.
I'm glad to hear you've got to the bottom of the problem - hopefully this allows you to workaround the issue for now with your students. You are absolutely right about the need for more robust error handling.. xgsch2pcb does try to put its backup files back if it hits a problem, however (without looking at the code), its probably doing it in the same way that fails - with a mv command. I don't really like all the temp files on disk approach, but there isn't a lot else we can do with the present tools (and changing that would be a pain). Thanks for debugging the issue so thoroughly, Best wishes, Peter _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
