Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No charts when building from source... #646

Closed
bserrao opened this issue Jan 21, 2018 · 3 comments
Closed

No charts when building from source... #646

bserrao opened this issue Jan 21, 2018 · 3 comments
Labels

Comments

@bserrao
Copy link

bserrao commented Jan 21, 2018

Hello,
I'm running linux Gentoo which is a src based distribution. So i was trying to make a fava package, which is easier for me to keep track of updates and depencies trough the distro package manager instead of having a mix of pip and PM packages.
I get no errors when building or running fava, but i'm unable to see the charts.
If i install fava trough pip, all dependencies are satisfied and i'm able to see the charts.
Any clue to what might be causing this behaviour?

Thanks

@adamgibbins
Copy link
Contributor

How're you building fava? This sounds like perhaps you didn't run make to generate the static assets?

@bserrao
Copy link
Author

bserrao commented Jan 21, 2018

At first i was missing that, but i got errors when running because of missing files...
i'm running make and then /usr/bin/python3.5 setup.py build

Source unpacked in /var/tmp/portage/www-apps/fava-1.6/work
>>> Preparing source in /var/tmp/portage/www-apps/fava-1.6/work/fava-1.6 ...
rm -f fava/static/package-lock.json
cd fava/static; npm install; npm run build

...

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arc
h":"any"} (current: {"os":"linux","arch":"x64"})
[..................] - : info using node@v6.11.5^M
> fava@0.0.0 build /var/tmp/portage/www-apps/fava-1.6/work/fava-1.6/fava/static
> rollup -c

javascript/main.js → gen/app.js...
created gen/app.js in 8.7s

* Running on http://localhost:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [21/Jan/2018 18:26:24] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [21/Jan/2018 18:26:24] "GET /my-personal-ledger/ HTTP/1.1" 302 -
127.0.0.1 - - [21/Jan/2018 18:26:25] "GET /my-personal-ledger/income_statement/ HTTP/1.1" 200 -
127.0.0.1 - - [21/Jan/2018 18:26:26] "GET /static/gen/app.js HTTP/1.1" 200 -
127.0.0.1 - - [21/Jan/2018 18:26:26] "GET /static/gen/style.css HTTP/1.1" 200 -
127.0.0.1 - - [21/Jan/2018 18:26:27] "GET /static/gen/d05a8f7795be2852.woff HTTP/1.1" 200 -
127.0.0.1 - - [21/Jan/2018 18:26:27] "GET /static/gen/6846a5be7c8e6f60.woff HTTP/1.1" 200 -
127.0.0.1 - - [21/Jan/2018 18:26:27] "GET /static/gen/a155641debd0b546.woff HTTP/1.1" 200 


@yagebu
Copy link
Member

yagebu commented Jan 23, 2018

It might be better to use the source dist or wheel from PyPI for a package of the latest release of Fava. With anything using Node, it's quite impossible to avoid breakage when building at a later point in my experience. Completely fixing the dependencies might avoid some of that, but I'd rather keep up-to-date continuously.

The AUR package for Fava seemed to have a similar problem: https://aur.archlinux.org/packages/fava/

@yagebu yagebu closed this as completed Feb 20, 2018
nivit added a commit to nivit/freebsd-ports that referenced this issue Dec 4, 2018
Use CHEESESHOP as master site, because the distribution
file on GitHub does not provide all necessary files.
(see beancount/fava#646 )
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Dec 4, 2018
- Use CHEESESHOP as master site, because the distribution
  file on GitHub does not provide all necessary files.
  (see beancount/fava#646 )

Changes:	https://github.com/beancount/fava/releases/tag/v1.9


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@486603 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Dec 4, 2018
- Use CHEESESHOP as master site, because the distribution
  file on GitHub does not provide all necessary files.
  (see beancount/fava#646 )

Changes:	https://github.com/beancount/fava/releases/tag/v1.9
swills pushed a commit to swills/freebsd-ports that referenced this issue Dec 4, 2018
- Use CHEESESHOP as master site, because the distribution
  file on GitHub does not provide all necessary files.
  (see beancount/fava#646 )

Changes:	https://github.com/beancount/fava/releases/tag/v1.9


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@486603 35697150-7ecd-e111-bb59-0022644237b5
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this issue Dec 5, 2018
- Use CHEESESHOP as master site, because the distribution
  file on GitHub does not provide all necessary files.
  (see beancount/fava#646 )

Changes:	https://github.com/beancount/fava/releases/tag/v1.9


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@486603 35697150-7ecd-e111-bb59-0022644237b5
svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this issue Jan 10, 2024
- Use CHEESESHOP as master site, because the distribution
  file on GitHub does not provide all necessary files.
  (see beancount/fava#646 )

Changes:	https://github.com/beancount/fava/releases/tag/v1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants