New install - no tags written

33 views
Skip to first unread message

Franz

unread,
Nov 9, 2019, 12:38:49 PM11/9/19
to jBrout
Hello, Jbrout community :)

I installed a fresh Ubuntu 18.04.3 and my favorite picture organiser :


sudo apt-get install git
git clone https://gitlab.com/jbrout/jbrout.git
sudo apt install python python-lxml python-gtk2 python-glade2 python-pil python-pyexiv2 exiftran libimage-exiftool-perl
cd jbrout
python setup.py install –user



It seems to work fine, but when I add a tag to a picture, nothing happens. Did I miss something in the installation phase?


In the terminal, when launching Jbrout, this error message : Failed to load module "canberra-gtk-module"

Francois Chartier

unread,
Nov 9, 2019, 1:15:40 PM11/9/19
to jbr...@googlegroups.com
Hello Franz 

I did a fresh install this year with a ubuntu 19.04 and dont remember running into any problem with jbrout. I can check what packages I installed. 

One question though: how do you proceed to add a tag ? (From which view, using keyboard or mouse ?)

Francois


--
You received this message because you are subscribed to the Google Groups "jBrout" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbrout+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbrout/cee5c5d1-c1a7-4e8c-b47c-3d322b3a952b%40googlegroups.com.

Franz

unread,
Nov 9, 2019, 1:20:51 PM11/9/19
to jBrout
I tried several ways : using keyboard, drag'n'droping from the tag list or the filter view.


Le samedi 9 novembre 2019 19:15:40 UTC+1, chartier...@gmail.com a écrit :
Hello Franz 

I did a fresh install this year with a ubuntu 19.04 and dont remember running into any problem with jbrout. I can check what packages I installed. 

One question though: how do you proceed to add a tag ? (From which view, using keyboard or mouse ?)

Francois


Le sam. 9 nov. 2019 à 18:38, Franz <frh...@gmail.com> a écrit :
Hello, Jbrout community :)

I installed a fresh Ubuntu 18.04.3 and my favorite picture organiser :


sudo apt-get install git
git clone https://gitlab.com/jbrout/jbrout.git
sudo apt install python python-lxml python-gtk2 python-glade2 python-pil python-pyexiv2 exiftran libimage-exiftool-perl
cd jbrout
python setup.py install –user



It seems to work fine, but when I add a tag to a picture, nothing happens. Did I miss something in the installation phase?


In the terminal, when launching Jbrout, this error message : Failed to load module "canberra-gtk-module"

--
You received this message because you are subscribed to the Google Groups "jBrout" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbr...@googlegroups.com.

Francois Chartier

unread,
Nov 10, 2019, 2:48:57 PM11/10/19
to jbr...@googlegroups.com
Hello,

Ok, I had thought maybe I did it in a different way, but then...

Did you install a normal ubuntu or different flavour ? apparently,
canberra is a module for system event sounds... I do have some
canberra packages, in particular gnome-session-canberra and some libs.
Do you have that ?
> To unsubscribe from this group and stop receiving emails from it, send an email to jbrout+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jbrout/70807836-895f-4d29-8454-0a503dbe6053%40googlegroups.com.

Franz

unread,
Nov 12, 2019, 4:11:11 AM11/12/19
to jBrout
Hello,

Yes, normal Ubuntu installed.

I surely don't have the "canberra-gtk-module". For the other camberra packages, I don't know how to check if I have them.

Tonus

unread,
Nov 12, 2019, 8:10:49 AM11/12/19
to jBrout

Matěj Cepl

unread,
Nov 13, 2019, 1:28:44 AM11/13/19
to jbr...@googlegroups.com
On 2019-11-09, 17:38 GMT, Franz wrote:
> It seems to work fine, but when I add a tag to a picture,
> nothing happens.

What exactly do you mean “nothing happens”? Could you rewrite
this report in the classical what-exactly-I-did (step by step),
what-I-expected-to-happend, what-actually-happened (as detailed
as possible), please?

Thank you

> In the terminal, when launching Jbrout, this error message : *Failed to
> load module "canberra-gtk-module"*

Ignore this, it has nothing to do with anything, it is just
a warning from Gtk about a missing module for sound
notifications. Nothing to do with images.

Matěj
--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8

