From: Isaiah P. <is...@gm...> - 2018-01-04 18:13:23
|
Hi Jeff, That's not the problem that affects windows, i think on windows it requires the `winreg` module, which is not implemented. The `_frozen_importlib` is not normal blobs, it's the equivalent of cpython frozen module, which is the compiled code of the `importlib/_bootstrap` and `importlib/_bootstrap_external`, it's need to bootstrap the import machinery. The problem here is that it should use ClassLoader.getResourceAsStream to read the class file instead of using a hardcoded file reader. Cheers, Isaiah On Thu, 4 Jan 2018 at 19:02 Jeff Allen <ja...@fa...> wrote: > Hi Isaiah. > > Since that module stops Jython 3 running on Windows, it would be good to > have a little account of how to build it from source. There's a section in > the developer guide intended for that. ( > http://jython-devguide.readthedocs.io/en/jython/setup_jy.html#manually-regenerated-files > ) > > Generally we'd like to reduce/eliminate checked in blobs, but that's a > longer work. > Jeff > > Jeff Allen > > On 04/01/2018 10:00, Isaiah Peng wrote: > > The file is actually there, but since it uses relative path, you have to > execute the command with "dist/bin/jython". Hope it helps. > > On Thu, 4 Jan 2018 at 10:48 Isaiah Peng <is...@gm...> wrote: > >> Hi Patrick, >> >> That's my fault, I forgot to commit the "frozen" module, also the path is >> hardcoded, but will handle that later. >> Will let you know when I have a fix. >> >> Regards, >> Isaiah >> >> > |