Comments (6)
There are no errors, thanks for the fix! 😀
from manim_editor.
The error occurs because you're running the Manim Editor in a directory containing files (possibly in sub-directories) that can't be opened for some reason. In your case it looks like your .PlayOnLinux
and .wine
directories are the reason. If you run the Manim Editor in a different directory, the errors should disappear.
from manim_editor.
But the Manim Editor should catch this error. I'll implement that.
from manim_editor.
I've published a new version. Could you check if that fixes it?
from manim_editor.
Thanks for the quick answer. That's the next error after the update:
Creating project 'pitzene'.
ERROR:manim_editor.app:Exception on /create_project2 [POST]
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/user/.local/lib/python3.8/site-packages/manim_editor/app/main/routes.py", line 105, in scene_selection
scenes = get_scenes()
File "/home/user/.local/lib/python3.8/site-packages/manim_editor/editor/manim_loader.py", line 57, in get_scenes
scene = get_scene(scene_index_path, len(scenes))
File "/home/user/.local/lib/python3.8/site-packages/manim_editor/editor/manim_loader.py", line 37, in get_scene
raw_sections = valid_json_load(path, get_config().SECTION_INDEX_SCHEMA)
File "/home/user/.local/lib/python3.8/site-packages/manim_editor/editor/commands.py", line 55, in valid_json_load
data = json.load(file)
File "/usr/lib/python3.8/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 1: invalid start byte
from manim_editor.
I created a new release with the fix. Could you try it?
from manim_editor.
Related Issues (20)
- Safari Warning Not Working
- Browser-Not-Supported Warning not Working on Safari
- Add Section Index as Thumbnail Overlay
- Move Working Example to Read the Docs
- Optimize Working Example Build
- Better Browser Console Logging
- Manim Editor v0.3.2 do not find css and js files HOT 3
- Manedit v0.3.3 don't take priority into account HOT 4
- Manedit don't detect projects although the directory exists HOT 9
- Update Videos in Docs and `README.md`
- Add Darkmode HOT 2
- Add Python Notebook Docs
- Add Page Linking to Multiple Projects HOT 2
- Export as iframe
- Support for `.srt` Subcaption Files
- Add Project Deletion Button HOT 4
- Problem with exporting the file HOT 9
- Can presentations combine sections rendered with both Cairo and OpenGL? HOT 2
- Install manually from git manim_editor HOT 1
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 manim_editor.