Opened 3 years ago
Closed 3 years ago
#181 closed defect (fixed)
abort if <general.start.background.mode> is missing
| Reported by: | cavedon | Owned by: | vadim |
|---|---|---|---|
| Priority: | critical | Milestone: | QuteCom 2.3 |
| Component: | misc | Version: | 2.2-RC3 |
| Keywords: | Cc: |
Description
Qutecom aborts if <general.start.background.mode> is missing from the config file. This happens if:
- the $HOME/.qutecom directory does not exist
- the $HOME/.qutecom has been created by an older qutecom version
Introduced by revision [420].
Log:
(fatal) 02:26:45 [Common] /home/cavedon/qutecom/qutecom-2.2/libs/owutil/settings/src/Settings.cpp:163 boost::any Settings::getAny(const std::string&) const: key 'general.start.background.mode' does not exist (fatal) 02:26:45 [Common] /home/cavedon/qutecom/qutecom-2.2/libs/owutil/settings/src/Settings.cpp:147 bool Settings::getBooleanKeyValue(const std::string&) const: key 'general.start.background.mode' is not a boolean terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_any_cast> >' what(): boost::bad_any_cast: failed conversion using boost::any_cast Aborted
Change History (4)
comment:1 Changed 3 years ago by cavedon
- Summary changed from about if general.start.background.mode is missing to abort if <general.start.background.mode> is missing
comment:2 Changed 3 years ago by laurent
comment:3 Changed 3 years ago by laurent
http://trac.qutecom.org/changeset/461%3Af9ec9248273b
Is it ok now ?
comment:4 Changed 3 years ago by cavedon
- Resolution set to fixed
- Status changed from new to closed
Yes, thank you!
Note: See
TracTickets for help on using
tickets.

Hello ludovico,
Seems the problem comes from config.xml in install_prefix/share/qutecom which is not updated
I will bump config.xml version to force qutecom to exit if it doesn't find a good config.xml