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

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline ndtma  
#1 Posted : 26 February 2021 19:52:59(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
While making finishing touches to the attached SM file (latest version), a warning message
propped up to continue or quit. I continued, saved and closed.
But now unable to open it. It loads but immediately closes without any message.
Can this be recovered please?
This is the first time I came across this type of an issue.
I use latest WIN 10 64 bit Home edition

TEST.sm (388kb) downloaded 17 time(s).

Edited by user 26 February 2021 19:55:33(UTC)  | Reason: Not specified

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 26 February 2021 20:22:14(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
For information, same behavior with bug under Linux.
Seems a line break is written wrong to file.
Corrected it with text editor and tried to save under smath to replicate the bug.
Couldn't achieve to bug reappear again.

Code was like this previously.
Code:
<p><br>EE</br>Calculate the head losses and the corrected fows in the various pipes of a </p>

Revised to this with text editor.
Code:
<p>EE<br />Calculate the head losses and the corrected fows in the various pipes of a</p>

Regards

TEST_rcv.sm (489kb) downloaded 21 time(s).

Edited by user 27 February 2021 03:20:47(UTC)  | Reason: Not specified

Offline ndtma  
#3 Posted : 26 February 2021 20:41:00(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Originally Posted by: overlord Go to Quoted Post
For information, same behavior with bug under Linux.
Seems a line break is written wrong to file.
Corrected it and tried to save to replicate the bug.
Couldn't achieve to bug reappear again.


Thank you very much for your contribution.
It saved me a lot of trouble.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline overlord  
#4 Posted : 27 February 2021 03:01:16(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
You are welcome, happy to help you.
Offline ElSid  
#5 Posted : 27 February 2021 18:18:02(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Originally Posted by: overlord Go to Quoted Post
For information, same behavior with bug under Linux.
Seems a line break is written wrong to file.
Corrected it with text editor and tried to save under smath to replicate the bug.
Couldn't achieve to bug reappear again.

Code was like this previously.
Code:
<p><br>EE</br>Calculate the head losses and the corrected fows in the various pipes of a </p>

Revised to this with text editor.
Code:
<p>EE<br />Calculate the head losses and the corrected fows in the various pipes of a</p>

Regards

TEST_rcv.sm (489kb) downloaded 21 time(s).
I've had this issue before. Thanks for the fix, the last time this happened, I had a backup. The funny thing is, per HTML code, the first screenshot looks "more" correct.

NDTM, I spotted what appears to be minor spelling error. FLOWS, not FOWS

Offline ndtma  
#6 Posted : 27 February 2021 18:30:47(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Originally Posted by: ElSid Go to Quoted Post
I've had this issue before. Thanks for the fix, the last time this happened, I had a backup. The funny thing is, per HTML code, the first screenshot looks "more" correct.

NDTM, I spotted what appears to be minor spelling error. FLOWS, not FOWS


Yes. Thank you. Now I made the correction.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline ndtma  
#7 Posted : 01 March 2021 07:31:58(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Whenever I try to edit contents of some description boxes the unhandled exception error message props up. For information of Developers please.

Unhanfdled Exception Error.png

Edited by user 01 March 2021 07:38:51(UTC)  | Reason: Not specified

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Davide Carpi  
#8 Posted : 01 March 2021 13:41:53(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: ndtma Go to Quoted Post
Whenever I try to edit contents of some description boxes the unhandled exception error message props up. For information of Developers please.


Please attache the content of the "Details" window.

Originally Posted by: ElSid Go to Quoted Post
The funny thing is, per HTML code, the first screenshot looks "more" correct.


IDK I'm only an amateur HTML coder but to me <br> always has been a void/empty element; looking at standards:

In the orginal HTML (up to 4.01) only <br> is correct;
In XHTML <br/> <br /> and <br></br> are allowed, <br> is not allowed.
In HTML 5 only <br> <br/> and <br /> are allowed, <br></br> is not allowed.

<br>something</br> was newer allowed, so it seems an encoding bug to me.

Edited by user 01 March 2021 13:43:32(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
Offline ndtma  
#9 Posted : 01 March 2021 18:25:09(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post

Please attache the content of the "Details" window.


Details Window.txt (31kb) downloaded 8 time(s).

Pipe_Network_EX_HARDY_CROSS.sm (300kb) downloaded 8 time(s).
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Andrey Ivashov  
#10 Posted : 04 March 2021 14:53:47(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Both issues fixed. Thank you!
Offline ndtma  
#11 Posted : 05 March 2021 19:45:27(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Thank you Andrey!
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline JenniferCastillo  
#12 Posted : 25 March 2021 16:21:12(UTC)
JenniferCastillo

Rank: Newbie

Groups: Registered
Joined: 25/03/2021(UTC)
Posts: 4
United States
Location: Newyork

Originally Posted by: overlord Go to Quoted Post
For information, same behavior with bug under Linux.
Seems a line break is written wrong to file.
Corrected it with text editor and tried to save under smath to replicate the bug.
Couldn't achieve to bug reappear again.

Code was like this previously.
Code:
<p><br>EE</br>Calculate the head losses and the corrected fows in the various pipes of a </p>

Revised to this with text editor.
Code:
<p>EE<br />Calculate the head losses and the corrected fows in the various pipes of a</p>

Regards

TEST_rcv.sm (489kb) downloaded 21 time(s).


Most accurate and informative answer.
Users browsing this topic
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.