Issue904322
Created on 2004-02-25.16:08:35 by draghuram, last changed 2009-03-14.01:02:36 by fwierzbicki.
msg889 (view) |
Author: Raghuram Devarakonda (draghuram) |
Date: 2004-02-25.16:08:35 |
|
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.
|
msg890 (view) |
Author: Raghuram Devarakonda (draghuram) |
Date: 2004-03-05.00:41:37 |
|
Logged In: YES
user_id=984087
the version of jython I use is 2.1.
|
msg891 (view) |
Author: Alain Tesio (alain_tesio) |
Date: 2004-09-28.22:04:05 |
|
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
|
msg892 (view) |
Author: Khalid Zuberi (kzuberi) |
Date: 2005-11-21.23:06:25 |
|
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
|
msg4272 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2009-03-14.01:02:36 |
|
jythonc is no longer maintained.
|
|
Date |
User |
Action |
Args |
2009-03-14 01:02:36 | fwierzbicki | set | status: open -> closed nosy:
+ fwierzbicki resolution: wont fix messages:
+ msg4272 |
2004-02-25 16:08:35 | draghuram | create | |
|