how can I work with another main.bean files
Hello developers
I am working well with yegle/fava-docker with A.main.bean untill I am trying to open another main.bean ,lets call B.main.bean
it seems yegle/fava-docker dont support such feathers
I also tried deploy two another docker image with different ports ,-p 5001:5000, but things wont fly either
it returns
Exception on /favicon.ico [GET]
Traceback (most recent call last):
File "/app/lib/python3.9/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/app/lib/python3.9/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/app/lib/python3.9/site-packages/flask/app.py", line 1818, in full_dispatch_request
rv = self.preprocess_request()
File "/app/lib/python3.9/site-packages/flask/app.py", line 2304, in preprocess_request
url_func(request.endpoint, request.view_args)
File "/app/lib/python3.9/site-packages/fava/application.py", line 266, in _pull_beancount_file
_load_file()
File "/app/lib/python3.9/site-packages/fava/application.py", line 132, in _load_file
ledgers = [
File "/app/lib/python3.9/site-packages/fava/application.py", line 133, in
FavaLedger(filepath) for filepath in app.config["BEANCOUNT_FILES"]
File "/app/lib/python3.9/site-packages/fava/core/init.py", line 320, in init
self.load_file()
File "/app/lib/python3.9/site-packages/fava/core/init.py", line 327, in load_file
self.all_entries, self.errors, self.options = _load(
File "/app/lib/python3.9/site-packages/beancount/loader.py", line 501, in _load
entries, parse_errors, options_map = _parse_recursive(
File "/app/lib/python3.9/site-packages/beancount/loader.py", line 371, in _parse_recursive
assert path.isabs(source)
AssertionError
Works fine for me. Based on the error you're getting, the assertion path.isabs failing, you're probably not specifying an absolute path under BEANCOUNT_FILE, e.g. you're doing BEANCOUNT_FILE=A.main.bean instead of BEANCOUNT_FILE=/bean/A.main.bean like the example shows.