Author Topic: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )  (Read 6856 times)

Offline danhld

  • Single posting newcomer
  • *
  • Posts: 4
cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« on: April 09, 2014, 02:52:37 pm »
Hi all,
I am using C:B 10.05 in Ubuntu 12.04, and now I want to upgrade to C:B 13.12.
However I get some problems with the installation. After installing C:B 13.12, I tried to launch it, but it report an error as follows, and then closes the program:

<report version="1.0" kind="exception"><system description="Linux 3.2.0-60-generic-pae i686"/><modules><module path="/usr/bin/codeblocks" address="08048000" size="0013c000"/><module path="[heap]" address="089e0000" size="02434000"/><module path="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf" address="ad9b3000" size="0004d000"/><module path="/usr/lib/codeblocks/plugins/libSmartIndentXML.so" address="aec5f000" size="00005000"/><module path="/usr/lib/codeblocks/plugins/libAutoVersioning.so" address="aec65000" size="0003d000"/><module path="/usr/lib/codeblocks/plugins/liboccurrenceshighlighting.so" address="aeca4000" size="00017000"/><module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aecbd000" size="00015000"/><module path="/usr/lib/codeblocks/plugins/libscriptedwizard.so" address="aecd4000" size="0004d000"/><module path="/usr/lib/codeblocks/plugins/libEditorConfig.so" address="aed26000" size="00012000"/><module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aed39000" size="00018000"/><module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="aed53000" size="0001a000"/><module path="/usr/lib/codeblocks/plugins/libautosave.so" address="aed6f000" size="0000d000"/><module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="aed7d000" size="00009000"/><module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aed87000" size="0006e000"/><module path="/usr/lib/codeblocks/plugins/libSmartIndentCpp.so" address="aedf9000" size="00009000"/><module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="aee03000" size="000ab000"/>
.
.
.
.
<frame level="119" function="PluginManager::LoadAllPlugins()" offset="00000257"/><frame level="120" function="CodeBlocksEvent" offset="00000000" file="/tmp/buildd/codeblocks-13.12/src/src/./sdk_events.h" line="30"/><frame level="121" function="MainFrame::MainFrame(wxWindow*)" offset="00000000" file="/tmp/buildd/codeblocks-13.12/src/src/main.cpp" line="609"/><frame level="122" function="wxUpdateUIEvent::SetUpdateInterval(long)" offset="00000000" file="/usr/include/wx-2.8/wx/event.h" line="1716"/><frame level="123" function="CodeBlocksApp::OnInit()" offset="00000000" file="/tmp/buildd/codeblocks-13.12/src/src/app.cpp" line="664"/><frame level="124" function="wxAppConsole::CallOnInit()" offset="00000000" file="/usr/include/wx-2.8/wx/app.h" line="76"/></stack></report>
I don't know what the error is and how to fix it.

Furthermore, when I remove it and reinstall the old version 10.05. It cannot be launched, too (without reporting anything)!!

Anyone can help? I am so embarrassed  :-[
Thank a lots

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #1 on: April 09, 2014, 06:40:47 pm »
First remove all codeblocks related packages and then install the new version. Probably you're mixing packages coming from two different versions.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #2 on: April 09, 2014, 06:55:53 pm »
There is an issue when upgrading CB that could be your issue. Reinstall 13.12 then open terminal and type codeblocks --safe-mode. Then enable compiler plugin and click OK at the prompt to update compiler settings. Exit and restart and you should be good.

Offline danhld

  • Single posting newcomer
  • *
  • Posts: 4
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #3 on: April 09, 2014, 10:25:42 pm »
There is an issue when upgrading CB that could be your issue. Reinstall 13.12 then open terminal and type codeblocks --safe-mode. Then enable compiler plugin and click OK at the prompt to update compiler settings. Exit and restart and you should be good.

Thank dmoore a lot.
I tried your way but cannot "enable compiler plugin" as you said (see the attached image). What can i do?

Offline danhld

  • Single posting newcomer
  • *
  • Posts: 4
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #4 on: April 09, 2014, 11:03:01 pm »
First remove all codeblocks related packages and then install the new version. Probably you're mixing packages coming from two different versions.

So could you please show me how to remove all codeblocks related packages? I use two ways:
First I try:
sudo apt-get -f install

End then terminal warns that there are still packages not removed, and it suggests me do the following:

sudo apt-get autoremove codeblocks

It seems OK. Then I install..

Do I miss something?


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #5 on: April 09, 2014, 11:09:34 pm »
Don't know I don't use apt-get, but I suppose there are tons of tutorials explaining how to remove packages.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline danhld

  • Single posting newcomer
  • *
  • Posts: 4
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #6 on: April 09, 2014, 11:43:34 pm »
I returned to the old version.
If anyone has any experience of installing Code::Blocks 13.12, please share me.
Thank you all for your help.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #7 on: April 10, 2014, 03:10:33 am »
Havent seen that error before. Permissions screwed up in ~/.codeblocks or /tmp or out of disk space?

milleraj66

  • Guest
Re: cannot launch C::B 13.12 after installing (in Ubuntu 12.04 )
« Reply #8 on: January 24, 2015, 01:24:43 am »
I had the same problem updating from 10... to 13...
I uninstalled codeblocks using "sudo apt-get purge codeblocks" then "sudo apt-get autoremove", then reninstalled and the problem persisted .
There is an issue when upgrading CB that could be your issue. Reinstall 13.12 then open terminal and type codeblocks --safe-mode. Then enable compiler plugin and click OK at the prompt to update compiler settings. Exit and restart and you should be good.
After attempting this method (I did need to run as sudo to enable compiler plugin) codeblocks is up and running again.
THANKS FOR THE HELP.