This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Thrameos
Recipients Thrameos, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-12-10.21:23:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607635393.35.0.189530077543.issue42529@roundup.psfhosted.org>
In-reply-to
Content
I managed to get the debugger attached (unfortunately I am not a windows programmer so I don't use these tools). 

It appears when loading from a pyc, it is attempting to open the directory as a Zip file which is throwing an exception resulting in a failure to load the internal _jpype module.   

Unfortunately this is outside my area as nothing in jpype nor _jpype is calling the zipimport module.  So it must be something internal to Python.  It is a major issue as I can't release to anaconda on windows until I can resolve the problem.   Can you direct me how to proceed?

Details:

zipimport.ZipImportError
  Message=not a Zip file
  StackTrace:
<frozen zipimport>:88 in __init__

Replicating the problem is simple.   Download jpype from git, use "python setup.py develop" to create the module, run python -c  "import jpype", and repeat python -c "import jpype"

Screen shot of the visual studio error is shown.
History
Date User Action Args
2020-12-10 21:23:13Thrameossetrecipients: + Thrameos, paul.moore, tim.golden, zach.ware, steve.dower
2020-12-10 21:23:13Thrameossetmessageid: <1607635393.35.0.189530077543.issue42529@roundup.psfhosted.org>
2020-12-10 21:23:13Thrameoslinkissue42529 messages
2020-12-10 21:23:13Thrameoscreate