News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

../src/gtk/colour.cpp(207): assert "IsOk()" failed in (): invalid colour

Started by damian_reloaded, April 28, 2018, 02:57:38 PM

Previous topic - Next topic

damian_reloaded

If anyone is getting this error after upgrading, it's because inside the file default.conf (~/.config/codeblocks on linux) contains a "color" tag with a property "null".
You should change it from this:
<HIGHLIGHT_CARET_LINE_COLOUR>
<colour r="24" g="24" b="24" null="true" />
</HIGHLIGHT_CARET_LINE_COLOUR>

To this:
<HIGHLIGHT_CARET_LINE_COLOUR>
<colour r="24" g="24" b="24" />
</HIGHLIGHT_CARET_LINE_COLOUR>


And the error goes away.

oBFusCATed

(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!]

damian_reloaded

Debian 9
Codeblocks svn Build rev 11374
SDK Version 1.36.0
Scintilla 3.7.5

I experienced this error either downloading binary packages as well as compiling from sources.
This was upgrading from the version that's available from apt (16 something I guess). The property null="true" doesn't cause errors in the old version.
I've seen this error happening before on windows too. I now realize it was related to me tweaking the c++ syntax highlighting to my liking.

oBFusCATed

Should be fixed in rev 11377.
Please test if this is really true and thanks for reporting.
(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!]