0

missing-image event

Hi

I'm trying to bind missing-image in python but cannot seem to get it working.
Other signals such as frame-changed are working fine.

Loading a rv file with a missing clip:

> ERROR: media not loaded

however missingImage() is never called:

event_frame = ("frame-changed", self.frameChanged, "new frame")
event_missing_image = ("missing-image", self.missingImage, "missing image")
self.init("widget", None, [event_frame,event_missing_image] ,[("title", [("Window", self.toggleDialog, "", None)])])

def missingImage(self, event): # not triggered

 

Thank you!

4 comments

  • 0
    Avatar
    Alan Trombla

    Hi,

    It's possible some other Mode is consuming the event before your Mode sees it.  In particular, the Missing Frame Blink package can optionally consume this event; do you have that on ?

    Assuming you're using the current version of RV, you can print event-handling debugging by adding "-debug events" to the end of your RV command line.  That should make it clear if the event is consumed (it'll say the event was "handled" by some event table).  Note that this will generate a ton of output, so you might want to filter it for "missing-image" ...

    Cheers,

    Alan

  • 0
    Avatar
    Johan

    Thanks Alan

    We are running 4.2.0

    I ran it with -debug events and did indeed get a lot of output.

    Searched through it but couldn't find "missing-image".

    When loading the sequence RV does print error on loading the media

    I will try latest version see if it makes any difference.

    INFO: loading /path/filename.%04d.exr
    ERROR: media not loaded: /path/filename.%04d.exr (No files matched /path/filename.%04d.exr )
    Event: graph-new-node from IPGraph 'sourceGroup000000_cacheLUT'
    Action begin on Event: 'graph-new-node'
    Action complete on Event: 'graph-new-node' processed by table Source Setup:global (0.0662449ms)
    Event: graph-new-node from IPGraph 'sourceGroup000000_channelMap'
    Action begin on Event: 'graph-new-node'
    Action complete on Event: 'graph-new-node' processed by table Source Setup:global (0.026657ms)
    Event: graph-new-node from IPGraph 'sourceGroup000000_cache'
    Action begin on Event: 'graph-new-node'

    etc...

  • 0
    Avatar
    Alan Trombla

    Hmm.  There really has to be missing-image event processing if there are missing frames in the sequence.  RV 4.2.0 should be fine for this.

    Can you please open a support ticket and we'll dig in a little deeper ?  (I'll definitely update the forums once we figure this out.)

    Thanks,

    Alan

  • 0
    Avatar
    Alan Trombla

     

    Hey, just to update the thread: I sadly misread the original question.  The "missing-frame" event is sent when a frame/image of a sequence source is missing.  The case described here is when no media was found at all, and a "missing-frame" event does not occur in that case.

    Cheers,

    Alan

Please sign in to leave a comment.