Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: killerbot on June 02, 2007, 10:25:22 am

Title: keybinder messages
Post by: killerbot on June 02, 2007, 10:25:22 am
build on linux latest svn :

get a whole bunch of these entries in the log ....


Quote
KeyBinder failed UpdateById ...

What does it mean, and how to get rid of it ?
Title: Re: keybinder messages
Post by: Pecan on June 02, 2007, 01:25:26 pm
build on linux latest svn :

get a whole bunch of these entries in the log ....


Quote
KeyBinder failed UpdateById ...

What does it mean, and how to get rid of it ?

You mean the "debug" log don't you?

It means you have a very old cbKeybinder10.ini file in the CB data folder. The menu structure has problably changed many times since you last did a key save.

Either delete cbKeybinder10.ini or open the keybinder configuration dialog and choose OK. It'll resave the structure.

This happens to SVN versions that have added/deleted menu items and the menu id's nolonger match those in the .ini file.

This will not happen to a released version.

I have recently turned "dynamic merging" back on. So keybinder will eventually clean out all the stale menu id's. But it does it slowly.

Title: Re: keybinder messages
Post by: killerbot on June 02, 2007, 04:24:54 pm
thx, they are reduced now , just one left : KeyBinder failed UpdateById on[717][_Save a_ll files]
Title: Re: keybinder messages
Post by: Pecan on June 02, 2007, 05:52:30 pm
thx, they are reduced now , just one left : KeyBinder failed UpdateById on[717][_Save a_ll files]

That particular menu item had (before biplab fixed it) two "&" accelerators in its menu label which caused keybinder to croak.

keybinder side steps menu items with multiple accelerators.

You may have to go edit that one out yourself.