Thou shalt not nede to be afrayed for any bugges by night.
-- Coverdale's 1535 translation of Psalm 91
(or Christopher Higley's 1972 thesis explaining why
programmers' are nocturnal beasts)

Francois Chartier

unread,
Nov 13, 2019, 4:50:28 PM11/13/19
to jbr...@googlegroups.com
Hello,

Matej is right, bad trail (about canberra). I created a virtualbox
machine with a fresh ubuntu 18.04, installed jbrout (git clone from
https://gitlab.com/jbrout/jbrout) same as you, and it seems to work
fine. One question, though: how do you start jbrout, and what is the
use of "python setup.py install –user " ? (I never did that and just
run jbrout from the jbrout/jbrout directory)

Maybe something to do with your tags or a display problem... in the
main window can you view your tags (in the tags tab) ?

François
> --
> You received this message because you are subscribed to the Google Groups "jBrout" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jbrout+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jbrout/slrnqsn8b1.5rs.mcepl%40milic.suse.cz.

Franz

unread,
Nov 15, 2019, 1:33:49 PM11/15/19
to jBrout
Hey Tonus,

Thanks, I didi a

sudo apt-get install libcanberra-gtk-module

And I don't have the error message anymore.

But I still have the problem of Jbrout not writing any tag.

Franz

unread,
Nov 15, 2019, 1:57:20 PM11/15/19
to jBrout
Hello Matěj,

Not used to the classical step-by-step report but I try my best :

What I did :

I open Jbrout on terminal :

cd /home/fran/jbrout/jbrout
python jbrout.py

I try to add a tag to a picture, several ways (typing on keyboard, drag'n'dropping from tag list).


What I expect

I expect Jbrout to write the tag in the picture and to show it on the thumbnail view.


What actually happens

Jbrout works as if it writes a tag : there is a little wheel showing it's processing + in the bottom right, those words showing for 1 second : "ajout de mot clé" (="adds a tag" or something like that);

What makes me think it does not work : no tag showing on the Jbrout's thumbnail mode. When I open this picture in another program (Shotwell), the tag does not appear while other tags appear for older pictures tagged with Jbrout.

Franz

unread,
Nov 15, 2019, 2:01:30 PM11/15/19
to jBrout
Hello François,

The "python setup.py install –user " is only for installing it.

I open it this way :

cd /home/fran/jbrout/jbrout
python jbrout.py

I see all my tags in the "tag" tab. It seems to work like a charm, the only thing is that it does not write the tags in the pictures.
> To unsubscribe from this group and stop receiving emails from it, send an email to jbr...@googlegroups.com.

Tonus

unread,
Nov 15, 2019, 2:04:25 PM11/15/19
to jBrout
Hi,

Could you post the result of :

whoami
ls -al

In the directory where your picture is?


Franz

unread,
Nov 15, 2019, 2:22:47 PM11/15/19
to jBrout
Tonus,

whoami = fran
ls -al = drwxr-xr-x 1 fran fran  32768 nov 15 19:44

Thanks to you I just understood something important : Jbrout is unable to write tags in that folder but it works well in another one !!

The pictures are on a usb stick, encrypted with Cryptomator. Cryptomator mounts the volume in a subfolder of my home folder, where Jbrout is unable to write tags. 

When I test in another folder it works fine.
ls -al = drwxr-xr-x  2 fran fran  4096 nov 15 20:08

--> do you think it's possible to change the properties of the Cryptomator folder ?

Tonus

unread,
Nov 15, 2019, 2:48:38 PM11/15/19
to jBrout
I don't know anything about cryptomator, sorry.

A quick search showed you might want to fuse mount your storage. What about having a look at the man of cryptomator? ;-)

Hope it is well written!

Franz

unread,
Nov 16, 2019, 2:24:09 AM11/16/19
to jBrout
OK I will check with cryptomator.

@Matěj ,Tonus & François : Thank you all for your support !

Matěj Cepl

unread,
Nov 22, 2019, 6:30:32 AM11/22/19
to jbr...@googlegroups.com
On 2019-11-15, 18:57 GMT, Franz wrote:
> *What actually happens*

> What makes me think it does not work : no tag showing on the Jbrout's
> thumbnail mode. When I open this picture in another program (Shotwell), the
> tag does not appear while other tags appear for older pictures tagged with
> Jbrout.

That’s a way better bug report. Thank you. I am a bit at loss on
what’s wrong though.

* Do you have any error messages on stderr when running jbrout
this way from the command line?

* Install exiv2 (not sure, it should provide you with
/usr/bin/exiv2), and then run

exiv2 -PEIXkhvt name-of-the-image-file | less

before and after editing with jbrout. Is there any difference?

Best,

Matěj
--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8

Monday, December 9th. We skip the bus tour of Stockholm to attend
the economics lecture. Our guest status is again good for front
row seats. We hear about the theory of auctions. There are
integrals and derivatives. It's like physics except physics
works.

Franz

unread,
Nov 24, 2019, 6:04:37 AM11/24/19
to jBrout
Hey Matěj,

When I launch Jbrout from command line, no error showing.

When comparing before and after editing with exiv2, nothing different, but this information, both before and after editing with Jbrout : "No XMP data found in the file". That explains that Jbrout is unable to add a tag or a rating on a picture, but is able to modify it (renaming, rotating).

I found out with Tonus (see the 15th november posts on this topic) that Jbrout works fine on my computer, EXEPT in a volume mounted by Cryptomator. The problem is thus : Jbrout not being able to handle XMP informations on a Cryptomator volume.

I discovered today one more thing : when I edit a picture with Gimp (from Jbrout : right clic / external tools / edit with Gimp), back on Jbrout, it works now fine (adding tags, rating the picture, and so on) ! Exiv2 -PEIXkhvt xxx | less gives now a much bigger output with XMP informations.

Bottom line : Jbrout can't handle XMP data in a Cryptomator volume, unless it's edited beforehand in Gimp !



François

Francois Chartier

unread,
Nov 24, 2019, 11:03:52 AM11/24/19
to jbr...@googlegroups.com
Hello Franz,

That's weird indeed. Does cryptomator have a local copy of your files (i see it's about cloud storage). Just a hint of an idea about what you describe: would exiv manipulation involve low level access (rewriting a file at a given offset and not the whole file) ? About jbrout, it might be possible to add some logging (i dont think we use the logging package so far, but i do in other projects and am fairly fond of logging in general) to help understand whats happening. 

François 

--
You received this message because you are subscribed to the Google Groups "jBrout" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbrout+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbrout/cfd46ea3-9847-4712-b38a-9ac35f9b0188%40googlegroups.com.

Franz

unread,
Dec 9, 2019, 6:40:17 AM12/9/19
to jBrout
Hi François,

Yes Cryptomator has a local copy of the files on the computer. But it's designed to encrypt the files that you upload on your cloud.

Anyway I decided to give up on Cryptomator and use Luks instead. And Jbrout works fine with that method :)

Have a nice day,


Franz
To unsubscribe from this group and stop receiving emails from it, send an email to jbr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages