Jump to content


Photo

Saved project corrupted upon reopen?

bug error save open

  • Please log in to reply
3 replies to this topic

#1 vaid

vaid
  • Members
  • 63 posts

Posted 29 December 2015 - 07:55 PM

Hello!

 

I am very new to SMS and I find it's potential very appealing, and even better that I can develop something modern in Pascal.

 

However my first impressions of it has not been very positive because of several reasons, I will address the first reason here.

 

When I save a project it saves just fine, but when I re-open the project I get the following error:

Unknown name: TApplication

and the unit called "Unit1.pas" does not seem to be saved witth the project.

 

"Unit1.pas" is not available in the Project Manager tree on the left side of the screen upon re-open.

 

Why is this happening?

 

I am using version 2.1.2.3592 on Windows 10.



#2 BobLawrence

BobLawrence
  • Members
  • 78 posts
  • LocationBeaver Bank Nova Scotia Canada

Posted 29 December 2015 - 09:52 PM

I use SMS version 2.1.2.3592 on Windows 10. and Although it has quirks it works. :)

 

Try this by doing it in steps :

 ================================

From the main menu 
 
1. File ->> Create a new project  >>> Visual component project
 
2. Click the save Icon
 
3. Make a new folder, name it Test1
 
4,Open the folder
 
5. Save the project file to the folder. Name it Test1
 
6. Ensure the save icon is grayed out in the menu
 
7. Add a few components (i.e. buttons)
 
8. Click the save icon.
 
9. Ensure the save icon is grayed out in the menu
 
9. Run the project ( so you can see it running)
 
7. Close the project.
 
8. Then go to File Open Project and open the project file.
 
 
It should open all OK  if not let us know where it fails and any error messages you may get
 
 
Bob


#3 vaid

vaid
  • Members
  • 63 posts

Posted 30 December 2015 - 02:56 AM

Thanks for the help.

 

It seems to be saving fine now, but I'll reserve my statement until I've done some further development on my project.

 

I should also say that the error occured when creating a project from the Template option almost at the bottom of the list.



#4 Igor Savkic

Igor Savkic
  • Members
  • 185 posts

Posted 30 December 2015 - 02:18 PM

As an also a relatively novice user (less than two months) I can say that IDE is buggy and can crash a lot (especially in designer).
Just make sure you often save project (set up auto saving), otherwise tool and compiler are excellent so you can do a lot with it, and it's worth putting up with it's quirks.





Also tagged with one or more of these keywords: bug, error, save, open

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users