Plugin conflict when using bean-web and beancount 2.3.6

113 views
Skip to first unread message

U K

unread,
Sep 24, 2024, 8:37:25 PM9/24/24
to Beancount
I'm a newbie and trying to get start with beancount v2.
I get the following error when trying to run bean-web, curious if anyone has run into it and knows how to address it.
I get no errors when starting bean-web on my file, but as soon as I point my browser at localhost:8080, my terminal spits out this error:

INFO    : Reloading...

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bottle.py", line 994, in _handle

    out = route.call(**args)

  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bottle.py", line 2024, in wrapper

    rv = callback(*a, **ka)

  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/beancount/web/web.py", line 1047, in wrapper

    app.options = options_map

  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bottle.py", line 1143, in __setattr__

    raise AttributeError("Attribute %s already defined. Plugin conflict?" % name)

AttributeError: Attribute options already defined. Plugin conflict?

127.0.0.1 - - [24/Sep/2024 17:32:57] "GET / HTTP/1.1" 500 747

INFO    : Reloading...

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bottle.py", line 994, in _handle

    out = route.call(**args)

  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bottle.py", line 2024, in wrapper

    rv = callback(*a, **ka)

  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/beancount/web/web.py", line 1031, in wrapper

    app.source = f.read()

  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bottle.py", line 1143, in __setattr__

    raise AttributeError("Attribute %s already defined. Plugin conflict?" % name)

AttributeError: Attribute source already defined. Plugin conflict?

127.0.0.1 - - [24/Sep/2024 17:32:57] "GET /favicon.ico HTTP/1.1" 500 758


Thanks!

Red S

unread,
Sep 24, 2024, 9:07:08 PM9/24/24
to Beancount
bean-web has been [long deprecated](https://groups.google.com/g/beancount/c/7NUOI3HafXc/m/bWb4KDQaAQAJ). I don't even know if it's being maintained. [Fava](https://github.com/beancount/fava) is probably what you are looking for.

U K

unread,
Sep 24, 2024, 9:40:42 PM9/24/24
to Beancount
Thanks. I was following the tutorial in the documentation, which I thought was up-to-date for beancount v2.

I will try fava, thanks for the pointer.

Red S

unread,
Sep 26, 2024, 12:32:28 AM9/26/24
to Beancount

Indeed, this section seems like it could use an update. I’ll see if I can help get it updated. Welcome, BTW!

Reply all
Reply to author
Forward
0 new messages