python-2.7esky

Esky, no frozen versions found


Just following an online tutorial to get a grasp of Esky.
tutorial here - at correct timestamp

I can get the "factorial.py" file to run, without Esky - that's basic. Building the exe, in both py2exe and esky form, easy enough.

However, when running the factorial.py (or .exe) with the new Esky lines included, fails, code below

Traceback (most recent call last):
  File "factorial.py", line 4, in <module>
    app = esky.Esky(sys.executable, "http://localhost:8000")
  File "C:\Python27\lib\site-packages\esky\__init__.py", line 249, in __init__
    self.reinitialize()
  File "C:\Python27\lib\site-packages\esky\__init__.py", line 317, in reinitialize
    raise EskyBrokenError("no frozen versions found")
esky.errors.EskyBrokenError: no frozen versions found

I've got the Esky .zip file on a localhost HTTP server, as the demo does, and I can navigate to it through a browser.

Note:
I'm on Python2.7
I've written the code, letter for letter, as the lecturer does

All help appreciated


Solution

  • Your best bet would be to try cx freeze, it solved my issues as well. It also has the benefits of being cross platform.

    Unfortunately Esky is not being actively developed for almost 5 years now, so it needs some love.

    Also check windows firewall / antivirus programs are not blocking the port/program.