Error Object reference

Error Object reference - Сообщения

#1 Опубликовано: 17.02.2022 10:28:08
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

FXsp.sm (502 КиБ) скачан 29 раз(а).

When trying to open the file, the following error appears "object reference not defined for an instance of an object".

Can you tell me how to solve it.
#2 Опубликовано: 17.02.2022 10:40:54
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

When trying to open the file, the following error appears "object reference not defined for an instance of an object".


File does not open incorrect format
Probably caused by an active AV at time saved.
#3 Опубликовано: 17.02.2022 10:42:57
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Wrote

When trying to open the file, the following error appears "object reference not defined for an instance of an object".


File does not open incorrect format
Probably caused by an active AV at time saved.




it is possible solver?
#4 Опубликовано: 17.02.2022 10:54:01
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

it is possible solver?


If it would relate to a solver of some kind it would turn red.
Try to save as instead of just save.
Personally, I always save as ... never simply save.
#5 Опубликовано: 17.02.2022 10:58:10
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Wrote

it is possible solver?


If it would relate to a solver of some kind it would turn red.
Try to save as instead of just save.
Personally, I always save as ... never simply save.




So this scrypt is lost?
#6 Опубликовано: 17.02.2022 11:02:45
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

So this script is lost ?


Maybe yes up to this point ?
Can't help so far !
#7 Опубликовано: 17.02.2022 11:08:25
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Wrote

So this script is lost ?


Maybe yes up to this point ?
Can't help so far !



thank you very much friend
#8 Опубликовано: 17.02.2022 12:45:28
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

Wrote

Wrote

So this script is lost ?


Maybe yes up to this point ?
Can't help so far !


I won't make a promise, but maybe it can be recoverable.
At least and maybe, some parts of it.
Don't fall into Jean's false claims.
#9 Опубликовано: 17.02.2022 13:03:57
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

First attempt to fix the file.
I have removed the force crash section.
Next I am going to correct the crashing section.
I think I can fix very most part of it.

Regards

FXsp_r0.sm (473 КиБ) скачан 25 раз(а).
#10 Опубликовано: 17.02.2022 13:33:20
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

Here is your file, completely recovered.

Regards

FXsp_r1.sm (603 КиБ) скачан 32 раз(а).

Click to Enlarge
1 пользователям понравился этот пост
#11 Опубликовано: 17.02.2022 13:39:51
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Here is your file, completely recovered.

Regards

FXsp_r1.sm (603 КиБ) скачан 32 раз(а).

Click to Enlarge



thank you very much friend, can you tell me what was done to fix this error?
#12 Опубликовано: 17.02.2022 14:32:30
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

Wrote

thank you very much friend, can you tell me what was done to fix this error?


