SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
SMath Studio 1.0.8151 Plugin Update Causes Smath to Crash
  Rank: Advanced Member Groups: Registered
Joined: 10/03/2020(UTC) Posts: 66
Was thanked: 1 time(s) in 1 post(s)
|
I used portable version of SMath Studio, since it was 0.9x, the plugin update is alwasy sucessful.
After I upgrade it to 1.0.8151, if I go to tools->plugins->plugins->online gallery and select any plugin to update, the app will crash.
But the downloaded dll are saved in \SMath Studio\extensions\plugins\guid\version
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 122   Location: Wisconsin Was thanked: 56 time(s) in 35 post(s)
|
Greetings, I have a similar issue; I am still using the 0.99 version, but the issue I noticed is with regards to management of versions (app and plugins) and shouldn't be ignored as version management is a HUGE perk of SMath; that it is backwards AND forwards compatible. This is an annoying bug as it doesn't give you any context, it just closes the application after 3seconds of trying to update plugins (if you have sufficient plugin versions, it doesn't try to update, and it doesn't crash as a result: There is an easy work-around, just to delete (or correct) the plugin dependents within the SMath file you are accessing. THOUGHT: I think this is attached to where a plugin is lock'd depending on your Account (for v1.00+ version); however the 0.99- versions do not have these Account restrictions/limitations. That is: the 0.99 version has a right to use a plugin and asks for updates, but the website assumes you need the proper Account level to access the plugins, and refuses the request. May this be of Good Help; ⚜ Kenny Lemens, P.E. ᵂᴵ |
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 21/10/2016(UTC) Posts: 84
Was thanked: 21 time(s) in 17 post(s)
|
Thanks for that hint. That works concerning opening an existing file.
I downgraded SMath from the version 1.0.8348 to several older versions (alternately).
But, even if no file is open, SMath crashes if I call "Search for updates" or if I open the plugins dialogue and select "Online gallery".
It seems that this is the same problem described in the post above when a file is opened.
Has anybody a solution? I deleted, after uninstalling SMath, every folder or file which relates to SMath, but I had no success.
Thanks!
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 122   Location: Wisconsin Was thanked: 56 time(s) in 35 post(s)
|
Greetings, To the best of my knowledge, there are at lest (4) bad plugins that will not install: - "...\plugins\0370e95d-cfdf-4f76-96cb-468d63d765c0"
- "...\plugins\a9f5e37d-83f5-4a4b-a106-0ba7b202abbb"
- "...\plugins\e40eaef6-4622-4ef3-ad03-077e8f005bb1"
- "...\plugins\20ad815b-bc5e-487d-9258-57fde2ac6de8"
I think the issue is that the program never addressed the possibility that a plugin that throws errors/doesn't work would ever be posted. As such, I believe that if ADMIN removes these (4) plugins from the online gallery, functionality of the 'checking for updates' will be restored: May this be of Good Help; ⚜ Kenny Lemens, P.E. ᵂᴵ |
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,617   Location: Italy Was thanked: 1319 time(s) in 870 post(s)
|
They have to be updated to address the API changes/dependancies changes. I missed the issue was with existing portable versionsOriginally Posted by: Kenny Lemens  I think the issue is that the program never addressed the possibility that a plugin that throws errors/doesn't work would ever be posted. As such, I believe that if ADMIN removes these (4) plugins from the online gallery, functionality of the 'checking for updates' will be restored:
That's a nuclear option. This way you can't download/update the plugins for the older SMath Studio version. The correct way is to fix the download manager in the incoming update and fix the plugins.Edited by user 08 August 2023 02:11:23(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 122   Location: Wisconsin Was thanked: 56 time(s) in 35 post(s)
|
Greetings, Thank you for the reply Davide. With regards to this topic: Originally Posted by: Davide Carpi  That's a nuclear option. This way you can't download/update the plugins for the older SMath Studio version. As it is, I am running appVersion(4)="0.99.7822.147" and SMath does not support the ability to download/update, nor is it possible to view the online gallery [NOTE: I don't even use the (4) plugins that I identified]. I am noticing the same behavior as MarB: Originally Posted by: MarB  But, even if no file is open, SMath crashes if I call "Search for updates" or if I open the plugins dialogue and select "Online gallery". Blow is an error message I captured before the crash. I cannot see much information, but it provides some context (i.e. an XML exception):
Code:System.Xml.XmlException
HResult=0x80131940
Message=For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
Source=System.Windows.Forms
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at ..(Object )
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
[FOLLOWUP]: I will concede, this may not be due to the plugins as the ability to check for updates on the software, or to access any of the online galleries contained within the Extensions Manager, will result in a crash. As such, disabling the (4) 'bad' plugins probably would have ZERO effect on addressing the underlining cause...May this be of Good Help; ⚜ Kenny Lemens, P.E. ᵂᴵ Edited by user 08 August 2023 00:23:47(UTC)
| Reason: additional comments in Brown |
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,617   Location: Italy Was thanked: 1319 time(s) in 870 post(s)
|
I can confirm the issue with the portable versions. My guess is that there is change server-side not compatible with the old code (in this case the only solution is a server-side fix - or a patch just for the older versions). |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
 1 user thanked Davide Carpi for this useful post.
|
|
|
 Rank: Newbie
Groups: Registered
Joined: 05/09/2023(UTC) Posts: 1  Location: Frankfurt
|
I have had the same/similar issue and have solved it on my Linux Mint system. Smath did not start up anymore after installing plugins. Solution on Linux: Just simply go to /home/YOURNAME/.config/SMath/extensions/plugins and delete the latest folder. The folder name has some randomly looking characters. Edited by user 17 September 2023 12:43:28(UTC)
| Reason: Not specified
|
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,795  Was thanked: 974 time(s) in 802 post(s)
|
Originally Posted by: Kenny Lemens  I think the issue is that the program never addressed the possibility that a plugin that throws errors/doesn't work would ever be posted. At time of SS 6179, I asked Andrey how to evaporate 5346. Per say, answer was it was automatic. In fact, my SS 6179 was fine since 2015 to May 2023, the date Studio versions were replaced by Solver 30405. To install Mathcad 11, we had to evaporate previous version. Jean
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 21/10/2016(UTC) Posts: 84
Was thanked: 21 time(s) in 17 post(s)
|
Originally Posted by: Davide Carpi  I can confirm the issue with the portable versions. My guess is that there is change server-side not compatible with the old code (in this case the only solution is a server-side fix - or a patch just for the older versions). The issue also affects the installed version on windows. Is there a chance to get those "older versions" (i. e. 1.0.8253) to work with plugins or extensions? Manual download of extensions isn't possible, is it? Edited by user 18 September 2023 14:40:11(UTC)
| Reason: typo corrected
|
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,795  Was thanked: 974 time(s) in 802 post(s)
|
Originally Posted by: MarB  Is there a change to get those "older versions" (i. e. 1.0.8253) to work with plugins or extensions? Manual download of extensions isn't possible, is it ? Studio versions don't exist since May 2023, replaced by Solver. Not 1/1 backward compatible. If you don't have a USB backup of Studio versions, you may have lost Smath completely. By luck, my last USB backup June 11 2023 works fine for converting. I progress checking 5000 Smath work sheets. Some simple stuff is 1/1 compatible ... Appendix, Animations User codes work fine generally... typical Genfit. Some user codes can be doctored, some not. On the other hand, the document that causes Solver to crash is fully visible but any and all keys respond 'bip, bip ...' Nothing to do because Solver does not have a specific command to clear/stop calculations ... close Windows !!! 
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
SMath Studio 1.0.8151 Plugin Update Causes Smath to Crash
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.