Error: 404 Not Found
See original GitHub issueHey ya, I know this issue has probably been dealt with before, however I can’t find any proper workarounds to it.
I am getting this message: `Error: 404 Not Found Sorry, the requested URL ‘http://localhost:8000/main.html’ caused an error:
File does not exist.`
Everytime I run a test eel project. First I had issues with Python displaying a osError because some other program was using port 8000. After I killed that task to leave that port free for eel, it only showed me the message you can see above.
Here’s the code:
eeltest.py `import eel
eel.init(‘web’) eel.start(‘main.html’)`
main.html
<p>Hola</p>
Any help will be very appreciated in advance.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17
Top Results From Across the Web
Error 404 not found - What does it mean & how to fix it! - IONOS
Something along the lines of '404 Not Found'. A 404 error is the standardized HTTP status code. The message is sent from the...
Read more >404 Page Not Found Error: What It Is and How to Fix It - Lifewire
A 404 error is an HTTP status code that means that the page you were trying to reach on a website couldn't be...
Read more >HTTP 404 - Wikipedia
In computer network communications, the HTTP 404, 404 not found, 404, 404 error, page not found or file not found error message is...
Read more >How to Fix Error 404 Not Found on Your WordPress Site - Kinsta
The 404 (Not Found) status code indicates that the origin server did not find a current representation for the target resource or is...
Read more >What Does Error 404 Not Found Mean? - Semrush
What Are 404 Errors? ... A 404 error is when a website's server can't find the page you're trying to access via a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I already had have the same problem and i was be able to solved. The way i’ve solved is just change the line:
eel.init('web')
to the absolute path, like
eel.init('C:/.../web')
where my web folder isI hope that helps!
I found out the solution, kill all the processes running on that port. I didn’t get any error because it crashed on startup.
Anyone who is stuck here, the fix is:
fuser -k [port_name]/tcp
.This is not related to the cache as mentioned above, I tried clearing the cache as well keeping the cache.