mse-org / mseide-msegui

MSEide is a Rapid Application Development IDE for platform independent rich GUI applications in the Pascal language. It comes with its own GUI toolkit called MSEgui. Binaries: https://github.com/mse-org/mseide-msegui/releases
GNU General Public License v2.0
124 stars 15 forks source link

Exception 'Unable to open file ...' when opening a project #86

Closed milen-prg closed 7 months ago

milen-prg commented 7 months ago

As last versions have no precompiled binaries, I try to compile the new source (mseide-msegui-5.10.4) with old mseide_win64/mseide.exe. But when open (as in documentation) the C:\mseide\mseide-msegui-5.10.4\apps\ide\mseide.prj, this error appears:

image

After "Continue" (as in the "documentation") it compiles and produces mseide.exe and its seems that works, only when open it in its About is shown the old version (must be 5.10.4):

image

Maybe, this all is normal, but I'm beginner and I feel it is not all ok.

fredvs commented 7 months ago

Hello milen-prg.

C:\mseide\mseide-msegui-5.10.4\apps\ide\mseide.prj, this error appears:

Aaaargh, it is the file from my history that should not be there for the release. The message say that this file in the history could not be found (of course it was from my pc). You may ignore the message but I agree it is not a good "Welcome to MSEgui".

I will fix that asap (tonight), thanks to note it. [EDIT] Fixed in last commit: https://github.com/mse-org/mseide-msegui/commit/795b48658d7204b72eeaa3cca8ceac2ebc9efe83

, only when open it in its About is shown the old version (must be 5.10.4):

Hum, strange, how did you compile mseide, did you set the MSEdir with the last source? Did you compile MSEide via MSEide v 5.10 (then you need to check in menu Settings/Configure MSEide the ${MSEDIR})? [EDIT]

I try to compile the new source (mseide-msegui-5.10.4) with old mseide_win64/mseide.exe.

Ha, OK so you should check the directory of MSEDIR:

msedir

If you use the script from the readme.md, before to run the command, make sure you are in the directory of the new msegui source.

Here it is ok:

about_mseide_win64

rchastain commented 7 months ago

After "Continue" (as in the "documentation") it compiles and produces mseide.exe and its seems that works, only when open it in its About is shown the old version (must be 5.10.4):

I think it's because you didn't change MSEDIR value in Settings/Configure MSEide. So the IDE has been compiled using MSEgui 5.10.2.

It is said in the documentation.

rchastain commented 7 months ago

I will fix that asap (tonight), thanks to note it. [EDIT] Fixed in last commit: 795b486

I am curious. How did you do it? Did you edit manually the PRJ file?

A good habit is to close all files before you exit MSEide, particularly when it is a project of the repository. (Advice given by Martin.)

rchastain commented 7 months ago

Fred, there is a word badly written in README.md (direcory).

fredvs commented 7 months ago

I am curious. How did you do it? Did you edit manually the PRJ file?

Yes, I did it like this. I did not catch yet how to disable the history of files in the prj. There are options in Project-Option about what to store into the prj but I did not see how to disable history.

fredvs commented 7 months ago

Fred, there is a word badly written in README.md (direcory).

Ooops, fixed in commit https://github.com/mse-org/mseide-msegui/commit/04533bd5e52fcc0fb7ddaf1a4623106beb512063

fredvs commented 7 months ago

As last versions have no precompiled binaries,

Yes, MSEide 5.10. (the application) himself does no need the fixes of MSEgui 5.10.2 and 5.10.4.

At end of release-page: https://github.com/mse-org/mseide-msegui/releases/tag/5.10.4

For the release of binary MSEide, please use the assets of release 5.10.0. (no change in MSEide for MSEgui 5.10.4.) See assets at end of page: https://github.com/mse-org/mseide-msegui/releases/tag/5.10.0

Anyway, it is ok to rebuild MSEide with last MSEgui source.

milen-prg commented 7 months ago

@fredvs , in compilation I really was selected the old version source in settings ${MSEDIR} and open the mseide.prj from the new source. When I set before the compilation the ${MSEDIR} to the new source, the version in About is correct. Thank, you!

fredvs commented 7 months ago

@milen-prg : I am happy that you find solution. (And thanks to note that mseide.prj was full of history.)