Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: robertpas on November 25, 2011, 09:53:31 am

Title: Problem opening files in Code Blocks.
Post by: robertpas on November 25, 2011, 09:53:31 am
Hello,

I'm running Code Blocks on ubuntu. At first everything was fine, but after a week files stopped opening. If I create a new project I cannot open main.c for editing and neither can I view files imported from elsewhere. I have tried reinstalling Code Blocks and adjusting settings with no success. Does anyone have any ideas besides reinstalling ubuntu?

Thanks in advance!
Title: Re: Problem opening files in Code Blocks.
Post by: MortenMacFly on November 25, 2011, 08:09:35 pm
Does anyone have any ideas besides reinstalling ubuntu?
You can try to remove the C::B settings completely (search for default.conf in your home folder), but I don't see a good reason why this would fix your issue.
Title: Re: Problem opening files in Code Blocks.
Post by: oBFusCATed on November 25, 2011, 10:07:23 pm
Have you tried to open your main.c file with another text editor like gedit, scite, vim, nano, mcedit, cat?
Does it work? What are the permissions?
Title: Re: Problem opening files in Code Blocks.
Post by: robertpas on November 26, 2011, 08:52:24 am
Have you tried to open your main.c file with another text editor like gedit, scite, vim, nano, mcedit, cat?
Does it work? What are the permissions?

Yes. Everything else works. It's a Code Blocks issue
Title: Re: Problem opening files in Code Blocks.
Post by: robertpas on November 26, 2011, 09:21:57 am
Solved it. Just created a new user and deleted the old one. Now everything is fine.