Issue2384

classification
Title: Porting from 2.5.2 to 2.7 -> None: No module named __main__
Type: behaviour Severity: major
Components: Core Versions: Jython 2.7
Milestone: Jython 2.7.0
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: kensingtoncat
Priority: Keywords:

Created on 2015-08-26.14:28:02 by kensingtoncat, last changed 2015-10-07.11:20:57 by darjus.

Messages
msg10178 (view) Author: alan ross (kensingtoncat) Date: 2015-08-26.14:28:01
building using adding python code to Lib directory.
just switched the java jre  to jre7 
but getting error message None: No module named __main__

invoke __run__.py  using:
C:"\Program Files\Java\jre7\bin\java" -cp Q:\jar\jyteam_preview.jar;Q:\jar\jcalendar.jar;Q:\jar\jyteamlib\pdfview.jar;Q:\jar\jyteamlib\lablib_checkboxtree.jar;Q:\jar\jyteamlib\jfreechart.jar;Q:\jar\jyteamlib\jcommon.jar;\\Win\Oracle\product\11.2.0\client_1\jdbc\lib\ojdbc5.jar org.python.util.jython -jar Q:\jar\jyteam_preview.jar
msg10190 (view) Author: alan ross (kensingtoncat) Date: 2015-09-01.15:03:58
no problem now.  creating __main__.py  takes care of my issue
History
Date User Action Args
2015-10-07 11:20:57darjussetstatus: open -> closed
resolution: invalid
2015-09-01 15:03:58kensingtoncatsetmessages: + msg10190
2015-08-26 14:28:03kensingtoncatcreate