Unable to open sm file

Unable to open sm file - 消息

#1 已发布: 2021/2/26 13:52:59
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

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 (387.7 KiB)已下载 1677 次。
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 已发布: 2021/2/26 14:22:14
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

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.
<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.
<p>EE<br />Calculate the head losses and the corrected fows in the various pipes of a</p>
Regards

TEST_rcv.sm (488.99 KiB)已下载 1706 次。
#3 已发布: 2021/2/26 14:41:00
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Wrote

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
#4 已发布: 2021/2/26 21:01:16
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

You are welcome, happy to help you.
#5 已发布: 2021/2/27 12:18:02
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrote

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.

<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.
<p>EE<br />Calculate the head losses and the corrected fows in the various pipes of a</p>
Regards

TEST_rcv.sm (488.99 KiB)已下载 1706 次。

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

#6 已发布: 2021/2/27 12:30:47
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Wrote

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
#7 已发布: 2021/3/1 01:31:58
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

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
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#8 已发布: 2021/3/1 07:41:53
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

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.

Wrote

The funny thing is, per HTML code, the first screenshot looks "more" correct.



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

In the orginal HTML (up to 4.01) only
is correct;
In XHTML

and

are allowed,
is not allowed.
In HTML 5 only

and
are allowed,

is not allowed.


something
was newer allowed, so it seems an encoding bug to me.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#9 已发布: 2021/3/1 12:25:09
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Wrote


Please attache the content of the "Details" window.



Details Window.txt (30.14 KiB)已下载 1292 次。

Pipe_Network_EX_HARDY_CROSS.sm (299.12 KiB)已下载 1580 次。
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#10 已发布: 2021/3/4 08:53:47
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Both issues fixed. Thank you!
#11 已发布: 2021/3/5 13:45:27
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Thank you Andrey!
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#12 已发布: 2021/3/25 10:21:12
JenniferCastillo

JenniferCastillo

0个赞,共4个帖子。

组: User

Wrote

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.

<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.
<p>EE<br />Calculate the head losses and the corrected fows in the various pipes of a</p>
Regards

TEST_rcv.sm (488.99 KiB)已下载 1706 次。



Most accurate and informative answer.
  • 有新帖
  • 无新帖