View Issue Details

IDProjectCategoryView StatusLast Update
0009421ScribusInternalpublic2010-11-04 16:31
Reporterbartje Assigned Tofschmid  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuStudioOS Version10.04
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0009421: Error at parsing file
DescriptionI've got one file that seems to be corrupted, perhaps during a save operation. When trying to open the file it throws this error :
An error occured while parsing file at line 57, column 120 : Premature end of document.
Saving the file as another file does not solve the problem.
I can open the file when I first load the .sla file in an IDE (used netbeans) and delete the <SECTION /> entry. When saving this file again, the <SECTION /> is added to the file again, and when opening this file, it throws the same error again.
Steps To ReproduceI have this error in this particular file, but tried it on a newly created document as well, and it happened again. In attachment, the newly created file that threw the error as well.
TagsNo tags attached.
Patch

Activities

bartje

2010-10-22 07:56

reporter  

Document-1.sla (11,764 bytes)

fschmid

2010-10-22 16:32

administrator   ~0024684

You only have to remove the "FillChar" attribute of the "Section" tag from your damaged old files to make them readable again.

bartje

2010-10-22 18:14

reporter   ~0024688

OK, thanks, but my question now is, how and why did it end up there? It is a fix, but is it fixed in scribus so it won't happen again?

fschmid

2010-10-22 18:31

administrator   ~0024689

It won't happen again, the XML writing code is fixed now.

Issue History

Date Modified Username Field Change
2010-10-22 07:56 bartje New Issue
2010-10-22 07:56 bartje File Added: Document-1.sla
2010-10-22 13:38 christoph_s Status new => confirmed
2010-10-22 16:32 fschmid Note Added: 0024684
2010-10-22 16:32 fschmid Status confirmed => resolved
2010-10-22 16:32 fschmid Fixed in Version => 1.5.0svn
2010-10-22 16:32 fschmid Resolution open => fixed
2010-10-22 16:32 fschmid Assigned To => fschmid
2010-10-22 18:14 bartje Note Added: 0024688
2010-10-22 18:31 fschmid Note Added: 0024689
2010-11-04 16:31 cbradney Status resolved => closed