Ng, Victor | 2 Jan 15:46
Picon

odd exceptions coming from pdb

I frequently see this error pop up when I'm debugging Jython code with pdb : 

UnboundLocalError: "local variable 'exc_traceback' referenced before assignment"

I typically see it when I need to step into function call and then Jython will throw the above error back at me. 
Is this a known bug in Jython?  I can't seem to find any reference to it on the Jython bug tracker or in Google.

vic
------------------------------------------------------------------------------
Frank Wierzbicki | 2 Jan 16:17
Picon
Gravatar

Re: odd exceptions coming from pdb

On Fri, Jan 2, 2009 at 9:46 AM, Ng, Victor <Victor.Ng <at> cibc.ca> wrote:
> I frequently see this error pop up when I'm debugging Jython code with pdb :
>
> UnboundLocalError: "local variable 'exc_traceback' referenced before assignment"
>
> I typically see it when I need to step into function call and then Jython will throw the above error back at
me.  Is this a known bug in Jython?  I can't seem to find any reference to it on the Jython bug tracker or in Google.
>
That sounds like an unknown bug, do you have code that reliably
reproduces the problem?  To make sure we don't lose track of the bug
would you mind posting it to http://bugs.jython.org?

-Frank

------------------------------------------------------------------------------
Frank Wierzbicki | 2 Jan 16:17
Picon
Gravatar

Re: odd exceptions coming from pdb

On Fri, Jan 2, 2009 at 9:46 AM, Ng, Victor <Victor.Ng <at> cibc.ca> wrote:
> I frequently see this error pop up when I'm debugging Jython code with pdb :
>
> UnboundLocalError: "local variable 'exc_traceback' referenced before assignment"
>
> I typically see it when I need to step into function call and then Jython will throw the above error back at
me.  Is this a known bug in Jython?  I can't seem to find any reference to it on the Jython bug tracker or in Google.
>
That sounds like an unknown bug, do you have code that reliably
reproduces the problem?  To make sure we don't lose track of the bug
would you mind posting it to http://bugs.jython.org?

-Frank

------------------------------------------------------------------------------
Noam Aigerman | 3 Jan 20:01
Favicon

JVM's Heap Size

Hi,

I’ve been trying to increase the JVM’s heap size with no luck…  

What I’ve done is add the line:

JAVA_OPTIONS="-Xms2048m -Xmx2048m"

To /usr/bin/jython

Is this incorrect? Is there another way?

Thanks, Noam

------------------------------------------------------------------------------
_______________________________________________
Jython-users mailing list
Jython-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
Greg Scott | 4 Jan 09:48
Picon

Panda3D in Jython

Hello,

 

Panda3D is a great 3D engine (http://panda3d.org/index.php) written in C++ and Python. The manual for it advises users to write their programs in Python.

 

Would it be possible to use Jython to use this engine? Has anyone had any success with this?

 

Thank you

 

Greg

 

------------------------------------------------------------------------------
_______________________________________________
Jython-users mailing list
Jython-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
jlist9 | 4 Jan 11:39
Picon

Any dates for Jython 2.5?

Hi,

Does anyone knows how good is 2.5b0? If I am to install Jython on a new
dev machine, should I go with 2.5b0 or 2.2.1?

Thanks,
Jack

------------------------------------------------------------------------------
Matthew Webber | 4 Jan 16:14

Re: Any dates for Jython 2.5?

The very first time I used 2.5b0, I hit a bug. My code was as follows:

def mult(vals):
    return reduce(lambda x,y: x*y, vals)

This works in Jython 2.2.1, but gives this error message in 2.5b0:
   SyntaxError: line 0:-1 required (...)+ loop did not match anything at
input '<EOF>' (<stdin>, line 0)

Jython 2.5 is still beta, but this suggests that it's not ready for
production use yet.

You can always install both Jython 2.2.1 and 2.5b0, but at some point you
will need to decide whether your application code is going to be restricted
to 2.2.1 language capabilities, or whether you are targeting 2.5.0. That
probably depends on when your application needs to ship.

Matthew 

-----Original Message-----
From: jlist9 [mailto:jlist9 <at> gmail.com] 
Sent: 04 January 2009 10:39
To: jython-users <at> lists.sourceforge.net
Subject: [Jython-users] Any dates for Jython 2.5?

Hi,

Does anyone knows how good is 2.5b0? If I am to install Jython on a new dev
machine, should I go with 2.5b0 or 2.2.1?

Thanks,
Jack

------------------------------------------------------------------------------
Frank Wierzbicki | 4 Jan 17:51
Picon
Gravatar

Re: Any dates for Jython 2.5?

On Sun, Jan 4, 2009 at 5:39 AM, jlist9 <jlist9 <at> gmail.com> wrote:
> Hi,
>
> Does anyone knows how good is 2.5b0? If I am to install Jython on a new
> dev machine, should I go with 2.5b0 or 2.2.1?
Hi Jack,

It is easier for me to answer your subject question "Any dates for Jython 2.5?"

Because of a few really important last minute feature additions
(mainly Java integration related -- including jythonc), there will be
at least two more betas before we get to release candidates.  The next
beta should appear in the next week or two, and will hopefully be very
close to feature-complete.  My current estimate puts the appearance of
release candidates at around February.  Hope that helps.

-Frank

------------------------------------------------------------------------------
Josh Juneau | 4 Jan 20:02
Picon

Jython Podcast Subscription in iTunes + Jingle

Subscribe to the Jython Podcast using the link below (opens iTunes music store):

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=301255992

Also, I am still looking for jingles to use for the podcast.  Please
send in the best jingle you can compose and I'll play it on the
podcast.  Depending upon how many submissions I receive, I may set up
a poll to decide which jingle is the best to use for the podcast.

Thanks, and happy new year...

Josh Juneau
juneau001 <at> gmail.com
http://jj-blogger.blogspot.com
http://www.gathereventplanning.com
Twitter ID:  javajuneau

------------------------------------------------------------------------------
jlist9 | 4 Jan 20:41
Picon

Re: Any dates for Jython 2.5?


Thanks Matthew for mentioning the issue in another reply. I'll
go with 2.2.1 for now.

Thanks Frank, for the update! Any chance that the issue reported
by Matthew is a known issue? Looking forward to the 2.5 release!

Jack

> On Sun, Jan 4, 2009 at 5:39 AM, jlist9 <jlist9 <at> gmail.com> wrote:
>> Hi,
>>
>> Does anyone knows how good is 2.5b0? If I am to install Jython on a new
>> dev machine, should I go with 2.5b0 or 2.2.1?
> Hi Jack,

> It is easier for me to answer your subject question "Any dates for Jython 2.5?"

> Because of a few really important last minute feature additions
> (mainly Java integration related -- including jythonc), there will be
> at least two more betas before we get to release candidates.  The next
> beta should appear in the next week or two, and will hopefully be very
> close to feature-complete.  My current estimate puts the appearance of
> release candidates at around February.  Hope that helps.

> -Frank

------------------------------------------------------------------------------

Gmane