[Zope] VideoCapture module fails under Zope on Win32
Dylan Reinhardt
zope@dylanreinhardt.com
Sun, 02 Mar 2003 17:36:03 -0800
At 01:00 AM 3/1/2003, Tim wrote:
>Traceback (innermost last):
> Module ZPublisher.Publish, line 98, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module Products.ZVideoCapture.ZVideoCapture, line 32, in test
> Module Products.ZVideoCapture.vidtest, line 4, in getdev
> Module VideoCapture, line 49, in __init__
>Error: Creation of the filter graph failed.
Ugh. Line 49 calls a method in a pyd file. Tough to know why the filter
graph creation failed without seeing it.
It may well be the case that the VideoCapture maintainers would have a
pretty good idea of what might cause this error. That could push us in the
right direction.
It might also be possible to get a better traceback. Put line 49 inside a
try...except and kick back your own exception. Check out this recipe for
some hints how you might get some richer information on what's gone wrong:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52215
I haven't tried any of that in a Zope object, though it works like a charm
in other Python stuff.
That's about what I can think of at the moment.
Dylan