Message4050
I can reproduce that error over here as well. I don't seem to have an
old jython.jar in my classpath.
---
Jython 2.5b1 (trunk:5903:5905, Jan 9 2009, 16:01:29)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_07
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> for p in os.getenv("CLASSPATH").split(";"):
... print p
...
.
.\ASEP\3pclass.zip
.\ASEP\Monclass.zip
c:\dev\jtds\jtds-1.2.2.jar
c:\dev\cpprepo\jython\db\lib\commons-dbcp-1.2.2.jar
c:\dev\cpprepo\jython\db\lib\commons-pool-1.4.jar
>>> print os.getenv("PYTHONPATH")
None
>>> print os.getenv("JYTHONPATH")
None
>>> from os import _to_timeval
>>> _to_timeval(10)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\jython2.5b1\Lib\os.py", line 574, in _to_timeval
from org.jruby.ext.posix.util import Platform
ImportError: No module named jruby
>>> |
|
Date |
User |
Action |
Args |
2009-01-16 15:06:01 | crankycoder | set | messageid: <1232118361.59.0.494055441718.issue1236@psf.upfronthosting.co.za> |
2009-01-16 15:06:01 | crankycoder | set | recipients:
+ crankycoder, mlevalle |
2009-01-16 15:06:01 | crankycoder | link | issue1236 messages |
2009-01-16 15:06:00 | crankycoder | create | |
|