ManimCommunity / manim_editor

Web Presenter for Mathematical Animations using Manim.
https://docs.editor.manim.community
MIT License
257 stars 12 forks source link

Problem with exporting the file #85

Closed Arkit-Ray closed 2 years ago

Arkit-Ray commented 2 years ago

After I press the export presentation button on the localhost webpage, and then run the command 'python3 -m http.server' in the directory, the webpage does not pop up and if I open the server link then it says that the Site cannot be reached. I am requesting for a more guided tutorial/explanation for how to export and view the file.

christopher-besch commented 2 years ago

A better tutorial would indeed be helpful. You have to run the python3 -m http.server command inside the project directory (the folder with the name of your project in the current working directory). Then you should be able to open the presented link in your browser. If that fails, could you send me a screenshot of the content of the project folder?

Arkit-Ray commented 2 years ago

I tried the command, it starts the server but I cannot access it. Here is the screenshot noname 26-01-2022 22_14_23

christopher-besch commented 2 years ago

This looks fine, the Manim Editor did it's job. Though the browser can't access the server. This is probably an issue with your http.server or some firewall of sorts. Could you send me the terminal output of python3 -m http.server and the error message of the browser, please?

Arkit-Ray commented 2 years ago

The browser does not pop up with the site but when I copy past the server it shows the following Screenshot (75) Screenshot (76) :

naveen521kk commented 2 years ago

Oh use https://localhost:8000, it should work I guess

Arkit-Ray commented 2 years ago

still not working

naveen521kk commented 2 years ago

how about http://0.0.0.0:8000

Arkit-Ray commented 2 years ago

No still not working

Arkit-Ray commented 2 years ago

nvm, it worked finally, I just had to put in HTTP instead of HTTPS because the local host cannot run a secure connection