Bugs item #904322, was opened at 2004-02-25 16:08
Message generated for change (Settings changed) made by fwierzbicki
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112867&aid=904322&group_id=12867
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Jythonc compiler
>Group: Deferred
Status: Open
Resolution: None
Priority: 9
Submitted By: Raghuram Devarakonda (draghuram)
Assigned to: Nobody/Anonymous (nobody)
Summary: stack traces always show line number as 0
Initial Comment:
Since I bundled my jython files as JAR using jythonc, the
stack traces show the line number as 0. If I use the
jython files themselves, there is no such problem.
Needless to say, this problem makes debugging difficult
I run jythonc without any options.
$ jythonc *.py
I didn't have any problems functionally, though.
----------------------------------------------------------------------
Comment By: Khalid Zuberi (kzuberi)
Date: 2005-11-21 23:06
Message:
Logged In: YES
user_id=18288
Minor note: the lambda case described by alain_tesio appears
to be already fixed in 2.2a1.
However the absense of line numbers when using jythonc remains.
- kz
----------------------------------------------------------------------
Comment By: Alain Tesio (alain_tesio)
Date: 2004-09-28 22:04
Message:
Logged In: YES
user_id=13893
I have the same problems with exceptions raised in lambda
functions, python 2.1 has the line number, jython shows 0
def f(x):
raise ValueError
print (lambda x:f(x))(1)
00:01:52 alain ~ $jython /tmp/test.py
Traceback (innermost last):
File "/tmp/test.py", line 4, in ?
File "/tmp/test.py", line 0, in <lambda>
File "/tmp/test.py", line 2, in f
ValueError:
00:02:06 alain ~ $python2.1 /tmp/test.py
Traceback (most recent call last):
File "/tmp/test.py", line 4, in ?
print (lambda x:f(x))(1)
File "/tmp/test.py", line 4, in <lambda>
print (lambda x:f(x))(1)
File "/tmp/test.py", line 2, in f
raise ValueError
ValueError
----------------------------------------------------------------------
Comment By: Raghuram Devarakonda (draghuram)
Date: 2004-03-05 00:41
Message:
Logged In: YES
user_id=984087
the version of jython I use is 2.1.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112867&aid=904322&group_id=12867
|