[Pkg-bitcoin-devel] Bug#803949: electrum: Electrum unable to start; Cannot read config file

Tristan Seligmann mithrandi at mithrandi.net
Tue Nov 3 15:37:49 UTC 2015


On Tue, 3 Nov 2015 at 17:09 Zachary Peterson <zap at fastmail.com> wrote:

>   File "/usr/lib/python2.7/dist-packages/electrum/simple_config.py", line
> 157, in read_user_config
>     raise IOError("Cannot read config file.")
> IOError: Cannot read config file.


This error is raised if an exception occurs reading the configuration file,
located at ~/.electrum/config. Unfortunately the reraised exception
contains no information about what went wrong.

The following command should reproduce the process used by Electrum 1.9.8
to load the config file:

python -c 'import ast, os; print
ast.literal_eval(open(os.path.expanduser("~/.electrum/config")))'

This should fail with a Python exception; could you reply to this bug with
the output?

(The problem could be that your configuration is corrupt somehow, or the
file is unreadable for some reason. Another possibility is that you have
run a newer version of Electrum somehow; newer versions use a different
format for the configuration and wallet files, and will upgrade it
automatically, making older versions unable to read the files.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/attachments/20151103/cec5be94/attachment.html>


More information about the Pkg-bitcoin-devel mailing list