[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Support #JDN-807839]: writeMovie produces an error when run in a script in the nightlies. [1178]



I should have read the email better to see that it was a comment by you, so 
this one is mostly user error on my part :-\

Sean

> I guess you gotta click "watch" to be notified.  That's one downside I
> see to redmine.
> 
> Sorry for the confusion.
> 
> Don
> 
> On Thu, Jan 19, 2012 at 3:00 PM, Unidata IDV Support
> <address@hidden> wrote:
> > Greetings Bob,
> >
> > Sorry for the delay, but the fix is in now. I saw the comment on Redmine 
> > through an email message, but I didn't see it was from Don...so I've been 
> > waiting to hear from Don but he replied quickly and I missed the boat...my 
> > bad!
> >
> > Cheers,
> >
> > Sean
> >
> >> Hi Sean -
> >>
> >> Thanks for looking into this! I notice that there hasn't yet been a
> >> commit for this fix. Is there still more work that has to be done other
> >> than adding the period to the image suffix?
> >>
> >> Thanks-
> >> Bob Carp
> >>
> >> On 1/14/2012 10:10 AM, Unidata IDV Support wrote:
> >> > Greetings All,
> >> >
> >> > I've tracked down the bug and am checking with Don (cc'd) regarding a 
> >> > bug fix put into the IDV between the 3.0 release (where it worked) and 
> >> > the 3.0u1 release (where it stopped working). I just want to make sure I 
> >> > don't break anything with the addition of a single period in the code 
> >> > (I've ran some tests, but I'm a bit petrified about breaking 
> >> > bundles...just want another set of eyes)!
> >> >
> >> > For a summary of the issue, as well as my fix and related issues, please 
> >> > see Bug #20 on Redmine:
> >> >
> >> > https://developers.mcidasv.org/issues/20
> >> >
> >> > Sean
> >> >
> >> >> Hi, Yuan -
> >> >>
> >> >> I spent some time today looking at writeMovie, and I believe that the
> >> >> problem is not hard to reproduce. Attached, find a satellite bundle I
> >> >> created in the IDV. I typed the following into a Jython Shell in the
> >> >> IDV, and while the bundle loads without error, there is an error at
> >> >> writeMovie (the error in McIDAS-V inquiry 1178).
> >> >>> # Open the bundle
> >> >>> loadBundle("/Users/rcarp/Desktop/Satellite.zidv",None,500,500)
> >> >>> pause()
> >> >>> #Save movie
> >> >>> writeMovie("/Users/rcarp/Desktop/test1.gif")
> >> >> I am seeing this in the most recent IDV nightly (1/4/12), as well as in
> >> >> IDV 3.0u1 (11/29/11). However, everything appears to work fine in IDV
> >> >> 3.0 (8/29/11). In 3.0, the movie is created and you can open it without
> >> >> error.
> >> >>
> >> >> Thanks -
> >> >> Bob Carp
> >> >>
> >> >> On 12/23/2011 3:22 PM, Unidata IDV Support wrote:
> >> >>>> Hi, guys!
> >> >>>>
> >> >>>> We just got a user report that writeMovie isn't working correctly in 
> >> >>>> -V.
> >> >>>>
> >> >>>> Bob tried IDV, and gets an error there, too.  We haven't had a chance 
> >> >>>> to
> >> >>>> look at it here yet, but I figured you'd want to know about this one 
> >> >>>> right
> >> >>>> away since it looks like it's a problem in your latest stable 
> >> >>>> release.  Jon
> >> >>>> is the SSEC programmer assigned to this, but he's out sick today.
> >> >>>>
> >> >>>> - Becky
> >> >>>>
> >> >>>>
> >> >>> Hi Becky,
> >> >>>         I think I understand this problem a little better now, when 
> >> >>> there is some connection problem to the server, somehow one of the 
> >> >>> image in the movie is broken, and caused the exception in the write 
> >> >>> movie. It is difficult to reproduce it.
> >> >>>
> >> >>>
> >> >>> Yuan
> >> >>>> ----==== Inquiry ====----
> >> >>>> 1178
> >> >>>>
> >> >>>> ----==== Summary ====----
> >> >>>> writeMovie produces an error when run in a script in the nightlies.
> >> >>>>
> >> >>>> ----==== Request ====----
> >> >>>> 2011-12-07 - Bob Carp
> >> >>>> This is also giving the same error in the IDV. I tried IDV 3.0u1 
> >> >>>> dated 11/29 and 3.0u2 dated 12/5.
> >> >>>>
> >> >>>> 2011-12-07 - Bob Carp
> >> >>>> Joleen reported that writeMovie is giving an error in the McV nightly 
> >> >>>> dated 12/7. I tried this on my Windows 7 machine and saw the same 
> >> >>>> error (with the exception of the suffix numbers being slightly 
> >> >>>> different).
> >> >>>>
> >> >>>> The script is:
> >> >>>>
> >> >>>> # Open the bundle
> >> >>>> loadBundle("/Users/joleenf/mcidas/bundles/AMS2012.mcvz",None,500,500)
> >> >>>> pause()
> >> >>>> #Save movie
> >> >>>> writeMovie("/Users/joleenf/Documents/powerpoint/AMS201201/movies/test.gif")
> >> >>>>
> >> >>>> The error is:
> >> >>>>
> >> >>>> ERROR: Error capturing image
> >> >>>> unknown suffix: image_0_2011_12_06_14_45_UTCpng
> >> >>>> java.lang.Exception: unknown suffix: image_0_2011_12_06_14_45_UTCpng
> >> >>>> at ucar.unidata.ui.ImageUtils.writeImageToFile(ImageUtils.java:949)
> >> >>>> at ucar.unidata.ui.ImageUtils.writeImageToFile(ImageUtils.java:916)
> >> >>>> at 
> >> >>>> ucar.unidata.idv.ui.ImageGenerator.processImage(ImageGenerator.java:5042)
> >> >>>> at 
> >> >>>> ucar.unidata.idv.ui.ImageSequenceGrabber.grabImageAndBlock(ImageSequenceGrabber.java:1734)
> >> >>>> at 
> >> >>>> ucar.unidata.idv.ui.ImageSequenceGrabber.runAnimationCapture(ImageSequenceGrabber.java:1164)
> >> >>>> at 
> >> >>>> ucar.unidata.idv.ui.ImageSequenceGrabber.access$400(ImageSequenceGrabber.java:115)
> >> >>>> at 
> >> >>>> ucar.unidata.idv.ui.ImageSequenceGrabber$5.run(ImageSequenceGrabber.java:1071)
> >> >>>> at ucar.unidata.util.Misc$3.run(Misc.java:1091)
> >> >>>>
> >> >>>> I tried this in McV 1.01 and there were no errors from running the 
> >> >>>> script.
> >> >>>>
> >> >>>>
> >> >>>> ################################################################################
> >> >>>>
> >> >>>> http://dcdbs.ssec.wisc.edu/inquiry-v/index.php?inquiry=1178
> >> >>>>
> >> >>>>
> >> >>> Ticket Details
> >> >>> ===================
> >> >>> Ticket ID: JDN-807839
> >> >>> Department: Support IDV
> >> >>> Priority: Emergency
> >> >>> Status: Open
> >> >>>
> >> >>
> >> >>
> >> >
> >> > Ticket Details
> >> > ===================
> >> > Ticket ID: JDN-807839
> >> > Department: Support IDV
> >> > Priority: Critical
> >> > Status: Open
> >> >
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: JDN-807839
> > Department: Support IDV
> > Priority: Critical
> > Status: Open
> >
> 
> 


Ticket Details
===================
Ticket ID: JDN-807839
Department: Support IDV
Priority: Critical
Status: Open