From: sirgazil <sirgazil@zoho.com>
To: sirgazil <sirgazil@zoho.com>
Cc: Guix Help <help-guix@gnu.org>
Subject: Re: Using Python and GExiv2
Date: Tue, 18 Jun 2019 13:15:56 -0500 [thread overview]
Message-ID: <16b6bcd77ba.110219f8c4916.5798312382991155315@zoho.com> (raw)
In-Reply-To: <16b66da8700.ace138b637117.2508276802476054324@zoho.com>
---- On Mon, 17 Jun 2019 14:12:05 -0500 sirgazil <sirgazil@zoho.com> wrote ----
> Hi,
>
> I used to use a python script to clear image metadata in Debian:
>
>
> import gi
> gi.require_version("GExiv2", "0.10")
> from gi.repository import GExiv2
>
>
> metadata = GExiv2.Metadata("/tmp/something.png")
> metadata.clear()
>
>
> I'm trying to make this work in the GNU system I installed with Guix, but I haven't been able to. So far, I have installed the following packages with guix:
>
> gobject-introspection 1.56.1
> python 3.70
> python-pygobject 3.28.3
> gexiv2 0.10.10
>
> I've also added the output of "guix package --search-paths" to my ".bash_profile".
I undid this. I removed all those exports from my ".bash_profile". Now I get a different warning and error:
$ python3 img-clear-metadata.py
** (process:1495): WARNING **: 13:11:20.340: Failed to load shared library 'libgexiv2.so.2' referenced by the typelib: libgexiv2.so.2: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "img-clear-metadata.py", line 7, in <module>
metadata = GExiv2.Metadata("/tmp/something.png")
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)
>
> I'm using this guix:
>
> $ LANG=C guix describe
> Generation 3 Jun 15 2019 09:49:31 (current)
> guix ddd401d
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: ddd401d28fb09f1f8ce96f2fc24226887a812412
prev parent reply other threads:[~2019-06-18 18:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 19:12 Using Python and GExiv2 sirgazil
2019-06-18 18:15 ` sirgazil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16b6bcd77ba.110219f8c4916.5798312382991155315@zoho.com \
--to=sirgazil@zoho.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).