-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
startup crash: conversion of data to type "b" failed #546
Comments
Matthieu Coudron writes on August 31, 2018 5:40:
Not very important as surely updating my config would solve it but just in case:
```
[2018-08-31 11:50:44.807913] [0x00007f9180b15a00] [debug] HOME: /home/teto
[2018-08-31 11:50:44.807935] [0x00007f9180b15a00] [info] cf: loading: "/home/teto/.config/astroid/config"
[2018-08-31 11:50:44.808375] [0x00007f9180b15a00] [info] cf: version: 11
[2018-08-31 11:50:44.808500] [0x00007f9180b15a00] [debug] cf: check config..
[2018-08-31 11:50:44.808513] [0x00007f9180b15a00] [error] cf: the config file is an old version (9), the current version is: 11
[2018-08-31 11:50:44.808518] [0x00007f9180b15a00] [warning] cf: missing values in config have been updated with defaults (old version: 9, new: 11)
[11:50:44] [0x00007f9180b15a00] [M] [info] welcome to astroid! - 0.13.0
[11:50:44] [0x00007f9180b15a00] [M] [info] date: init.
[11:50:44] [0x00007f9180b15a00] [M] [info] db path: /home/teto/maildir
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::ptree_bad_data> >'
what(): conversion of data to type "b" failed
```
If you have a very old version of the config we stopped supporting
conversion. In the new config you only need to specify the values that
you change from the default. So basically just accounts to get started.
Long time since running astroid? :)
Otherwise, I need a backtrace or some more information to figure out
which config value caused the crash.
Regards, Gaute
|
I generated a new config but still get
Here is my config generated via astroid. I removed some parameters but tried with a vanilla one and it generated the same error.
coredumpctl debug gives:
|
Matthieu Coudron writes on September 1, 2018 14:26:
I generated a new config but still get
```
[20:23:29] [0x00007fd48f18da00] [M] [info] db path: /home/teto/maildir
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::ptree_bad_data> >'
what(): conversion of data to type "b" failed
zsh: abort astroid
```
Here is my config generated via astroid. I removed some parameters but tried with a vanilla one and it generated the same error.
I just tried with this config on v0.13 and did not get any errors. Could
it be something in your notmuch-config? I can't see the line-numbe in Db::init() in the trace you sent. Might need to do a Debug build if we don't find the source of the issue elsewhere.
|
I haven't looked at the source but here it is with lines :
NOTE: Nixos sometimes wraps binaries so maybe that could be it, |
In your notmuch config, do you have a section like this:
```
[maildir]
synchronize_flags=true
```
?
|
Yes |
Matthieu Coudron writes on September 1, 2018 18:03:
Yes `synchronize_flags = "True";` ! setting it to false fixes the problem (but I would prefer the setting to be true).
I think you have to use lowercase "true" and also no ";".
|
...and not "True" According to doc https://notmuchmail.org/manpages/notmuch-config-1/ It also causes a crash in astroid : astroidmail/astroid#546
I'm guessing that solved it :) closing. |
...and not "True" According to doc https://notmuchmail.org/manpages/notmuch-config-1/ It also causes a crash in astroid : astroidmail/astroid#546
Not very important as surely updating my config would solve it but just in case:
The text was updated successfully, but these errors were encountered: