Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


3 Pages<123>
Options
Go to last post Go to first unread
Offline kda406  
#21 Posted : 28 March 2013 20:10:36(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
Have you tried if the issue affects also older SMath Studio versions? 0.95, 0.94, 0.93, 0.92....


WAIT WAIT WAIT WAIT WAIT! WHAAAAAT?

I believe I have found a problem with the SMath site. Because of this, when I tried an "older" version, I did not.

If I go to download for example, 0.88, and click on the 0.88 setup here:
http://en.smath.info/for...0-88--12-April-2010.aspx

What do I get? 0.95

If I try to get 0.94 from here:
http://en.smath.info/for...o-0-94--18-May-2012.aspx

What do I get? 0.95

Every version I have tried to download (in the last hour) has given me 0.95.

I therefore am unable to try other versions to see if the divide by zero problem is limited to 0.95.

Thanks,
Kyle
Offline Davide Carpi  
#22 Posted : 28 March 2013 20:17:43(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
It's true Shok Wonder Wacko

However here there is a 0.94 version (found in C:\Users\Davide\AppData\Roaming\SMath - folder get from SettingsDirectory(#) function of customFunctions plugin) (edit) and the first 0.95.


regards,

w3b5urf3r

Edited by user 28 March 2013 20:28:39(UTC)  | Reason: Not specified

File Attachment(s):
SMathStudioDesktop.0_94_4544.Setup.msi.zip (1,046kb) downloaded 24 time(s).
SMathStudioDesktop.0_95.Setup.msi.zip (1,148kb) downloaded 23 time(s).
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline kilele  
#23 Posted : 28 March 2013 20:37:57(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
I could find download links for old versions, for example:
http://smath.info/?file=739858
Just go to the archive subforum on the "Download" forum

Could you try to change xp look and feel, you know the style of windows dialogues, titlebars, icons size..
I think you can change it opening Desktop Properties, "Appearance" and "themes" tab.
Changing this to get a more standard style, I was able to solve issues affecting user interfaces of another software.
Offline kda406  
#24 Posted : 28 March 2013 21:10:14(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Kilele,

The link you posted takes me to install 0.95. Yes, I too find the download links for older versions, but when you actually click to download, the files you receive are all 0.95.____.msi.

I had already tried changing to the totally default Blue theme (all defaults for screen setups) when I saw rendering issues with your Page1.sm file. When it did not fix the problem, I changed back to Microsoft XP Silver Normal.

I just downloaded and ran the NetFXRepairTool.exe from Microsoft. It said it found no problems, so I clicked the button to do what I will call deep compare/repair. It checked every file in every .Net version I have installed against Microsoft looking for any differences (took about 15 mins). It finished by saying it could find no issues with any of my .Net installations.

I uninstalled 0.95, cleaned the registry, installed the 0.94 version W3b5urf3r posted. It had the same issues rendering and divide by zero when looking at Help -> About. It wanted to do an update, so I allowed it to update to 0.95. Same results.

I have never had software to not run on this PC. This is crazy!

Thanks so much,
Kyle
Offline kda406  
#25 Posted : 28 March 2013 21:11:55(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Aaahh, the requested older versions are hidden. You have to click a link to unhide them. Not cool.
-Kyle
Offline kda406  
#26 Posted : 28 March 2013 21:17:42(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Quote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at SMath.Manager.DynamicLabel..ctor()
at SMath.Desktop.About.InitializeComponent()
at SMath.Desktop.About..ctor()
at SMath.Desktop.Form1.ShowAboutDialog(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

SMathStudio_Desktop
Assembly Version: 0.88.3754.54
Win32 Version: 1.1.14.0
CodeBase: file:///C:/Program%20Files/SMath/SMath%20Studio/SMathStudio_Desktop.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

ioman
Assembly Version: 0.88.3754.50
Win32 Version: 0.88.3754.50
CodeBase: file:///C:/Program%20Files/SMath/SMath%20Studio/ioman.DLL

HTMLFileType
Assembly Version: 1.1.3753.43167
Win32 Version: 1.1.3753.43167
CodeBase: file:///C:/Program%20Files/SMath/SMath%20Studio/plugins/HTMLFileType.dll

canvas
Assembly Version: 0.88.3754.52
Win32 Version: 0.88.3754.52
CodeBase: file:///C:/Program%20Files/SMath/SMath%20Studio/canvas.DLL

SpecialFunctions
Assembly Version: 1.1.3753.43100
Win32 Version: 1.1.3753.43100
CodeBase: file:///C:/Program%20Files/SMath/SMath%20Studio/plugins/SpecialFunctions.dll

XMCDFileType
Assembly Version: 1.1.3753.43032
Win32 Version: 1.1.3753.43032
CodeBase: file:///C:/Program%20Files/SMath/SMath%20Studio/plugins/XMCDFileType.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Is this helpful?
Thanks,
Kyle
Offline kilele  
#27 Posted : 28 March 2013 22:17:41(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Hopefully Andrey will see this log with the exception: System.DivideByZeroException: Attempted to divide by zero.
and will be taken into account in the next version, It seems some problem related with calculating/placing user interfaces elements, just guessing though.

You may want to install .net20 manually (I guess the install will detect if there are newer versions
http://www.microsoft.com...oad/details.aspx?id=1639

Another idea to test, backup and delete mscorlib at C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll and try to repair the .net installation again.

Offline kda406  
#28 Posted : 28 March 2013 23:52:27(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

I tried several iterations. Removed mscorlib.dll from 2.0, same problems. Restored, same problems. Removed it from 4.0, same problems. Restored, same problems.

I removed them both, so there is NO mscorlib.dll on my PC and ran SMath. Same problems. What? I don't even need this DLL installed to run SMath. Search does not find the DLL. Is it cached somewhere?

I have not restored my .Nets yet. Right now, running the PC without those DLLs at all.

Thanks,
Kyle
Offline kilele  
#29 Posted : 29 March 2013 13:39:14(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
If you are not totally annoyed by the software yet or by my suggestions, you could try to upgrade your videocard drivers as well as checking out if you are using any applications that affect other software like antivirus..
Offline kda406  
#30 Posted : 02 April 2013 16:27:42(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Originally Posted by: kilele Go to Quoted Post
If you are not totally annoyed by the software yet or by my suggestions, you could try to upgrade your videocard drivers as well as checking out if you are using any applications that affect other software like antivirus..


I figure you guys are the one who is annoyed with me. I do not believe the video card drivers or anti-virus could cause a divide by zero error when I click Help -> About.

Nevertheless, I checked my video card drivers and turned off my anti-virus software (Comodo Internet Security Premium). I still get divide by zero errors.

Since I last posted, I took some time to upgrade NetBeans, MPLabX, Gimp, Firefox, Thunderbird, LibreOffice, Filezilla, puTTY, Zim Wiki, and Foxit Reader. All went smoothly and work perfectly with no glitches. The problem with SMath Studio is quite confounding and completely atypical for me. If the developers want to send stripped down test-compiles to locate the problem, I am open to it. I would very much like to use this program.

I really appreciate everyone being so patient with me.

Thanks,
Kyle
Offline kilele  
#31 Posted : 13 April 2013 21:17:05(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
oops I'm sort of cursed with the same issues as you.
I wanted to see Smath in Linux in a rapid way, that is by installing a precompiled exe of a lightweight distribution:
"Precise Puppy Linux 550.exe", then I searched "mono-complete" on the Pupy package manager and finally downloaded Smath and run its .exe from the console: mono smath.exe
And arghh I was faced with your very same problems: abrupt exit when trying to activate menus leaving dividing zero errors messages on the console, and sheets showing all regions messed up.

By the way, I've noticed that the download setup provided for Linux is actually a nice portable version which works on Windows, with the advantage of not including the entire .net framework as well as allowing the use of third party plugins!

Edited by user 13 April 2013 21:19:17(UTC)  | Reason: Not specified

Offline mkraska  
#32 Posted : 14 April 2013 12:40:33(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: kilele Go to Quoted Post

By the way, I've noticed that the download setup provided for Linux is actually a nice portable version which works on Windows, with the advantage of not including the entire .net framework as well as allowing the use of third party plugins!


That is really an interesting option which I would like to recommend in my handbook. However, the settings are not stored in the dir where the exe resides as in the portable version. Instead, a settings directory is used that seems to depend on the local .net environment. I noticed that the installed version and the linux executable use the same settings dir.

I added most of the available plugins to the linux distrib and packed that into a zip (3MB ) available in the wiki: SMath with plugins. This saves you from collecting the plugins from the locations spread over the forum.

I only used precompiled plugins and excluded those that have licence issues or do not run on x64. Still I may have missed some plugins.

I did not collect individual permissions from the authors to include the plugins but shall remove them if I am asked to do so. Also I did not perform thorough testing of the setup, but so far no indications for particular problems (in addition to those that we have with the native windows version.

Depending on the response, I shall repeat this post at a more appropriate location in the forum.

Edited by user 14 April 2013 12:43:56(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline kilele  
#33 Posted : 14 April 2013 15:28:34(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Originally Posted by: mkraska Go to Quoted Post


That is really an interesting option which I would like to recommend in my handbook. However, the settings are not stored in the dir where the exe resides as in the portable version. Instead, a settings directory is used that seems to depend on the local .net environment. I noticed that the installed version and the linux executable use the same settings dir.

I added most of the available plugins to the linux distrib and packed that into a zip (3MB ) available in the wiki: SMath with plugins. This saves you from collecting the plugins from the locations spread over the forum.

I only used precompiled plugins and excluded those that have licence issues or do not run on x64. Still I may have missed some plugins.



Thanks for maintaining this derivative distribution with user-made plugins. Clap

It could be possible to make an alternative version to store settings in the same directory as the exe,
following the instructions on the portableapps.com forum, but it might be hacking Andrey's installer too much.
Anyway, I remember that he was interested in following the specifications of that software suite. The next version of portableapps will support .net applications so it will be a good opportunity to prepare an official portable distibution to promote smath on that site.



Offline omorr  
#34 Posted : 14 April 2013 16:30:01(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Thank you Martin Good

If I remember my wishlist from almost three years ago, it seems that SMath version you presented here is a step forward to something I always wanted, thanking to Andrey and plugin makers (w3b5urf3r and uni in the first place). I really hope that there would not be another three years waiting for SMath version 1.0 . I can not find the right words, but It would be really just a very sad thing not to have SMath 1.0 in the very recent future Sad .

Regards,
Radovan

Edited by user 14 April 2013 20:42:33(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline kda406  
#35 Posted : 15 April 2013 16:24:28(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Originally Posted by: kilele Go to Quoted Post
And arghh I was faced with your very same problems: abrupt exit when trying to activate menus leaving dividing zero errors messages on the console, and sheets showing all regions messed up.

I am sorry you have the problem on your linux install, but happy to not be the only one with the problem.

Did you solve the problem?

Thanks,
Kyle
Offline Davide Carpi  
#36 Posted : 15 April 2013 21:46:32(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: mkraska Go to Quoted Post
I added most of the available plugins to the linux distrib and packed that into a zip (3MB ) available in the wiki: SMath with plugins. This saves you from collecting the plugins from the locations spread over the forum.


kda406, have you tried to run this build? It's designed for linux but work also on windows systems.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline kda406  
#37 Posted : 15 April 2013 22:23:27(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
kda406, have you tried to run this build? It's designed for linux but work also on windows systems.

I thought so, but just to be sure I tried again just now.

I tried:
SMathStudioDesktop.0_95_4594.Portable.exe (Date: 30.07.2012. File size: 18MCool - .Net Framework 2.0 doesn't required

And also tried:
Desktop Linux (desktop computer with Linux OS):
SMathStudioDesktop.0_95_4594.Mono.tar.gz (Date: 30.07.2012. File size: 857.25KCool - last version of Mono distributive required!

Portable for Windows gives the same problems and divide by zero errors as the installed version.

Mono/Linux version gives 4 warnings about plug-ins, then runs, but crashes the same way with divide by zero errors.

Thanks,
Kyle
Offline kilele  
#38 Posted : 15 April 2013 23:04:25(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Originally Posted by: kda406 Go to Quoted Post


I am sorry you have the problem on your linux install, but happy to not be the only one with the problem.

Did you solve the problem?



I tried several windows installers for installing Puppy (not the .iso files) without success to run Smath.
A pity because I like Puppy, just occupies a few hundred megabytes and can run totally in ram.
I think it's best to use some distribution bundled with mono like Ubuntu. I'll post my finding here if I manage to make a minimum installation of Ubuntu.

I wonder if installing mono for windows would make a difference in your case.
Offline kda406  
#39 Posted : 16 April 2013 15:49:01(UTC)
kda406


Rank: Member

Groups: Registered
Joined: 22/03/2013(UTC)
Posts: 20
Man
United States
Location: Atlanta, GA

Originally Posted by: kilele Go to Quoted Post
I wonder if installing mono for windows would make a difference in your case.


I downloaded and installed Mono (no issues). I ran it as the command line version.

First I pasted the path of the installed SMathStudio. It runs slowly, but comes up. It had the same issues, which I guess is no surprise as it is still using the installed .Net components.

Next I navigated the Mono CL to the location where my SMath portable (for Windows) is located. I ran it, and it was much slower, as expected. But I was shocked that when I clicked Help About, I still get a divide by zero error.

I didn't try anything else. Sad

Thanks,
Kyle
Offline kilele  
#40 Posted : 16 April 2013 18:54:53(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Kyle :

Have you tried to run the the Linux build with Mono for Windows ?

Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
Originally Posted by: mkraska Go to Quoted Post
I added most of the available plugins to the linux distrib and packed that into a zip (3MB ) available in the wiki: SMath with plugins. This saves you from collecting the plugins from the locations spread over the forum.


kda406, have you tried to run this build? It's designed for linux but work also on windows systems.



You could install VirtualBox for Windows hosts and run it as a virtualmachine just fine.
This is a straightforward how-to with screenshots:
http://www.psychocats.net/ubuntu/virtualbox
The idea is to run some lightweight Linux distro including Mono by default, like Ubuntu.
I would try Xubuntu which runs loading less ram and allows an installation of 1.5gb in case you are interested after seeing it on virtualbox, besides it makes sense to use a lighter ram version from within windows.

Edit:

other linux versions reported in the forum which run successfully Smath
http://en.smath.info/for...run-Ubuntu.aspx#post7327

Edited by user 16 April 2013 19:07:26(UTC)  | Reason: Not specified

Users browsing this topic
Guest
3 Pages<123>
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.