Message9765
Observed on Windows 7 in Jython 2.7rc2:
...
modjy
FAIL
======================================================================
FAIL: test_all (__main__.AllTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\jython\2.7rc2\Lib\test\test___all__.py", line 107, in test_all
self.check_all(modname)
File "C:\jython\2.7rc2\Lib\test\test___all__.py", line 107, in test_all
self.check_all(modname)
File "C:\jython\2.7rc2\Lib\test\test___all__.py", line 42, in check_all
self.fail("__all__ failure in {}: {}: {}".format(
AssertionError: __all__ failure in modjy: ImportError: cannot import name ServletException
----------------------------------------------------------------------
> jython
Jython 2.7rc2 (default:913eec7f2e60, Apr 3 2015, 17:13:45)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_60
Type "help", "copyright", "credits" or "license" for more information.
...
>>> from modjy import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\jython\2.7rc2\Lib\modjy\modjy.py", line 30, in <module>
from modjy_exceptions import *
File "C:\jython\2.7rc2\Lib\modjy\modjy_exceptions.py", line 27, in <module>
from javax.servlet import ServletException
ImportError: cannot import name ServletException
...
>>> import javax.servlet
>>> dir(javax.servlet)
['__name__', 'http']
It looks like maybe a missing JAR, however, the class is in servlet-api-2.5.jar, which is present, but I can't find a corresponding .pkc cache anywhere related. |
|
Date |
User |
Action |
Args |
2015-04-06 18:56:28 | jeff.allen | set | recipients:
+ jeff.allen |
2015-04-06 18:56:28 | jeff.allen | set | messageid: <1428346588.04.0.159654433635.issue2308@psf.upfronthosting.co.za> |
2015-04-06 18:56:27 | jeff.allen | link | issue2308 messages |
2015-04-06 18:56:27 | jeff.allen | create | |
|