wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
467 stars 96 forks source link

wmx file corrupted after usage #1462

Open jfmaurel opened 3 years ago

jfmaurel commented 3 years ago

Hi,

I post here a problem described in maxima mailing lits: https://sourceforge.net/p/maxima/mailman/message/37177486/ A corrupted file is attached in this thread showing the problem.

Regards

gunterkoenigsmann commented 3 years ago

I believe this has been resolved by @KubaO => Uninstalling your wxMaxima and installing the one from https://wolfgang.dautermann.at/maxima/nightlybuild/ should resolve this problem, I hope...

jfmaurel commented 3 years ago

Hi,

Le 21/12/2020 à 11:56, Gunter Königsman a écrit :

I believe this has been resolved by @KubaO https://github.com/KubaO => Uninstalling your wxMaxima and installing the one from https://wolfgang.dautermann.at/maxima/nightlybuild/ https://wolfgang.dautermann.at/maxima/nightlybuild/ should resolve this problem, I hope...

Unfortunately I have the same behaviour with:

build_info(version="branch_5_44_base_201_gf4e9e33e6",timestamp="2020-12-21 00:04:33",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/mlamo/maxima",maxima_tempdir="C:/Users/mlamo/AppData/Local/Temp",maxima_objdir="C:/Users/mlamo/maxima/binary/branch_5_44_base_201_gf4e9e33e/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.11.1_MSW_OpenMP201511+Locks")build_info(version="branch_5_44_base_201_gf4e9e33e6",timestamp="2020-12-21 00:04:33",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/mlamo/maxima",maxima_tempdir="C:/Users/mlamo/AppData/Local/Temp",maxima_objdir="C:/Users/mlamo/maxima/binary/branch_5_44_base_201_gf4e9e33e6/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.11.1_MSW_OpenMP201511+Locks")(version="branch_5_44_base_201_gf4e9e33e6",timestamp="2020-12-21 00:04:33",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/mlamo/maxima",maxima_tempdir="C:/Users/mlamo/AppData/Local/Temp",maxima_objdir="C:/Users/mlamo/maxima/binary/branch_5_44_base_201_gf4e9e33e6/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.11.1_MSW_OpenMP201511+Locks")

Regards

-- Jean-François MAUREL

KubaO commented 3 years ago

I don’t think I did anything to fix that one. I fixed a different bug that caused an assertion when selecting cells, but nothing to do with wxmx files.

21 dec. 2020 kl. 9:38 fm skrev jfmaurel notifications@github.com:

 Hi,

Le 21/12/2020 à 11:56, Gunter Königsman a écrit :

I believe this has been resolved by @KubaO https://github.com/KubaO => Uninstalling your wxMaxima and installing the one from https://wolfgang.dautermann.at/maxima/nightlybuild/ https://wolfgang.dautermann.at/maxima/nightlybuild/ should resolve this problem, I hope...

Unfortunately I have the same behaviour with:

build_info(version="branch_5_44_base_201_gf4e9e33e6",timestamp="2020-12-21 00:04:33",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/mlamo/maxima",maxima_tempdir="C:/Users/mlamo/AppData/Local/Temp",maxima_objdir="C:/Users/mlamo/maxima/binary/branch_5_44_base_201_gf4e9e33e/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.11.1_MSW_OpenMP201511+Locks")build_info(version="branch_5_44_base_201_gf4e9e33e6",timestamp="2020-12-21 00:04:33",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/mlamo/maxima",maxima_tempdir="C:/Users/mlamo/AppData/Local/Temp",maxima_objdir="C:/Users/mlamo/maxima/binary/branch_5_44_base_201_gf4e9e33e6/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.11.1_MSW_OpenMP201511+Locks")(version="branch_5_44_base_201_gf4e9e33e6",timestamp="2020-12-21 00:04:33",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/mlamo/maxima",maxima_tempdir="C:/Users/mlamo/AppData/Local/Temp",maxima_objdir="C:/Users/mlamo/maxima/binary/branch_5_44_base_201_gf4e9e33e6/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.11.1_MSW_OpenMP201511+Locks")

Regards

-- Jean-François MAUREL

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

jfmaurel commented 3 years ago

Hi,

Thanks for your answer.

Le 21/12/2020 à 16:08, Kuba Ober a écrit :

I don’t think I did anything to fix that one. I fixed a different bug that caused an assertion when selecting cells, but nothing to do with wxmx files.

Actually the problem is on wmx file. wxmx files works fine.

Regards

-- Jean-François MAUREL

Observatorio-de-Matematica commented 8 months ago

Hi,

I see a related behaviour when a heavily folded worsheet/notebook is converted from wxmx to wxm (in a plain wxm is delimited [wxMaxima: fold start ] ... [wxMaxima: fold end ] ). The file crash_test.wxm folded reaches %o61 but unfolded reaches %i763

Actually, in the case reported by me, an unhandled exception is triggered (https://sourceforge.net/p/maxima/mailman/maxima-discuss/thread/CAAftCjpx%2Bp0n0sqeChmWTDqGsGU54fLgZedKZR-u%2BPN83AVsyg%40mail.gmail.com/#msg48497303).

Regards

gunterkoenigsmann commented 8 months ago

On my computer the current nightly build of wxMaxima restores the file as good as it can. The only thing is that the file is throughly broken: It claims the worksheet contains a folded section containing a folded section containing a folded section... => will have to debug the .wxm saving code.