1 Pages (7 items)
[MaximaPlugin][SS-4584] SM File not opening - When attempting to open a file in smath, it doesn't respond if I try to open it - Messages
#1 Posted: 2/20/2019 2:44:55 PM
When attempting to open a file in smath, it doesn't respond if I try to open it from smath. If I try to open it from the file directory, nothing is displayed on my screen but task manager says a smath process is running and in order to stop it, i have to end the process through task manager. I am currently using smath version .99 (build: 6988) with maxima
I have attached the file that cannot open. It is located in the same file directory as other smath files which have no trouble opening.p3.sm (75 KiB) downloaded 37 time(s).
I was having trouble with it the other day taking a long time to run the calculations on the page but it never failed to open until now.
Any help would be greatly appreciated, thank you.
I have attached the file that cannot open. It is located in the same file directory as other smath files which have no trouble opening.p3.sm (75 KiB) downloaded 37 time(s).
I was having trouble with it the other day taking a long time to run the calculations on the page but it never failed to open until now.
Any help would be greatly appreciated, thank you.
#2 Posted: 2/20/2019 3:02:55 PM
Your document crashed SMath on my machine as well. I'm running 0.99.6988. I tried opening on a portable version 0.98.6484 and that did not work either. My guess is there's something embedded within the .sm that's causing SMath to corrupt. I turned off auto-calculate before trying to open the .sm file, but that didn't seem to help.
I don't know what to do other than someone go through the .sm with a text editor looking for something funky.
I don't know what to do other than someone go through the .sm with a text editor looking for something funky.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 users liked this post
wvcamden 2/20/2019 3:05:00 PM
#3 Posted: 2/20/2019 3:07:58 PM
The calculations I was trying to run do include definite integrals of summations and that's what was taking awhile to calculate. However, I have created test files doing close to the same thing and they work fine.
#4 Posted: 2/20/2019 3:25:42 PM
Here's a fixed file. It did not like the function explicit(). I've disabled the two instances. I'm not familiar with this function so hopefully someone else can spread some light on why it took down SMath.
p3_alyles.sm (75 KiB) downloaded 31 time(s).
p3_alyles.sm (75 KiB) downloaded 31 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#5 Posted: 2/20/2019 3:47:58 PM
For the devs:
Attached is a code snippet of the regions that were suspect. I ended up changing the tags to
Attached is a code snippet of the regions that were suspect. I ended up changing the
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 users liked this post
Davide Carpi 2/20/2019 4:03:00 PM
#6 Posted: 2/20/2019 4:06:19 PM
Yes, the problem is in those regions. A regular maxima region has additional data before the tag, hence the crash on reading; at the moment I'm not sure why that data is missing, though.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 2/20/2019 4:51:19 PM
Maxima plug-in should be fixed to avoid code parts like:
reader.Read() returns boolean and if result is false then loop must be stopped.
Unfortunately there is no possibility to control this by SMath Studio itself.
while ("ImageFile" != reader.Name)
{
reader.Read();
}
reader.Read() returns boolean and if result is false then loop must be stopped.
Unfortunately there is no possibility to control this by SMath Studio itself.
1 users liked this post
Davide Carpi 2/21/2019 12:00:00 PM
1 Pages (7 items)
-
New Posts
-
No New Posts