Re: [Gexiv2] GExiv2.Metadata Issue



Didn't realize 0.6.1 was out, just followed the first link from the wiki :P Still having an error, although its now a different one...

>>> from gi.repository import GExiv2
>>> exif = GExiv2.Metadata('/home/wickedshell/code/NIR_Tetra/TTC00013.DCM')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/usr/lib/python3.3/site-packages/gi/overrides/GExiv2.py", line 41, in __init__
    self.open_path(path)
File "/usr/lib/python3.3/site-packages/gi/overrides/GExiv2.py", line 45, in open_path
    super(Metadata, self).open_path(path)
  File "/usr/lib/python3.3/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: unsupported format

It was installed via
$ ./configure --enable-introspection
$ make
$ sudo make install

locate GExiv2.py yields
[wickedshell graves /]$ locate GExiv2.py
/home/wickedshell/Downloads/libgexiv2-0.6.1/GExiv2.py
/usr/lib/python2.7/site-packages/gi/overrides/GExiv2.py
/usr/lib/python3.3/site-packages/gi/overrides/GExiv2.py

On 05/07/13 23:37, Robert Park wrote:
Please try again with the 0.6.1 tarball... and then try something like this:

sudo updatedb
locate GExiv2.py

and tell me what it says. I'm not sure why you'd be seeing this error,
frankly... the makefile clearly installs the file. Any chance you did
the compilation inside of a vm or chroot that didn't have python in
it? That's about the only condition inside the makefile that would
cause GExiv2.py to not get installed.

On Tue, May 7, 2013 at 11:21 PM, Michael du Breuil
<wicked shell scripts gmail com> wrote:
Installed via the the 0.5 tarball, ran with the configure
--enable-introspection, make, make install as instructed on the site
http://redmine.yorba.org/projects/gexiv2/wiki . Not using a package as I'm
running arch on this system and I was unable to find a official package in
either AUR or main repositories. A package would have been ideal.


On 05/07/13 23:14, Robert Park wrote:
This error indicates that you've installed the vala library, but the
python overrides are not installed correctly. Can you tell us more
about how you installed GExiv2? What instructions did you follow? Any
particular reason you're not using the ubuntu/debian packages?

On Tue, May 7, 2013 at 9:20 PM, Michael du Breuil
<wicked shell scripts gmail com> wrote:
Attempting to use GExiv2 here for the first time, followed the download &
compile instructions, but when I try to follow the simple example the
following error occurs:

exif =
GExiv2.Metadata('/home/wickedshell/code/NIR_Tetra/TTC00013.DCM')
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)

Not sure what's causing this, and would appreciate any assistance in
determining the cause. This was in Python 3.3.0, on a Linux machine
(kernel
3.7.5). If any more info is needed please let me know.

Thanks for your time!
_______________________________________________
Gexiv2 mailing list
Gexiv2 lists yorba org
http://lists.yorba.org/cgi-bin/mailman/listinfo/gexiv2


_______________________________________________
Gexiv2 mailing list
Gexiv2 lists yorba org
http://lists.yorba.org/cgi-bin/mailman/listinfo/gexiv2






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