Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: slalom3 on June 04, 2016, 09:29:00 am

Title: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: slalom3 on June 04, 2016, 09:29:00 am
After I start codeblocks and opening my project and then opening source code from the management panel, everything suddenly stops working! (Codeblocks hangs) and after some seconds, the application turns into gray collar (like when Firefox has a problem with flash player and it hangs!)

It should also be noted that I installed the ppa.I downloaded the package from: launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable the package itself works fine, since I installed it on another computer with ubuntu 15.10
Also removing and reinstalling did not solve the problem.


thanks for any suggestion in advance.
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: BlueHazzard on June 04, 2016, 12:32:07 pm
Does this project works on the other computer?

Can you start codeblocks, disable the code completion plugin and try to open your project? (Plugins->Manage plugins->Code Completion -> Disable)

greetings
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: oBFusCATed on June 04, 2016, 05:46:48 pm
Disable the Symbol browser in the Code completion settings. It is known to fail with wx3.0.
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: slalom3 on June 04, 2016, 07:29:48 pm
Thanks BlueHazzard .By disabling Code Completionnow it works.
But as you answered my other question, I have a code with nested namspaces and classes, so I do need Code Completion!
But I think it is better to follow it below that question.
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: Jenna on June 04, 2016, 11:13:51 pm
Thanks BlueHazzard .By disabling Code Completionnow it works.
But as you answered my other question, I have a code with nested namspaces and classes, so I do need Code Completion!
But I think it is better to follow it below that question.
Did you try oBFusCATed suggested ?
Not to disable the whole codecompletion, but just the symbolsbrowser in the settings of the codecompletion ?
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: Jenna on June 05, 2016, 12:21:52 am
I thought they are the same! There is nor settings in (Plugins->Manage plugins->Code Completion), nor symbolsbrowser.
where can I find these settings/symbolsbrowser?

You have to check "Settings -> Editor -> Code completion -> Symbols browser -> Disable symbols browser"
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: slalom3 on June 05, 2016, 12:27:13 am
You have to check "Settings -> Editor -> Code completion -> Symbols browser -> Disable symbols browser"

Thank you, got it
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: dmoore on June 05, 2016, 05:26:03 pm
Disable the Symbol browser in the Code completion settings. It is known to fail with wx3.0.

My codeblocks-stable PPA is built against wx2.8, so wx3.0 shouldn't be the problem here.
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: slalom3 on June 05, 2016, 06:31:13 pm
My codeblocks-stable PPA is built against wx2.8, so wx3.0 shouldn't be the problem here.

After disabling Symbol browser the problem is fixed. The thing is I have same version of codeblocks installed on Ubuntu 15 and it works fine, but there is a problem with ubuntu 16.04.
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: oBFusCATed on June 05, 2016, 06:36:35 pm
Yes, the working one is using wx2.8 and the broken is using wx3.x.
Title: Re: Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!
Post by: slalom3 on June 05, 2016, 11:19:07 pm
Yes, the working one is using wx2.8 and the broken is using wx3.x.

Thanks.