python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.29k stars 582 forks source link

404 Error Even on Examples #642

Open GBry opened 1 year ago

GBry commented 1 year ago

Eel version 0.15

Describe the bug Starting Eel produces the not found error (404)

To Reproduce Just try the example, it won't even work.

Expected behavior Served a page

Screenshots

Desktop (please complete the following information):

Additional context I used Eel before, so I know that was not the supposed behavior. Please advise.

dstricks commented 1 year ago

Hi @GBry, I wasn't able to reproduce this error. I'm wondering what may be different with my system from yours. I used Windows 10 x64, Chrome 108.0.5359.99 (Official Build) (64-bit) and Python 3.7.9 (Python.org distribution).

Here are the steps that I took:

  1. Checked out a fresh eel repo
  2. Created a fresh venv (again, using Python 3.7.9) and activated it
  3. Used pip to install eel (without any version specified)
  4. cd to examples\01 - hello_word and then used "python hello.py" to start

It did exactly what I would expect... displayed window with "Hello, World!" and wrote "Hello from Python World!" and "Hello from Javascript World!" in the console.

I wonder if you'd be willing to try the same steps that I took and report back? If it works using a fresh venv and the steps above, then maybe you can see what other differences there could be (such as a Python lib difference).

I need more information on this before I can make any additional progress.

GBry commented 1 year ago

Does not work either, I tried:

  1. Using the installed python (in C:)
  2. Creating a venv, installed just eel in there

I will try using another system, there might be because of my hosts file that I modified a few months ago. I will update this on Monday (GMT+7) @dstricks

GBry commented 1 year ago

I have tried using a new venv on another system.. same results. Can I send you some logs to help troubleshoot the issue?

dstricks commented 1 year ago

@GBry yes please. You can reach me at python-eel@protonmail.com.

What version of Python are you using?