Recent Posts

Pages: 1 2 3 4 5 6 7 [8] 9 10
71
General Discussion / Re: Parsing File Error
« Last post by dragonfly on June 30, 2020, 02:25:57 pm »
I offer some ideas I have applied to recover corrupted files (not just Scribus).

First make a backup of the errant file, as an insurance policy.

Next download and install XMLCopyEditor a free XML editor.

https://sourceforge.net/projects/xml-copy-editor/

With the original document file safely backed up, open a copy of the *.sla document in XMLCopyEditor.

Since *.sla is really *.xml format you should be able to inspect the inner elements of your file.

There are two buttons in top menu showing "yellow ticks".
Check well-formedness
Validate

Check first that the document is "well-formed" (that is, it follows syntax rules).
Check next that the document is valid.

If one of these fail it may be that the xml syntax is corrupted.

It then becomes a process of trial and error to eliminate corrupt elements in the xml document.

I use a blank template Scribus document as a reference for comparison. That is, a Scribus template without content in pages. 

You can also compare Scribus XML documents (old and current document versions) using meld.
https://meldmerge.org/

========================================

[P.S] I see another related thread here which might offer more recovery ideas (such as splitting up the source document):

http://forums.scribus.net/index.php/topic,3655.15.html

========================================

[P.P.S] Another idea is to comment out blocks of xml elements in the test *.sla document to identify which page or attributes or corrupt syntax might be at fault.

More found here ..

https://stackoverflow.com/questions/2757396/how-do-i-comment-out-a-block-of-tags-in-xml


72
General Discussion / Re: Parsing File Error
« Last post by Michael6 on June 30, 2020, 11:25:39 am »
Thanks Utnik, I sent you a PM to try and exchange the file.

My computer is only 2 years old AdmFubar.

The same error occurred on another document I would have had opened the same time. Didn't know that until I tried to open it after my post. That one was easy to redo. Really hope I can salvage something from the main file :(
73
General Discussion / Re: Parsing File Error
« Last post by AdmFubar on June 30, 2020, 08:57:19 am »
Out of curiosity, how old is the system you are using? I suspect your hard drive might be going.
74
Text and Typography / Re: Text Import Problem
« Last post by AdmFubar on June 30, 2020, 08:54:42 am »
I use Scribus 1.4.8. I want to import text, but I cannot find my text. The file (docx and odt) is not in the folder. I have the picture attached. Can somebody help me?
Looks like you dont have the right type of file in that directory.  If you note the File of Type drop down, in the file dialog it lists the type of files it can import. docx isnt listed there. You may need to resave that file in a format scribus knows how to import. That drop down should have an All Files option you can use to see if the file is really there, check to make sure it is.
75
General Discussion / Re: Parsing File Error
« Last post by utnik on June 30, 2020, 06:44:36 am »
hi michael

is the 'autosave' file showing the same message? – if it does, it might be hard to recover the file.
when you show me the file, i will take a look at it and try to recognize the error. if the damage is small, i might be able to just delete some affected objects. but there's no guarantee, as i'm not a coder and crashes can do strange things…

utnik

p.s.: the combination of 'a week of work' and 'no backup' should lead to the main lesson to be learned from this crash!
76
General Discussion / Parsing File Error
« Last post by Michael6 on June 30, 2020, 02:30:41 am »
My file has crashed with no backup... I go to open it and it says "An error occurred while parsing file at line 845, column 70760235: Unexpected". There is a weeks work in this file I am hoping to recover.  Anyone have the ability to recover it from the last autosave or something similar? It would be greatly appreciated!  :o
77
Text and Typography / Re: Text Import Problem
« Last post by utnik on June 29, 2020, 11:09:15 pm »
hi ale
hi herrysusanto

this is the text import dialog! and if the path is correct and the text file is there, it should be listed…

utnik
78
Text and Typography / Re: Text Import Problem
« Last post by a.l.e on June 29, 2020, 05:47:51 pm »
hi herry

scribus cannot open .docx or .odt files. but it can load them into text files.

you need to first create a text frame and you can then use "file > load" (or similar) to load the text content of an odt (or docx) into it.

ciao
a.l.e
79
Text and Typography / Text Import Problem
« Last post by herrysusanto on June 29, 2020, 03:38:15 pm »
I use Scribus 1.4.8. I want to import text, but I cannot find my text. The file (docx and odt) is not in the folder. I have the picture attached. Can somebody help me?
80
Tutorials, Tips and How-Tos / Re: Formatting tables in 1.5.5
« Last post by TeamTTL on June 29, 2020, 12:13:46 pm »
Your reply makes it sound easy. And, there is a Scribus template that includes a table: https://www.scribus-templates.net/templates/boilerplate/ And, in the Style Manager of the template I can see the entries for "Table elements", "Table column titles" and "Table row titles". How do these work in practice? I'm trying to make a Scribus table. Read your reply several times but couldn't make a Scribus table!
Pages: 1 2 3 4 5 6 7 [8] 9 10
palmate