Author Topic: (SLVD) SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS  (Read 15757 times)

Offline PavelMSTU

  • Single posting newcomer
  • *
  • Posts: 3
(SLVD) SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS
« on: October 29, 2013, 01:16:07 pm »
I found little bug in 10.05 rev 0 version of Code::Blocks in Ubuntu 12.04 LTS (Standart Utinity).



Height of "Programm arguments" field is very small!!!
I think you must fix it like this:

(left picture -- now, right -- after fix)


___
Best regargs, Pavel.

P.S. I just want to debug my programm, transferred from Windows to Ubuntu by gdb in Code::Blocks :)
« Last Edit: October 30, 2013, 08:53:14 am by PavelMSTU »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS
« Reply #1 on: October 29, 2013, 01:24:32 pm »
Switch to 12.11 or a nightly build.
I'm not absolutely sure if it works correct in 12.11 .

10.05  is more then 3 years old, and there will not be any updates to it.

Offline PavelMSTU

  • Single posting newcomer
  • *
  • Posts: 3
Re: SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS
« Reply #2 on: October 29, 2013, 01:44:00 pm »
Switch to 12.11 or a nightly build.
I'm not absolutely sure if it works correct in 12.11 .

10.05  is more then 3 years old, and there will not be any updates to it.

Hm... I install by apt-get in lastest LST version of Ubuntu (now this is 12.04).
apt-get say, that 10.05 of Code::Blocks is lastest version.

May be your repository need be update??
« Last Edit: October 29, 2013, 01:46:08 pm by PavelMSTU »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS
« Reply #3 on: October 29, 2013, 02:02:27 pm »
Switch to 12.11 or a nightly build.
I'm not absolutely sure if it works correct in 12.11 .

10.05  is more then 3 years old, and there will not be any updates to it.

Hm... I install by apt-get in lastest LST version of Ubuntu (now this is 12.04).
apt-get say, that 10.05 of Code::Blocks is lastest version.

May be your repository need be update??

It's not our repo, it's Ubuntu's repo.
So you have to bug them not us or switch to a nightly/daily repo like:
https://code.launchpad.net/~damien-moore/+archive/codeblocks
https://launchpad.net/~pasgui/+archive/ppa/

Offline PavelMSTU

  • Single posting newcomer
  • *
  • Posts: 3
Re: SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS
« Reply #4 on: October 30, 2013, 08:30:13 am »
It's not our repo, it's Ubuntu's repo.
So you have to bug them not us or switch to a nightly/daily repo like:
https://code.launchpad.net/~damien-moore/+archive/codeblocks
https://launchpad.net/~pasgui/+archive/ppa/

I install from your repo.... (https://code.launchpad.net/~damien-moore/+archive/codeblocks) All crashed.
Programm start and just crashed...

I write command in console: codeblocks --log-to-file codeblocks.log

Log here:
Quote from: codeblocks.log
Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 46 lexers
Loading lexer_f77
Loading lexer_make
Loading lexer_perl
Loading lexer_sql
Loading lexer_gm
Loading lexer_smalltalk
Loading lexer_latex
Loading lexer_pascal
Loading lexer_java
Loading lexer_lua
Loading lexer_squirrel
Loading lexer_haskell
Loading lexer_rc
Loading lexer_masm
Loading lexer_properties
Loading lexer_angelscript
Loading lexer_ruby
Loading lexer_matlab
Loading lexer_cg
Loading lexer_bash
Loading lexer_objc
Loading lexer_lisp
Loading lexer_vbscript
Loading lexer_cmake
Loading lexer_diff
Loading lexer_glsl
Loading lexer_css
Loading lexer_html
Loading lexer_OgreCompositor
Loading lexer_postscript
Loading lexer_OgreMaterial
Loading lexer_cpp
Loading lexer_A68k
Loading lexer_caml
Loading lexer_ada
Loading lexer_prg
Loading lexer_nsis
Loading lexer_hitasm
Loading lexer_d
Loading lexer_python
Loading lexer_fortran
Loading lexer_bibtex
Loading lexer_vhdl
Loading lexer_verilog
Loading lexer_xml
Loading lexer_batch
Configured 0 tools
Scanning for plugins in /home/guard/.codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/lib/codeblocks/plugins
Tools Plus Plugin: Registering shell type Piped Process Control
Loaded 56 plugins
Loading:
EnvVars
HexEditor
EditorTweaks
cbDragScroll
HelpPlugin
SmartIndentXML
AutoVersioning
NassiShneidermanPlugin
Abbreviations
lib_finder
CodeCompletion
SymTab
SmartIndentHDL
SmartIndentLua
ProjectsImporter
Valgrind
DoxyBlocks
CodeSnippets
SmartIndentFortran
MouseSap
SpellChecker
SpellChecker: Thesaurus files '/usr/share/myspell/dicts/th_en_US.idx' not found!
SpellChecker: Loading '/usr/share/myspell/dicts/th_en_US_v2.idx' instead...
BrowseTracker
CppCheck
ThreadSearch
EditorConfig
FilesExtensionHandler
RegExTestbed
OpenFilesList
SmartIndentPython
Cscope
FileManager
IncrementalSearch
Debugger
CB_Koders
wxSmith
wxSmithMime
ToDoList
OccurrencesHighlighting
ScriptedWizard
ReopenEditor
HeaderFixup
wxSmithContribItems
BYOGames
SmartIndentPascal
Autosave
Cccc
Profiler
copystrings
AStylePlugin
cbKeyBinder
Exporter
Compiler

Also it write something to /tmp/codeblocks_dbgrpt-2628-20131030T111910/codeblocks.xml (download)

I think to use old version 10.04 of Code::Blocks in Ubuntu....

UPD This repo works correct: https://launchpad.net/~pasgui/+archive/ppa/

UPD2 And "Set program arguments" work correct! Thank you, jens!!
« Last Edit: October 30, 2013, 08:51:56 am by PavelMSTU »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: (SLVD) SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS
« Reply #5 on: October 30, 2013, 02:08:50 pm »
The first repo should also work fine (mostly, but it is a real daily build so you are on the bleeding edge.) I think you were hit by the issue described here:

http://forums.codeblocks.org/index.php/topic,18329.msg125742.html#msg125742

The workaround is to start in safe mode, enable compiler plugin, accept all prompts, quit and restart. I suspect the problem is that the compiler plugin is trying to offer these prompts before the GUI is ready.
« Last Edit: October 30, 2013, 04:59:06 pm by dmoore »