Issue605184

classification
Title: jast.Statement not packaged --deep
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, mattbehrens
Priority: low Keywords:

Created on 2002-09-05.18:19:36 by mattbehrens, last changed 2009-03-13.23:22:27 by fwierzbicki.

Messages
msg717 (view) Author: Matt Behrens (mattbehrens) Date: 2002-09-05.18:19:36
Given:

$ jython -Dpython.path=$(JYTHONHOME)/Tools
$(JYTHONHOME)/Tools/jythonc/jythonc.py --all --deep
--package com.bakerfurniture.jyant --jar jyant.jar jyant.py

with jyant.py as follows:

from jythonc import main
main.main()

We get:

[nye jyant]$ java -jar jyant.jar
Exception in thread "main" Traceback (innermost last):
  File "/home/b14741/tmp/jyant/jyant.py", line 0, in main
  File
"/home/b14741/opt/jython-2.1/Tools/jythonc/jythonc.py",
line 0, in main
  File
"/home/b14741/opt/jython-2.1/Tools/jythonc/main.py",
line 0, in main
  File
"/home/b14741/opt/jython-2.1/Tools/jythonc/compile.py",
line 0, in main
  File
"/home/b14741/opt/jython-2.1/Tools/jythonc/SimpleCompiler.py",
line 0, in main
  File
"/home/b14741/opt/jython-2.1/Tools/jythonc/BaseEvaluator.py",
line 0, in main
  File
"/home/b14741/opt/jython-2.1/Tools/jythonc/jast/__init__.py",
line 0, in main
ImportError: no module named Statement

I tried to reduce this case to something more easily
testable and was unable to.  Statement is never even
looked at.
msg718 (view) Author: Matt Behrens (mattbehrens) Date: 2002-09-05.19:13:32
Logged In: YES 
user_id=240525

I should add that it's only possible to get this far after
applying the workaround in
https://sourceforge.net/tracker/?func=detail&aid=605098&group_id=12867&atid=112867
msg719 (view) Author: Matt Behrens (mattbehrens) Date: 2002-09-11.12:33:21
Logged In: YES 
user_id=240525

It appears to be possible to work around this by
cut-and-pasting the contents of Statement.py into
__init__.py in the jast directory.
msg4259 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-13.23:22:27
jythonc is no longer maintained.
History
Date User Action Args
2009-03-13 23:22:27fwierzbickisetstatus: open -> closed
resolution: wont fix
messages: + msg4259
nosy: + fwierzbicki
2002-09-05 18:19:36mattbehrenscreate