-
Notifications
You must be signed in to change notification settings - Fork 293
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 chart don't display in 1.22 #1446
Comments
I can't reproduce this. Have you force-reloaded the browser to ensure you don't have outdated cached frontend code running? Are there errors on the Javascript console? Does this also happen with a trivial sample file? If so, can you provide one? |
|
As I investigate this further, I notice I have not properly followed the build instructions, so my comments above are incorrect, because Installing the released egg using |
Closing, as no further info was provided |
I tried force-reloaded the browser and used the sample file, but didn't work, the chart can't show up in 1.22 still |
Seems like the mimetype guessing on your machine is broken. Are you on Windows by any chance? Can you check whether your registry is properly configured? see pallets/flask#1045 for more details about this |
|
What does it show for |
Edit: This was fixed by uninstalling
import mimetypes
print(mimetypes.guess_type('style.css'))
|
I am also experiencing this issue: ResolutionThe problem was resolved after changing value of the "Content Type" registry entry visible in the screenshot above to "text/javascript" and rebooting my computer. It may be necessary to reload your browser cache to fix this issue. Version information:
Other reports of this problemgolang/go#32350 |
I'm closing this issue - this seems to be a Windows problem and not a Fava issue IMHO |
thanks a lot! |
```console $ fava bcs/main.bc -p 5001 # <- python 3.12 Invalid mimetype set for '.js', overriding Starting Fava on http://127.0.0.1:5001 ``` - `mimetype` sometimes broken on windows: <python/cpython#97646> - use `text/javascript`: <beancount#1446>
(Python 3.12) hide error message: `Invalid mimetype set for '.js', overriding` - `mimetype` sometimes broken on windows: <python/cpython#97646> - use `text/javascript`: <beancount#1446> ```console $ fava bcs/main.bc -p 5001 Invalid mimetype set for '.js', overriding # <- ! Starting Fava on http://127.0.0.1:5001 ```
(Python 3.12) hide error message: `Invalid mimetype set for '.js', overriding` - `mimetype` sometimes broken on windows: <beancount#1446> - use `text/javascript`: <python/cpython#97646> ```console $ fava bcs/main.bc -p 5001 Invalid mimetype set for '.js', overriding # <- ! Starting Fava on http://127.0.0.1:5001 ```
(Python 3.12) hide error message: `Invalid mimetype set for '.js', overriding` - `mimetype` sometimes broken on windows: <#1446> - use `text/javascript`: <python/cpython#97646> ```console $ fava bcs/main.bc -p 5001 Invalid mimetype set for '.js', overriding # <- ! Starting Fava on http://127.0.0.1:5001 ```
Everything works fine in fava1.21
but when i update fava to 1.22, the chart can't display in the webpage
And i also can't see the filter option; journal content
If i reinstall fava 1.21, everything works fine( chart, filters .etc)
should i change some option to make fava 1.22 works well?
beancount version is 2.3.4
python version is 3.9.7
The text was updated successfully, but these errors were encountered: