Hello all,
I'm using Sigil ver 0.9.8, Qt ver 5.6.1 on kubuntu 16.04.2 LTS (Xenial Xerus).
I was creating an epub and editing the content.opf, which included adding additional metadata copied from an external file. After adding the metadata, on saving, sigil crashed and the error message popup was blank (sigil having locked up before printing the actual error message).
I repeated my steps, with the same result. On one occasion, the error message was printed, and it said something like "internal Python error" but of course the details button was inactive.
After starting again and adding the metadata one line at a time, I identified the following line as the culprit: (the names have been changed to protect the innocent.)
Code:
<dc:contributor opf:role="art" opf:file-as="Rockwell, Norman>Norman Rockwell</dc:contributor>
Note the missing quote between Norman and >.
When changed to :
Code:
<dc:contributor opf:role="art" opf:file-as="Rockwell, Norman">Norman Rockwell</dc:contributor>
it saved without error.
Given that I'm no stranger to missing quote marks, hopefully something can be done to provide a more gentle response to this error.
ETA: Of course I haven't tested this on other platforms, but if it really is an "internal python error" it seems likely that the error will extend across platforms.
All the best,
Albert