Justin,
I have tried getting the gphoto plugin to work several times. I think
there was a change in the libgphoto API recently that the swig code does
not account for since it was written against a previous version of the
API. Rob Shortt is the last person I know to get this to work but I
believe it has stopped working for him as well. I have been looking into
a wrapper around the gphoto command line program but haven't had much
time for it lately.
--
Mike Ruelle <[EMAIL PROTECTED]>
On Sun, 2004-08-29 at 11:56, Justin Wetherell wrote:
> I am having trouble with the gphoto plugin. First it didn't load, it was
> missing _pygphoto. I believe this comes from the fact that I installed
> all the deps. So I downloaded the runtime and copied _pygphoto.so into
> the src dir. The plugin loaded successfully but when I go into the "look
> at picutres" menu item it crashes.
>
> First error:
> start 'freevo plugins -l' to get a list of plugins
> Traceback (most recent call last):
> File "/usr/local/src/freevo-1.5.0/src/plugin.py", line 570, in
> __load_plugin__
> exec('import %s' % module)
> File "<string>", line 1, in ?
> File "/usr/local/src/freevo-1.5.0/src/image/plugins/gphoto.py", line
> 47, in ?
> import pygphoto
> File "/usr/local/src/freevo-1.5.0/src/pygphoto.py", line 4, in ?
> import _pygphoto
> ImportError: No module named _pygphoto
>
> Second error:
> Traceback (most recent call last):
> File "/usr/local/src/freevo-1.5.0/src/main.py", line 315, in eventhandler
> app.eventhandler(event)
> File "/usr/local/src/freevo-1.5.0/src/menu.py", line 561, in eventhandler
> action( arg=arg, menuw=self )
> File "/usr/local/src/freevo-1.5.0/src/image/plugins/gphoto.py", line
> 121, in view
> self.image_viewer.view(self)
> File "/usr/local/src/freevo-1.5.0/src/image/viewer.py", line 117, in view
> if not self.free_cache in item.menuw.show_callbacks:
> AttributeError: 'NoneType' object has no attribute 'show_callbacks'
> Traceback (most recent call last):
> File "/usr/local/src/freevo-1.5.0/src/main.py", line 315, in eventhandler
> app.eventhandler(event)
> File "/usr/local/src/freevo-1.5.0/src/menu.py", line 561, in eventhandler
> action( arg=arg, menuw=self )
> File "/usr/local/src/freevo-1.5.0/src/image/plugins/gphoto.py", line
> 121, in view
> self.image_viewer.view(self)
> File "/usr/local/src/freevo-1.5.0/src/image/viewer.py", line 117, in view
> if not self.free_cache in item.menuw.show_callbacks:
> AttributeError: 'NoneType' object has no attribute 'show_callbacks'
> Traceback (most recent call last):
> File "/usr/local/src/freevo-1.5.0/src/main.py", line 315, in eventhandler
> app.eventhandler(event)
> File "/usr/local/src/freevo-1.5.0/src/menu.py", line 561, in eventhandler
> action( arg=arg, menuw=self )
> File "/usr/local/src/freevo-1.5.0/src/image/plugins/gphoto.py", line
> 121, in view
> self.image_viewer.view(self)
> File "/usr/local/src/freevo-1.5.0/src/image/viewer.py", line 117, in view
> if not self.free_cache in item.menuw.show_callbacks:
> AttributeError: 'NoneType' object has no attribute 'show_callbacks'
>
> Also,
> Thread-0x832c1a8
> File "/usr/local/src/freevo-1.5.0/src/plugins/rom_drives.py", line
> 743, in run
> Thread-0x8270768
> File "/usr/local/lib/python2.3/threading.py", line 204, in wait
> Thread-0x8138200
> File "/usr/local/src/freevo-1.5.0/src/image/plugins/gphoto.py", line
> 66, in cameraFactory
>
>
> I am using a Canon s410 and a "gphoto2 -l" works fine and the directory.
> I assume that I didn't install whatever creates pygphoto but please let
> me know.
>
> Thanks,
> Justin
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users