Closed zmth closed 6 years ago
Wow... ...such a thing didn't happen for a long time. Which wxMaxima version are you using? If it is a version from<2015 chances are high that the current nightly build of wxMaxima will automatically fix the issue. If not the process of repairing nearly every possible error is:
The current nightly build of wxMaxima will be able to open the content.xml, after it has been fixed.
If that doesn't help you can still open the .wxmx file in an text editor. And my mail address is wxMaxima at peterpall . de.
If you are willing to send me the broken file I am grateful as with a bit of luck it will help me resolving the actual problem that caused the file to corrupt.
Unfortunately my computer currently isn't in working order so I will only be able to repair the file by hand in approximately a week.
What is the exact error message? The things I have ever seen were:
thanks for your reply: wxMaxima version: 13.4.0 Maxima version: 5.31.1 Maxima build date: 2013-09-24 09:49:12 Host type: i686-pc-mingw32 Lisp implementation type: GNU Common Lisp (GCL) Lisp implementation version: GCL 2.6.8
before years ago same thing hapenned and they fixed it easily. I don't have an xml editor don't even know what XML means. Don't have any way to send it to peterpall . de as is not a valid email address. i renamed it binom.zip and will try to upload here binom.zip thanks
error says " wxMaxima encountered an error loading C:\maxima\binom.wxmx " then i press ok and it replies " XML parsing error: 'not well-formed (invalid token)' at line 828 "
I brought up the file in wordpad but unfortunately there is nothing in wordpad that can show line numbers
well ok here is a copy of the file made into a file 'content.xml': <?xml version="1.0" encoding="UTF-8"?>
don't know whether the lines correspond or not but on line 828 of this content.xml :
actually in my editor the funny thing here in the middle shows as a small left pointing arrow
supposed to be on line 828
keeps changing line 828 to nonsense when i press comment above. Try again
As I have said I will have a working computer again in a week. I'll try to find a way to fix the file using my cellphone but I can't guarantee I find one.
But since you are still using the 2013 version of wxMaxima I am confident that a quick fix would be uninstalling wxMaxima and installing the version from https://wolfgang.dautermann.at/maxima/nightlybuild/ will resolve the problem: the current wxMaxima version will automatically fix all kinds of unopenable files I have ever seen from the 2013 version of wxMaxima.
Am 25. August 2018 11:04:23 MESZ schrieb zmth notifications@github.com:
thanks for your reply: wxMaxima version: 13.4.0 Maxima version: 5.31.1 Maxima build date: 2013-09-24 09:49:12 Host type: i686-pc-mingw32 Lisp implementation type: GNU Common Lisp (GCL) Lisp implementation version: GCL 2.6.8
before years ago same thing hapenned and they fixed it easily. I don't have an xml editor don't even know what XML means. Don't have any way to send it to peterpall . de as is not a valid email address. i renamed it binom.zip and will try to upload here binom.zip thanks
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/andrejv/wxmaxima/issues/1026#issuecomment-415954985
-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
You are correct: the character is an Escape sign and not allowed in XML so it will cause the error you have encountered.
New enough versions of wxMaxima will automatically repair this error when opening the file.
So now have the .xml file and next if i 'fiddle' with this flle , deleting, changing things etc. then how do i get it back to a .wxmx file to try and load again ? On Saturday, August 25, 2018, 5:37:22 AM CDT, Gunter Königsman notifications@github.com wrote:
You are correct: the character is an Escape sign and not allowed in XML so it will cause the error you have encountered.
New enough versions of wxMaxima will automatically repair this error when opening the file.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Uninstalling the older version and reinstalling newer. What all does that do ? and what directory does it use? Now can't even find the directories and tree stucture of the old version. Anyway so if i uninstall all prior is gone forever ? What if install the newer without uninstalling ?
By default it installs itself into the directory c:/maxima_current
The rationale behind this is that this path doesn't contain a whitespace which the default install path in many countries does.
If you want to transform content.xml back to a valid .wxmx file just create a .zip file containing the content.xml and rename it into something ending in .wxmx
The wxMaxima from dautermann.at is able to open content.xml even if it isn't inside a .zip file.
My computer works again => opened the file with a new wxMaxima and saved it again. It should be openable now again by any wxMaxima now that was released after 2011. binom.zip
If you have still problems just comment on this thread and I will answer your messages.
ok thanks I did find on another computer did have a newer version 5.38.1 which did bring up the prior damaged file, with a notice, and corrected it also. If in newer version of maxima 5.38.1 bring up a filed saved with older version maxima 5.28.0-2 get a warning notice and also if bring up a file saved with newer 5.38.1 in the older version 5.28.0-2.
Funny seems the older version more efficient because the file saved by the newer version was around 87kb and after bringing it up in older version 5.28.0-2 and saving it then it was only about 13kb.
There are 3 reasons:
Additionally the text portion of the file is no more compressed:
The .wxmx file internally is a .zip archive, as is a .docx, a .odt or nearly every other file a modern program creates.
.zip files offer the feature of compressing turning of compression for their contents, which, as you have experienced, makes the file smaller, but comes with a number of drawbacks:
=> Most of the increase of the file size is caused by an improved image quality. The rest (which should be small) helps with recovering broken files or saving the file's history.
again and again it does this file saves ok and then will NOT come back up and i spend hours and hours then to have the file not load says xml parsing error. Then why did it save it ! Can you please fix this file. by giving me somewhere to email it.