You are welcome.
Culprit is usually an empty \[REGION[####]]\. Yours was at line#1963.
SMath files are sophisticated xml files actually.
You can edit them with a text editor.
The hash inside \[REGION[#####]]\ can differ, but pattern is always same.
\[REGION[#######################]]\
I usually search for this and remove its regions entirely.
If fix works, then try to remove \[REGION[###]]\ individually.

This mostly works to fix the files.
If it doesn't, I remove sections one by one.
Or multiple of them at same time until file works again.
Then re-add them to pinpoint which region makes crash.

Most important, I always work on file copies to prevent more data loss.

Regards

2022-02-17_20-23.png
#13 Опубликовано: 17.02.2022 15:22:03
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Wrote

thank you very much friend, can you tell me what was done to fix this error?


You are welcome.
Culprit is usually an empty \[REGION[####]]\. Yours was at line#1963.
SMath files are sophisticated xml files actually.
You can edit them with a text editor.
The hash inside \[REGION[#####]]\ can differ, but pattern is always same.
\[REGION[#######################]]\
I usually search for this and remove its regions entirely.
If fix works, then try to remove \[REGION[###]]\ individually.

This mostly works to fix the files.
If it doesn't, I remove sections one by one.
Or multiple of them at same time until file works again.
Then re-add them to pinpoint which region makes crash.

Most important, I always work on file copies to prevent more data loss.

Regards

2022-02-17_20-23.png



thx u pro
#14 Опубликовано: 17.02.2022 15:23:18
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Wrote

thank you very much friend, can you tell me what was done to fix this error?


You are welcome.
Culprit is usually an empty \[REGION[####]]\. Yours was at line#1963.
SMath files are sophisticated xml files actually.
You can edit them with a text editor.
The hash inside \[REGION[#####]]\ can differ, but pattern is always same.
\[REGION[#######################]]\
I usually search for this and remove its regions entirely.
If fix works, then try to remove \[REGION[###]]\ individually.

This mostly works to fix the files.
If it doesn't, I remove sections one by one.
Or multiple of them at same time until file works again.
Then re-add them to pinpoint which region makes crash.

Most important, I always work on file copies to prevent more data loss.

Regards

2022-02-17_20-23.png



thx u pro -->can you tell me why I can't save this same file in .exe form?
#15 Опубликовано: 17.02.2022 15:44:20
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

Wrote

thx u pro -->can you tell me why I can't save this same file in .exe form?


I don't know your Windows setup. So can't tell.
I even use linux and I could make an exe file.
Try to Log-in to your account in SMath.
(Login button is Up-Right of SMath window)
This will activate pro mode while saving exe's.
And uncheck compression option.
This is what I did.

Regards

This zip file contains exe of your file:
FXsp_r1.exe.gz (1 МиБ) скачан 22 раз(а).

2022-02-17_21-40.png
#16 Опубликовано: 17.02.2022 16:13:34
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

Wrote

thx u pro -->can you tell me why I can't save this same file in .exe form?


I don't know your Windows setup. So can't tell.
I even use linux and I could make an exe file.
Try to Log-in to your account in SMath.
(Login button is Up-Right of SMath window)
This will activate pro mode while saving exe's.
And uncheck compression option.
This is what I did.

Regards

This zip file contains exe of your file:
FXsp_r1.exe.gz (1 МиБ) скачан 22 раз(а).

2022-02-17_21-40.png



I still get the same error as in the topic below

https://en.smath.com/forum/yaf_postst21695_Error-trying-to-save-to--exe.aspx

#17 Опубликовано: 17.02.2022 16:20:20
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

Wrote

I still get the same error as in the topic below

https://en.smath.com/forum/yaf_postst21695_Error-trying-to-save-to--exe.aspx


Let me try this with a Windows installed computer.
Than maybe I can get what is going on about the issue.
#18 Опубликовано: 17.02.2022 17:08:08
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

I tried your file with a windows 10 installed computer.
It didn't made the executable file on that either.
I have replaced writer plugin regions with embedded text regions.
Now exe file can be created, but not visually as you desired I guess.
And it creates some maple files in document directory when executed.

Actually you don't need maple to solve that kind of functions you used.
Embedded solve() or roots() enough for that, I have replaced it.

So, there is a inconsistency with Linux and Windows versions.
While using Writer Regions and making executable files,
Windows version can't finish while Linux can.
Interesting finding indeed.

Regards

FXsp_r2.sm (502 КиБ) скачан 26 раз(а).
#19 Опубликовано: 17.02.2022 18:03:00
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 сообщений из 27 понравились пользователям.

Группа: User

Wrote

I tried your file with a windows 10 installed computer.
It didn't made the executable file on that either.
I have replaced writer plugin regions with embedded text regions.
Now exe file can be created, but not visually as you desired I guess.
And it creates some maple files in document directory when executed.

Actually you don't need maple to solve that kind of functions you used.
Embedded solve() or roots() enough for that, I have replaced it.

So, there is a inconsistency with Linux and Windows versions.
While using Writer Regions and making executable files,
Windows version can't finish while Linux can.
Interesting finding indeed.

Regards

FXsp_r2.sm (502 КиБ) скачан 26 раз(а).




perfect thank you very much for making your time available, I have been using smart for 4 months and in this learning phase you are one of the best help, thank you very much friend

1 пользователям понравился этот пост
overlord 17.02.2022 18:06:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений