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

the top toolbar and the left-side menu disappear. #1622

Closed
shichao402 opened this issue Jun 3, 2023 · 5 comments
Closed

the top toolbar and the left-side menu disappear. #1622

shichao402 opened this issue Jun 3, 2023 · 5 comments
Labels
bug-external platform:windows Issues related to using Fava on Windows

Comments

@shichao402
Copy link

When I run Fava, the top toolbar and the left-side menu disappear.
image

windwos 11, pure reinstall python 3.9
i install fava via "pip3 install fava"
then
`D:>bean-example > test.bean
INFO : Generating Salary Employment Income
INFO : Generating Expenses from Banking Accounts
INFO : Generating Regular Expenses via Credit Card
INFO : Generating Credit Card Expenses for Trips
INFO : Generating Credit Card Payment Entries
INFO : Generating Tax Filings and Payments
INFO : Generating Opening of Banking Accounts
INFO : Generating Transfers to Investment Account
INFO : Generating Prices
INFO : Generating Employer Match Contribution
INFO : Generating Retirement Investments
INFO : Generating Taxes Investments
INFO : Generating Expense Accounts
INFO : Generating Equity Accounts
INFO : Generating Balance Checks
INFO : Outputting and Formatting Entries
INFO : Contextualizing to Realistic Names
INFO : Writing contents
INFO : Validating Results

D:>fava test.bean -d
Starting Fava on http://127.0.0.1:5000

  • Serving Flask app 'fava.application'
  • Debug mode: on
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on http://127.0.0.1:5000
    Press CTRL+C to quit
  • Restarting with stat
    Starting Fava on http://127.0.0.1:5000
  • Debugger is active!
  • Debugger PIN: 109-750-056
    127.0.0.1 - - [03/Jun/2023 18:47:35] "GET / HTTP/1.1" 302 -
    127.0.0.1 - - [03/Jun/2023 18:47:35] "GET /example-beancount-file/income_statement/ HTTP/1.1" 200 -
    127.0.0.1 - - [03/Jun/2023 18:47:36] "GET /static/app.js?mtime=1685788901 HTTP/1.1" 304 -
    127.0.0.1 - - [03/Jun/2023 18:47:36] "GET /static/app.css?mtime=1685788901 HTTP/1.1" 304 -
    127.0.0.1 - - [03/Jun/2023 18:47:36] "GET /static/fira-mono-latin-400-normal-JUOXJG4X.woff2 HTTP/1.1" 304 -
    127.0.0.1 - - [03/Jun/2023 18:47:36] "GET /static/fira-sans-latin-400-normal-BVHR5GIK.woff2 HTTP/1.1" 304 -`

What could be the issue, and did I miss something?

@shichao402
Copy link
Author

I tried Fava 2.3.1 and the display is normal, but there are no input fields in the top right corner. I'm not sure if it's because this version doesn't have them or for some other reason.

@yagebu
Copy link
Member

yagebu commented Jun 6, 2023

The header and the sidebar are rendered in the frontend, so it looks like there is some error in the Javascript part that stops them from being rendered - what does the browser console show?

@shichao402
Copy link
Author

image
I have disabled all the extension plugins in Chrome.
and i checked the console and indeed saw errors in app.js. Do you have any thoughts on this?

@yagebu
Copy link
Member

yagebu commented Jun 10, 2023

I believe this might be the same as #1446 (invalid system configuration causing the Javascript file to be served with the wrong mimetype), see #1446 (comment) for how this can be fixed.

@yagebu yagebu added platform:windows Issues related to using Fava on Windows bug-external labels Jun 10, 2023
@shichao402
Copy link
Author

Thank you, I modified the registry, cleared the browser cache, and restarted the computer, and now the display is normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-external platform:windows Issues related to using Fava on Windows
Projects
None yet
Development

No branches or pull requests

2 participants