[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #FPL-571036]: IDV - changes jython package: 'array' object has no attribute '__len__' ???
- Subject: [IDV #FPL-571036]: IDV - changes jython package: 'array' object has no attribute '__len__' ???
- Date: Tue, 16 Oct 2007 06:33:17 -0600
Valentijn-
> i've tried to blend in the old jython package with the new release. It is
> untested...
>
> ftp://ftp.itc.nl/pub/venus/jython2.2rc2.jar
We appreciate the effort, but I hope you can understand why
we're reluctant to use a non-standard jython release. I'd
be more inclined to back out to version 2.1.
Regarding your _len_ issue, you could replace that with:
for i in range(bin.__len__()):
with
for i in range(len(bin)):
Don
> -----Original Message-----
> From: Unidata IDV Support [mailto:address@hidden]
> Sent: Tue 10/16/2007 0:24
> To: Valentijn Venus
> Subject: [IDV #FPL-571036]: IDV - changes jython package: 'array' object has
> no attribute '__len__' ???
>
>
> Hi Tijn,
>
> >
> > just to let you know: the N52 has gracefully decided to release the
> > sunrise/sunset code under LGPL.
> > Expect something in your inbox soon...
> Good.
>
> >
> > I was running into the following error:
> >
> > AttributeError: 'array' object has no attribute '__len__' on some jython
> > script that
> > used to 'work'.
> >
> > Have you changed the jython package recently?
> >
> >
>
> We did move to the new jython release. I've asked Tom Whittaker about this
> and will get back to you.
>
> -Jeff
>
>
> Ticket Details
> ===================
> Ticket ID: FPL-571036
> Department: Support IDV
> Priority: Normal
> Status: Open
>
>
>
>
Ticket Details
===================
Ticket ID: FPL-571036
Department: Support IDV
Priority: Normal
Status: Open