Issue #1292 resolved

Jython Import Error for fcntl module

Anonymous created an issue

The recent versions of CherryPy (3.2.3 onwards) no longer work with Jython. We get the following error:

>>> import cherrypy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cherrypy\__init__.py", line 62, in <module>
    from cherrypy._cpcompat import urljoin as _urljoin, urlencode as _urlencode
  File "cherrypy\_cpcompat.py", line 351, in <module>
    import cherrypy._cpcompat_subprocess as subprocess
  File "cherrypy\_cpcompat_subprocess.py", line 436, in <module>
    import fcntl
ImportError: No module named fcntl

Versions prior to 3.2.3 work just fine.

Comments (2)

  1. Log in to comment