From: Anthony K. <Ant...@ma...> - 2009-03-09 06:49:01
|
It may be related to the "importing non-standard lib" problem being discussed on the list eariler... I tried to run grinder analyser v2b9 with jython 2.5b2 (Since I am using cygwin, the path is unix-ish) ===================== $ /opt/jython2.5b2/bin/jython.bat run.py "C:\apps\cygwin\home\akong\dev\workspace\FLP-1611\utils\stress_test\test suite s\log.testcase_home\data_AA053882-0.log" "C:\apps\cygwin\home\akong\dev\workspace\FLP-1611\utils\stress_test\test suites \log.testcase_home\out_AA053882-0.log" Traceback (most recent call last): File "run.py", line 62, in <module> import analyzer File "C:\opt\grinderAnalyzer.V2.b9\analyzer.py", line 35, in <module> from org.jfree.chart import * ImportError: No module named jfree ===================== Jython 2.2 works fine. (with -v turned on) ===================== $ /opt/jython2.5b2/bin/jython.bat -v run.py "C:\apps\cygwin\home\akong\dev\workspace\FLP-1611\utils\stress_test\test sui tes\log.testcase_home\data_AA053882-0.log" "C:\apps\cygwin\home\akong\dev\workspace\FLP-1611\utils\stress_test\test suit es\log.testcase_home\out_AA053882-0.log" import: 'exceptions' as org.python.core.exceptions in builtin modules import: import site # precompiled from C:\opt\jython2.5b2\Lib\site$py.class import: 'sys' as sys in builtin modules import: import os # precompiled from C:\opt\jython2.5b2\Lib\os$py.class import: 'errno' as org.python.modules.errno in builtin modules import: 'jarray' as org.python.modules.jarray in builtin modules import: 'java' as java package import: 'System' as java class import: 'time' as org.python.modules.time.Time in builtin modules import: import stat # precompiled from C:\opt\jython2.5b2\Lib\stat$py.class import: 'File' as java class import: 'org' as java package import: 'FileDescriptors' as java class import: 'FileIO' as java class import: 'IOBase' as java class import: 'Py' as java class import: 'Errno' as java class import: 'JavaPOSIX' as java class import: 'POSIXHandler' as java class import: 'POSIXFactory' as java class import: import ntpath # precompiled from C:\opt\jython2.5b2\Lib\ntpath$py.class import: import UserDict # precompiled from C:\opt\jython2.5b2\Lib\UserDict$py.class import: 'SecureRandom' as java class import: 'FileDescriptor' as java class import: import analyzer # precompiled from C:\opt\grinderAnalyzer.V2.b9\analyzer$py.class import: import shutil # precompiled from C:\opt\jython2.5b2\Lib\shutil$py.class import: import FileUtils # precompiled from C:\opt\grinderAnalyzer.V2.b9\FileUtils$py.class Traceback (most recent call last): File "run.py", line 62, in <module> import analyzer File "C:\opt\grinderAnalyzer.V2.b9\analyzer.py", line 35, in <module> from org.jfree.chart import * ImportError: No module named jfree ===================== To make sure it is not a cygwin problem, I tried it in command prompt. Same error. Cheers, Anthony -----Original Message----- From: Frank Wierzbicki [mailto:fwi...@gm...] Sent: Sunday, 8 March 2009 5:51 AM To: Jython Users; pyt...@py... Subject: [Jython-users] Jython 2.5 beta 2 Released On behalf of the Jython development team, I'm pleased to announce that Jython 2.5b2 is available for download here: http://downloads.sourceforge.net/jython/jython_installer-2.5b2.jar. See http://www.jython.org/Project/installation.html for installation instructions. Unless a severe bug is found, this will be the last beta before we start putting out release candidates. The modjy project has been pushed into the core, there have been many bugfixes. I attempted to get all of the bugfixes out of the tracker and into the NEWS file. Hopefully we can get more disciplined about change logs in the future. Note: if you have been running Jython with --verify, we have removed that option and defaulted to that classpath behavior. We now have a --boot option for the previous 2.5 classpath behavior (jython.jar gets loaded into the boot classpath). If you don't know what I'm talking about, then you probably don't need to worry about it :) This is a beta release so be careful. -Frank ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited. |