(After spending several hours working under ChatGPT's guidance — I wouldn't have known how to proceed on my own — we [= ChatGPT and I] finally located the line of code causing the issue on macOS Tahoe 26.5.2; so, in the letter below written by ChatGPT, "I" refers to "ChatGPT". I removed the previous email from this one because I noticed that these emails were being posted in full on SourceForge and that the ticket was becoming really complicated. Thank you very much for looking after Xfig, which...
I tried your suggestion. I made a copy of "trial.fig" into "trial-modif.fig" and changed 0 weissmies-schema-cns.jpg to 0 weissmies-schema-cns.jpg with two spaces between 0 and the filename, in "trial-modif.fig". Unfortunately, Xfig 3.2.9_2 gives exactly the same error: File trial-modif.fig: Incomplete Picture Object object at line 11. Incorrect object code at line 13. So adding a blank does not seem to make any difference. As mentioned in my previous message, I have also already tested Xfig 3.2.9a_0...
* Comment : For the time being, I do not have an easy fix. Another shot into the dark is to take the trial.fig file, open it with a text editor, and editing it a bit until xfig reads it (?! I wish, this were a joke.) For instance, adding at least one blank between "0" and "weissmies...". I will see this in a while. But now, I see that the lines reading the picture file name were changed after xfig 3.2.9 (due to a non-portability to OS X). I see, that you had installed xfig 3.2.9, not xfig 3.2.9a....
Dear Thomas, Thank you very much for your rapid answer. This is really a tough problem! Worse, I cannot reproduce the issue. This is very annoying. Does this indicate that the problem comes from the machine and its operating system (the problem appeared after upgrading to macOS Tahoe 26.5.2 and reinstalling Xfig). The error messages from xfig indicate that the parser is somehow misled. One possibility would be that on MacOS the line ending character is written as carriage return (\r, ascii 0xd),...
Xfig 3.2.9_2 on macOS Tahoe: Picture objects cannot be read back