Code::Blocks Forums

User forums => Help => Topic started by: Wretch on December 02, 2025, 01:56:52 pm

Title: Error message upon opening new workspace
Post by: Wretch on December 02, 2025, 01:56:52 pm
Dear Forum,

I am an newcomer to Code::Blocks following the online guide by one "Alex" named "Learn C++.
My Platform is LinuxMint.

Upon trying to start a new Project in Code::Blocks 25.03, I recive this message:

Couldn't save project C-Stuff/Clol/Clol.cbp
(Maybe the file is write-protected?)

This message pops up three times.

A moment later, I receive this message:

app/include/wx-3.2/wx/datetime.h(1722): assert "IsValid()" failed in GetValue(): invalid wxDateTime

I am hopelessly lost. I assume this is a problem with my host system, but I have no clue were to start.
Title: Re: Error message upon opening new workspace
Post by: Miguel Gimenez on December 02, 2025, 02:08:27 pm
Do you have write permissions for C-Stuff?

Please post the full path to C-Stuff (should be simmilar to /home/noob/Proyects/C-Stuff) and the result of executing "ls -l /home/noob/Projects" in a console.
Title: Re: Error message upon opening new workspace
Post by: Wretch on December 03, 2025, 04:52:12 pm
Hello,

I can't access the path right now but I simply made a new folder directly in my account's directory (like what "noob" would be in the example).
'Guess that's silly?  :-[

I am not sure if I have write permissions. Do I need to be admin for that? Is there a console command for finding out?
Otherwise I never had any problems with changing the content of folders.
Title: Re: Error message upon opening new workspace
Post by: Miguel Gimenez on December 03, 2025, 05:01:15 pm
The console command is in my previous message, after "executing".

Title: Re: Error message upon opening new workspace
Post by: Wretch on December 04, 2025, 01:27:42 pm
So the path is:

/home/solar/C-Stuff

I am not sure if in am applying your command right but if I type in:

ls -l /home/solar/C-Stuff

I get:

total 0

(That is also a description of me.  ::))




Title: Re: Error message upon opening new workspace
Post by: Miguel Gimenez on December 04, 2025, 01:43:19 pm
Try
Code
ls -l /home/solar
Title: Re: Error message upon opening new workspace
Post by: christo on December 04, 2025, 06:31:10 pm
@wretch In the wizard, in the box labelled "Folder to create project in", could you please browse and select the folder instead of typing it? If you type, please provide the full path as
Code
/home/solar/C-Stuff
Title: Re: Error message upon opening new workspace
Post by: Wretch on December 05, 2025, 10:25:34 am
@wretch In the wizard, in the box labelled "Folder to create project in", could you please browse and select the folder instead of typing it? If you type, please provide the full path as
Code
/home/solar/C-Stuff

LOL such an obvious solution! And I didn't even see that little box on the right. Thank you!  ;D