Comments (5)
i have the same error message.
looks like for some reason the following fails: https://github.com/beancount/fava/blob/master/fava/init.py
`from pkg_resources import get_distribution, DistributionNotFound
try:
version = get_distribution(name).version
except DistributionNotFound:
# package is not installed
pass`
from fava-docker.
I spent some time trying to debug this issue to no avail :-(
I'll keep this open for now.
from fava-docker.
I am getting a similar but slightly different error, and I can't get it to work at all.
# docker run yegle/fava
Traceback (most recent call last):
File "/usr/local/bin/fava", line 7, in <module>
from fava.cli import main
File "/usr/local/lib/python3.6/site-packages/fava/cli.py", line 10, in <module>
from fava.application import app
File "/usr/local/lib/python3.6/site-packages/fava/application.py", line 42, in <module>
from fava.core import FavaLedger
File "/usr/local/lib/python3.6/site-packages/fava/core/__init__.py", line 37, in <module>
from fava.core.ingest import IngestModule
File "/usr/local/lib/python3.6/site-packages/fava/core/ingest.py", line 11, in <module>
from beancount.ingest import cache
File "/usr/local/lib/python3.6/site-packages/beancount/ingest/__init__.py", line 13, in <module>
import pytest
File "/usr/local/lib/python3.6/site-packages/pytest.py", line 7, in <module>
from _pytest.assertion import register_assert_rewrite
File "/usr/local/lib/python3.6/site-packages/_pytest/assertion/__init__.py", line 12, in <module>
from _pytest.assertion import rewrite
File "/usr/local/lib/python3.6/site-packages/_pytest/assertion/rewrite.py", line 23, in <module>
from _pytest.assertion import util
File "/usr/local/lib/python3.6/site-packages/_pytest/assertion/util.py", line 10, in <module>
import _pytest._code
File "/usr/local/lib/python3.6/site-packages/_pytest/_code/__init__.py", line 6, in <module>
from .code import Code # noqa
File "/usr/local/lib/python3.6/site-packages/_pytest/_code/code.py", line 14, in <module>
import pluggy
File "/usr/local/lib/python3.6/site-packages/pluggy/__init__.py", line 16, in <module>
from .manager import PluginManager, PluginValidationError
File "/usr/local/lib/python3.6/site-packages/pluggy/manager.py", line 6, in <module>
import importlib_metadata
File "/usr/local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 466, in <module>
__version__ = version(__name__)
File "/usr/local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 433, in version
return distribution(package).version
File "/usr/local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 406, in distribution
return Distribution.from_name(package)
File "/usr/local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 180, in from_name
raise PackageNotFoundError(name)
importlib_metadata.PackageNotFoundError: importlib_metadata
from fava-docker.
@yegle dropping the RUN find /usr/local/lib/python${PV} -name '*.dist-info' -exec rm -rf -v {} +
line from the dockerfile "fixes" importlib_metadata
- but dont ask me why ;D
Then the container works 👍
from fava-docker.
Thanks for the hint! Not sure why but tested and works.
I pushed a new version to Docker Hub. I should really build images in a reproducible way so that people can use old images while the latest one is broken...
from fava-docker.
Related Issues (18)
- Fava in Docker Image - /static/gen CSS and JS not found HOT 5
- Pybabel is missing HOT 4
- Change showCharts keyboard shorcut default: "Control+c" HOT 1
- how can I work with another main.bean files HOT 1
- Supporting extensions HOT 2
- v1.24 not available on Docker Hub HOT 2
- Regarding the issue of calling third-party plugins HOT 1
- Include beanprice HOT 2
- language setting do not take effect HOT 7
- Failing with Multiple Beancount files HOT 1
- Image build is failing due to recursive `require-hashes` HOT 4
- Language selection not working HOT 1
- No fava-plugins package HOT 4
- Fava not starting. HOT 7
- Feature Request: Support ARM HOT 19
- My hooks are failing because git binary can't be located HOT 7
- Container does not work without --port 5000:5000 option HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fava-docker.