Message9983

Author adamburke
Recipients adamburke
Date 2015-04-29.06:27:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430288859.08.0.742058711848.issue2346@psf.upfronthosting.co.za>
In-reply-to
Content
Jython.exe didn't work for me after install with Jython 2.7.0. Installer seemed to run fine. It looks like there are stray references to a specific machine path z drive? Is jython.exe supposed to be in the build, or not supposed to be invoked directly? 

This is the "final soft launch" 2.7.0 version.

java -jar jython.jar seemed to work ok

--
Windows 7 Enterprise SP1

C:\Working\tools\jython2.7.0\bin>dir
 Volume in drive C is OSDisk
 Volume Serial Number is 1AA0-CF05

 Directory of C:\Working\tools\jython2.7.0\bin

04/29/2015  01:50 PM    <DIR>          .
04/29/2015  01:50 PM    <DIR>          ..
04/29/2015  02:25 AM         1,236,153 jython.exe
04/29/2015  02:25 AM         2,459,136 python27.dll
               2 File(s)      3,695,289 bytes
               2 Dir(s)  105,643,765,760 bytes free

C:\Working\tools\jython2.7.0\bin>jython
Traceback (most recent call last):
  File "<string>", line 444, in <module>
  File "<string>", line 435, in main
  File "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess",
line 522, in call
  File "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess",
line 710, in __init__
  File "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess",
line 958, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified

C:\Working\tools\jython2.7.0\bin>



C:\Working\tools\jython2.7.0>java -jar jython.jar Lib\test\testall.py
Traceback (most recent call last):
  File "Lib\test\testall.py", line 8, in <module>
    import sys, regrtest
  File "C:\Working\tools\jython2.7.0\Lib\test\regrtest.py", line 1344, in <modul
e>
    if ' ' in sys.executable:
TypeError: 'NoneType' object is not iterable

C:\Working\tools\jython2.7.0>java -jar jython.jar
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_65
Type "help", "copyright", "credits" or "license" for more information.
>>> print 'hello'
hello
>>> def fib(n):
...     if n == 1:
...
...
...       return 1
...     return n+fib(n-1)
...
>>> fib(3)
6
>>> fib(7)
28
>>>
>>>
C:\Working\tools\jython2.7.0>
History
Date User Action Args
2015-04-29 06:27:39adamburkesetmessageid: <1430288859.08.0.742058711848.issue2346@psf.upfronthosting.co.za>
2015-04-29 06:27:39adamburkesetrecipients: + adamburke
2015-04-29 06:27:38adamburkelinkissue2346 messages
2015-04-29 06:27:38adamburkecreate