problem with revision 36 with dc1394_new

41 views
Skip to first unread message

Arjun

unread,
Nov 25, 2010, 8:19:21 AM11/25/10
to pydc1394
Hi,

Firstly, I want to write in my thanks for developing this super
library for python! I obtained a branch from Tamas before this project
found its way onto launchpad, and used it for my research work. It
worked great, and I'm happy to report that a few months ago I ran the
(first ever?) working copy of pydc1394 underwater! Leading on from
that, I've decided to take the development forward.

I just bzr branched the revision 36 from launchpad, and installed it
into my development machine. The run_tests.py failed, as also did
trying to import the library in python.

On running "import pydc1394", I received the following stack trace:

>>> import pydc1394
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/pydc1394/__init__.py",
line 23, in <module>
from camera import Camera, DC1394Library, SynchronizedCams
File "/usr/local/lib/python2.6/dist-packages/pydc1394/camera.py",
line 24, in <module>
from _dc1394core import *
File "/usr/local/lib/python2.6/dist-packages/pydc1394/
_dc1394core.py", line 692, in <module>
_dll.dc1394_new.argtypes = None
File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in
__getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in
__getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: python: undefined symbol: dc1394_new

Has something fundamental changed? What should I do to get this super
library working again?

Any help will be much appreciated.

Cheers,
Arjun

SirVer

unread,
Nov 26, 2010, 6:13:42 AM11/26/10
to pydc1394
Hi Arjun,

> Firstly, I want to write in my thanks for developing this super
> library for python! I obtained a branch from Tamas before this project
> found its way onto launchpad, and used it for my research work. It
> worked great, and I'm happy to report that a few months ago I ran the
> (first ever?) working copy of pydc1394 underwater! Leading on from
> that, I've decided to take the development forward.
That's amazing! Could you provide us with a link to your work, maybe a
youtube video or so. I am collecting who's using pydc1394 for what.
This looks really strange. It looks more like you do not have the
correct version of libdc1394 installed. Is it version 2.0. Can you
confirm (for example via coriander) that the camera/libdc1394 library
works as expected?

Cheers,
Holger
Reply all
Reply to author
Forward
0 new messages