[qutebrowser] Unable to start - Error loading config.py

Florian Bruhin me at the-compiler.org
Sat Feb 15 14:30:05 CET 2020


Hey Stanislav,

On Fri, Feb 14, 2020 at 11:32:56PM +0000, Stanislav Stratiev wrote:
> Hello,
> 
> I already posed this question on the IRC but I didn't stay online to receive
> a reply so I thought that e-mail is a better option for my IRC
> inconsistency.
> 
> Here is the error I received:
> 
> http://paste.the-compiler.org/index.php/view/9b4f635f
> 
> qutebrowser doesn't start at all.

I think there are two things going on here at once, and qutebrowser's error
handling is a bit confusing.

1) Your config.py is (or was) invalid.
2) Your ~/.local/share/qutebrowser/state file is corrupted, in a way that's not
   properly handled by qutebrowser.

For 1), it looks like you don't see any traceback. Coincidentally, I fixed this
a couple of days ago:
https://github.com/qutebrowser/qutebrowser/commit/63d562ed48d7cf7111a7343bdf582847984f286e

For 2), you see a traceback in the terminal (i.e. qutebrowser crashed, but
before its crash handler was initialized). I fixed the error handling for that
case:
https://github.com/qutebrowser/qutebrowser/commit/e6ff446577e062af34e58e5655cf2d06d4b8cc68

With v1.10.1 (which was just released), you should get a proper graphical error.

> I would be very happy if you can help me out.

Can you take a look at how ~/.local/share/qutebrowser/state looks? There isn't
much important information in there (only things like whether the quickstart
page was shown). However, it'd be good if you can share the corrupted file
before deleting it - perhaps there's some hint in there about how this could
have happened.

After you move that file away, qutebrowser should hopefully start fine again.

Florian

-- 
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/qutebrowser/attachments/20200215/64acd9c0/attachment.asc>


More information about the qutebrowser mailing list