User forums > Using Code::Blocks

Problem opening files in Code Blocks.

(1/1)

robertpas:
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!

MortenMacFly:

--- Quote from: robertpas on November 25, 2011, 09:53:31 am ---Does anyone have any ideas besides reinstalling ubuntu?

--- End quote ---
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.

oBFusCATed:
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?

robertpas:

--- Quote from: 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?

--- End quote ---

Yes. Everything else works. It's a Code Blocks issue

robertpas:
Solved it. Just created a new user and deleted the old one. Now everything is fine.

Navigation

[0] Message Index

Go to full version