Jami 20240524.0 not working on Guix System but working on foreign distro

  • Open
  • quality assurance status badge
Details
5 participants
  • Divya Ranjan
  • Giovanni Biscuolo
  • Giovanni Biscuolo
  • Maxim Cournoyer
  • Luis Felipe
Owner
unassigned
Submitted by
Giovanni Biscuolo
Severity
normal
Merged with

Debbugs page

Giovanni Biscuolo wrote 4 weeks ago
(address . bug-guix@gnu.org)(name . SW - Andrea Rossi)(address . andrea.rossi@swws.it)
87ikpfqjve.fsf@xelera.eu
Hello,

on my two work machines (one desktop and one laptop) I use guix as
package manager on top of Debian, I installed jami on both and it works
perfectly: I'm really impressed by Jami!

I'm testing Jami on a Guix System I installed on a test machine (on the
very same network of my work machines) and it does not work... the same
jami package installed on top of Debian :-(.

I also tested Jami on two different Guix Systems of a friend of mine and
the "mode of failure" is the very same I'm observing on my test Guix
System.

First an easy fix: in Guix System I have to install
gsettings-desktop-schemas otherwise Jami does not start with this error:

Toggle snippet (6 lines)
(jami:4825): GLib-GIO-ERROR **: 15:04:05.424: Settings schema 'org.gnome.desktop.interface' is not installed
Trace/breakpoint trap


Once I start Jami (jami in a terminal to see log messages) I can import
my account from another device [1] but:

- the list "Linked devices" shows only one device and the "Device name"
are the first 8 chars of the device fingerprint (usually is the
hostname of that device)

- the list of contacts shows my list of contacts and the last message
date is 1/1/70

- I have no messages in any of my swarms (chat rooms)

It seems my Jami client on Guix System cannot connect the DHT and
sincronize data.

If you are interested below you can find a complete log I got running
"jami -d jami-debug.log"

I'm not an expert so I cannot fully understand the meaning of all debug
logs, but I guess it has something to do with this specific logs:

Toggle snippet (13 lines)
[1739369430.679|5099|jamiaccount.cpp :932 ] [Account aba3d9634a668ab7] Can't load proxy URL from cache: filesystem error: cannot get file time: No such file or directory [/home/g/.cache/jami/aba3d9634a668ab7/dhtproxy]

[1739369430.808|5099|conversation_module.cpp :447 ] [ConversationModule] error loading syncingMetadatas_: Can't read file: /home/g/.local/share/jami/aba3d9634a668ab7/syncingMetadatas

[1739369430.810|5099] No IGD available. Mapping will be requested when an IGD becomes available

[1739369433.137|5099] UPNP/NAT-PMP enabled, but no valid IGDs available

[1739369443.560|5099] [device cc3646a4fcc88a3553e11d981dad2a84edfe5aaf80f4dd0c33fc7b0a15de5a49] Already connecting, wait for ICE negotiation


Furthermore, the Jami client on Guix System freezes when trying to use
the following settings or menu options:

1. Account | Manage Account | Enable account (try to switch it off)[2]

(I see no messages in terminal)

2. Account | Customize profile | (change name and press enter)

Toggle snippet (7 lines)
default [1739371696297][WRN][7f8a0e139f80]: qrc:/settingsview/components/CustomizeProfilePage.qml:49:13: QML Connections: Detected function "onStopBooth" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
default [1739371696303][WRN][7f8a0e139f80]: qrc:/settingsview/components/CustomizeProfilePage.qml:50: ReferenceError: settingsView is not defined
default [1739371700439][WRN][7f8964ff96c0]: QSGPlainTexture: Mipmap settings changed without having image data available. Call setImage() again or enable m_retain_image. Falling back to previous mipmap filtering mode.


3. Account | Call settings | Ringtone (try to switch it off)

(no messages in terminal)

4. Account | Advanced settings | Enable local peer discovery (try to
switch it on)

5. Account | Advanced settings | Enable proxy (try to switch it on)

There are other settings I did not try, so freezes could be more.

The very same settings on Jami installed on my work machines (foreign
distro) are working as expected.

I hope we can find a solution since IMHO Jami a very useful tool.

Happy hacking, Gio'.


[1] the "pairing" workflow works perfectly, using the PIN generated on
one of the other devices and the account password (I have encrypted my
account)

[2] but when restarting Jami the account is actually disabled, and if I
enable it it works without freezing
Attachment: jami-debug.log
--
Giovanni Biscuolo

«Si può sperare
Che il mondo torni a quote più normali».
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEERcxjuFJYydVfNLI5030Op87MORIFAmesueUWHGdpb3Zhbm5p
QGJpc2N1b2xvLm5ldAAKCRDTfQ6nzsw5Es33EADM9+Kct3nm8OAy0o362mtYpXlf
+ylK5UaN7ZCZh/WBvwEvhEbCpzsLHoHJyRW2w3D2dFnWS+bxiyE9/4xp59u4VQn2
NrPQJuU5N4Tb5x9SvUqTLca2gmR9p1duHnPXakmNfk9Oy7tYrI2igebLcNYpSIL5
YJA0PgO63R+dHvgkFY+TjL+Q1rPFEAWmwr0ftwWIjictlleYfFt5HK1Qgce+A++A
RvC8HcGITQPuOQWQPNiY2Em5Xsizw31s1a5UfVQmWcKxuawfA7TZ1teRi++C4fn5
On22ryRBxwJ7yufKG8lQ5gkpyQNY4qAmqPznfNUUClTZcopOolNAyIAyZRp4Eq/h
kfHWMvBhPm9/Tl2GfQ2tFmd0DFHW30DNtIGE47yc+OaOnifFCVO4EO7ZE9jCTS8i
XksFPorZZbViJjySSeX5l+7i52SUbZ7f59hRSbuqSQOqnf7DHcfEQoQDPMrP5Ntq
eHz6xUh/skOMhY4PAtL7Bsd3zuxkJ5BbXDob8c8bZAIEHWUmoAyKTby2hBVFv0dN
jfMQqADv2V+PQhtNWCvBSIryDc+jRH2eDM4LrCv9TlKtW5swNy7Vfz1V21SLQSA2
JtmNjwLq25XfJ3T4w59hglyRWij33FpQSfCupn57vILPSoLx9PlkIEM6+N3v4l13
fSZ4KZeHu/a1yYZOQw==
=bN0R
-----END PGP SIGNATURE-----

Giovanni Biscuolo wrote 4 weeks ago
merge #76233 with #76231
(address . control@debbugs.gnu.org)
87bjv7qd89.fsf@xelera.eu
merge 76233 76231
stop

Sorry, I was not receiving the usual Acknowledgement so I sent my bug
report from another email address.

Happy hacking!

--
Giovanni Biscuolo

«Si può sperare
Che il mondo torni a quote più normali».
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEERcxjuFJYydVfNLI5030Op87MORIFAmes24YWHGdpb3Zhbm5p
QGJpc2N1b2xvLm5ldAAKCRDTfQ6nzsw5EhDlD/981ktXq4MF4kTFPDq1eGUP5yWB
buRr5jeR8tNYcMxel9w0OzmksLVtJ+LXKb6aSbAc7iHn8vnoCbPNxiyAgxvi8UdU
MS5xOAntyd6VaMkRucugj4+ca7snmqQy0Qjmtwt8cEqbk3mzerRj2ekOLRrgKKTD
hnd8rqwyJuiLPkLZkQqVW8p7w59zx7Bm/7LgAJ2jn+tUl01GfRMIflGfh2t2+ooc
Fq7Qa9NBoXdgEIb7nCn6Q+7fQMsN09jdZhBt3nhU0lD0P15Xie8JMoi3Y1dFaL6F
bVldz2PGZHQfSDtuVFzB1cjsEB1uINx5OhjAkgdGNmlPZWDvKcBtqLmfpvGWnpTg
JbkGfRhZTMrasA7TsUaZB3alz61jHTC11oOCwDGq2Gwb3lZL71+EmjorgIO/7xfQ
g9facPpDYUEJcIhmL8B5t6ryjrwnDfvgEiHYbY3Eb7PXFPZ038/x2Ou7eWh5Ilz4
2yD6kQiIDXeFyL534Zw5n62M5asFFXPoxmQXmWJ2nb6ru3C/AkbMVslACA3lu0es
TNmo1nRn13RsEjXZnaMYi0AXsn8p6n0OEeBCOziDkJOBUG1a4xHADXTG/uff7i64
MUUWq+ZKwpSdn8ERm6TNPhDuNEzlKThU5QYez+13NYhQvCR/97SnpQafUyDjA3B4
pyhrglwFFi2U/IEBhg==
=fRYh
-----END PGP SIGNATURE-----

Divya Ranjan wrote 4 weeks ago
Re: bug#76231: Jami 20240524.0 not working on Guix System but working on foreign distro
(name . Giovanni Biscuolo)(address . giovanni@biscuolo.net)(address . 76231@debbugs.gnu.org)(name . Jan Wielkiewicz)(address . tona_kosmicznego_smiecia@interia.pl)(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(name . SW - Andrea Rossi)(address . andrea.rossi@swws.it)
87ed02htjp.fsf@subvertising.org
Hello again Giovanni,

I’ll just go ahead and CC some old developers from Guix who were initially part of bringing Jami to Guix. Found them by searching down the mailing list[0].

Hopefully y’all can guide us a bit with regards to where things are going wrong.


Regards,
--
Divya Ranjan,
Philosophy, Mathematics, Libre Software.

PGP Fingerprint: F0B3 1A69 8006 8FB8 096A 2F12 B245 10C6 108C 8D4A
Luis Felipe wrote 4 weeks ago
Jami 20240524.0 not working on Guix System but working on foreign distro
(address . 76231@debbugs.gnu.org)
434297ad-169b-4020-a148-fc7f60d4c1ad@zoho.com
Hello, just to confirm that using
  guix system 4fccad8
  Jami 20240524.0
I see the same errors:
  [1739460365.258|6114|jamiaccount.cpp         :932 ] [Account
4feb6fb4bf3ae927] Can't load proxy URL from cache: filesystem error:
cannot get file time: No existe el fichero o el directorio
[/home/yo/.cache/jami/4feb6fb4bf3ae927/dhtproxy]
  [1739460365.309|6114|conversation_module.cpp :447 ]
[ConversationModule] error loading syncingMetadatas_: Can't read file:
/home/yo/.local/share/jami/4feb6fb4bf3ae927/syncingMetadatas
In my case, Jami is not working in the sense that I'm not able to
contact anyone, and nobody is able to contact me (see
Sometimes I can see contact requests only if I restart Jami (by
finishing the .jami-real process and starting Jami again), but from
there on Jami can't identify when accepted contacts are online. So it
sure looks like synchronization problems.
But the jami client does start normally for me though. Maybe in my case
the missing dependency that Giovanni had to install is already satisfied
because I use the GNOME desktop.
--
Luis Felipe López Acevedo
Maxim Cournoyer wrote 4 weeks ago
(name . Divya Ranjan)(address . divya@subvertising.org)(address . 76231@debbugs.gnu.org)(name . Jan Wielkiewicz)(address . tona_kosmicznego_smiecia@interia.pl)(name . SW - Andrea Rossi)(address . andrea.rossi@swws.it)(name . Giovanni Biscuolo)(address . giovanni@biscuolo.net)
87pljj8hae.fsf@gmail.com
Hi Divya,

Divya Ranjan <divya@subvertising.org> writes:

Toggle quote (8 lines)
> Hello again Giovanni,
>
> I’ll just go ahead and CC some old developers from Guix who were
> initially part of bringing Jami to Guix. Found them by searching down
> the mailing list[0].
>
> Hopefully y’all can guide us a bit with regards to where things are going wrong.

I'm guessing it's simply getting a bit dated? In my experience, as soon
as you fall one on a few stable releases behind, you start experimenting
more problems. I'm not sure if Jami is supposed to be backward
compatible with previous versions, but even if it was, it's probably not
super well tested.

I'd suggest updating it (but as you noted, that's sadly often not
trivial). I could provide some assistance if you'd like to pick up its
maintenance.

--
Thanks,
Maxim
Giovanni Biscuolo wrote 4 weeks ago
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 76231@debbugs.gnu.org)
87o6z3p5yy.fsf@xelera.eu
Hello Maxim,

thank you for your interest in this bug report.

First of all: please are you succesfully running Jami on a Guix System
and if yes what's its version?

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (12 lines)
> Divya Ranjan <divya@subvertising.org> writes:
>
>> Hello again Giovanni,
>>
>> I’ll just go ahead and CC some old developers from Guix who were
>> initially part of bringing Jami to Guix. Found them by searching down
>> the mailing list[0].
>>
>> Hopefully y’all can guide us a bit with regards to where things are going wrong.
>
> I'm guessing it's simply getting a bit dated?

I guess you are guessing the Jami I'm running is a little bit dated: I'm
using the last available package in guix, please see the subject.

Or are you guessing that 20240524.0 packaged in Guix is a little bit
dated?

Anyway...

Toggle quote (5 lines)
> In my experience, as soon as you fall one on a few stable releases
> behind, you start experimenting more problems. I'm not sure if Jami
> is supposed to be backward compatible with previous versions, but even
> if it was, it's probably not super well tested.

As I reported in the first message of this bug report thread, the issue
I'm [1] experiencing it's _only_ when running Jami 20240524.0 on a Guix
System, the very same version - installed via guix as package manager -
is running (very) well on Debian.

Maybe it's just some missing dependency in the package definition that
luckily is installed in on my Debian sistems?

I'd like to help finding what is making running Jami problematic on a
Guix System but I don't know what to do except reporting the logs I
found (see my first message in the bug report)

Toggle quote (4 lines)
> I'd suggest updating it (but as you noted, that's sadly often not
> trivial). I could provide some assistance if you'd like to pick up its
> maintenance.

I agree that updating the Guix Jami package is useful but I'd like to
understand what is preventing 20240524.0 from running on a Guix System
but not on a foreign distro.

Thanks, Gio'


[1] and others, i.e. Luis Felipe as he confirmed


--
Giovanni Biscuolo

Xelera IT Infrastructures
-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmewtoUMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkS8KMP/RVAdoBymWakZsmoJhYVcnyqxCJPk20ioaclOBM0
13+p8/R5yFNMCqwRC2oV5fBmTBYOMorGgfsuNYE470RDhQ1I0hdCo5kxtBqOh6L5
9kFf5lu4e1cC/j0FaCBidL2smQg6CgntdPnPh9VmNNziylORQ6ZW7hApkM+HWawC
8ad9TQFdPULMznsn5e1hq0QnUwpE+0IX+dLDWFq9+wY++dNGovu/dkHS2X8+9wkl
4EiQiJQIE5t+HGKuhN2n3i7oi5ojDdNz7MVgNLe6AFXVUfplLo4I6YxF+jn83vU8
OsJmxC7zZaz4vELBj82VCQmGxkGSwxoqQFqUOymXy7BPZf5qKtfrTjnS647df98A
uOtYA6t+2iNo13E6q7pKGDn5f/8LrD+qHXPoauSH+4z7qvwm2taDkDLD8Liog51f
ZPRiNPAl/pGgLTEutW4csPPDWyfpTqKv2W3b6yi0xMKnQ1uQp5iZIWpl9H1fLt5A
FvcGc1Ausx7UyZD5Vi/MbWMx/XUS5JDhHwPoEiIMPSR2tGkwhinRYgaqFCn58nvI
XyNvm3UmVAS2sNQcDf6J1nYFo8pr3c5lcghkmfppZqaPJG3zALj7nECd3397AaC8
DUscAkZ6yuu7H4mdvpOIQ1JOfGZ/PJPFh87uRQmFSr5vFxSOem49YH5k5en/qfbW
y9J1
=SZfA
-----END PGP SIGNATURE-----

Maxim Cournoyer wrote 4 weeks ago
(name . Giovanni Biscuolo)(address . g@xelera.eu)(address . 76231@debbugs.gnu.org)
87ldu67isk.fsf@gmail.com
Hi Giovanni,

Giovanni Biscuolo <g@xelera.eu> writes:

Toggle quote (7 lines)
> Hello Maxim,
>
> thank you for your interest in this bug report.
>
> First of all: please are you succesfully running Jami on a Guix System
> and if yes what's its version?

It's been a while I've tried to make actual calls, with my last
experience (perhaps 2 months ago) was not successful in establish calls
to another Guix System user. I've definitely used it successfully in
the past.

Toggle quote (20 lines)
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Divya Ranjan <divya@subvertising.org> writes:
>>
>>> Hello again Giovanni,
>>>
>>> I’ll just go ahead and CC some old developers from Guix who were
>>> initially part of bringing Jami to Guix. Found them by searching down
>>> the mailing list[0].
>>>
>>> Hopefully y’all can guide us a bit with regards to where things are going wrong.
>>
>> I'm guessing it's simply getting a bit dated?
>
> I guess you are guessing the Jami I'm running is a little bit dated: I'm
> using the last available package in guix, please see the subject.
>
> Or are you guessing that 20240524.0 packaged in Guix is a little bit
> dated?

The later, yes. The latest stable release 20241126, and there are
recent nightlies as well.

Toggle quote (15 lines)
> Anyway...
>
>> In my experience, as soon as you fall one on a few stable releases
>> behind, you start experimenting more problems. I'm not sure if Jami
>> is supposed to be backward compatible with previous versions, but even
>> if it was, it's probably not super well tested.
>
> As I reported in the first message of this bug report thread, the issue
> I'm [1] experiencing it's _only_ when running Jami 20240524.0 on a Guix
> System, the very same version - installed via guix as package manager -
> is running (very) well on Debian.
>
> Maybe it's just some missing dependency in the package definition that
> luckily is installed in on my Debian sistems?

I wouldn't expect something missing, but perhaps some service component
is Debian is behaving differently/e.g. NetworkManager, which Jami uses
to detect connection changes. I'm not sure. Or our nss-certs
certificates used on Guix System may be too old.

Toggle quote (4 lines)
> I'd like to help finding what is making running Jami problematic on a
> Guix System but I don't know what to do except reporting the logs I
> found (see my first message in the bug report)

Oh, apologies for missing that earlier; I thought you were comparing
different versions of Jami. That's indeed very curious/interesting that
the same Guix jami package would work on better on a foreign
distribution than on Guix System. I'm not sure how you could go to
debug this...

Perhaps you could compare their strace captures? You may find a hint of
a notable difference there. I use 'emacs-strace-mode' to open .strace
files I've generated with e.g.

Toggle snippet (3 lines)
$ strace -f -s600 -ojami.strace jami -d

--
Thanks,
Maxim
Divya Ranjan wrote 4 weeks ago
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 76231@debbugs.gnu.org)(name . Jan Wielkiewicz)(address . tona_kosmicznego_smiecia@interia.pl)(name . SW - Andrea Rossi)(address . andrea.rossi@swws.it)(name . Giovanni Biscuolo)(address . giovanni@biscuolo.net)
87r03wyexd.fsf@subvertising.org
Hello Maxim,

Toggle quote (6 lines)
> I'm guessing it's simply getting a bit dated? In my experience, as soon
> as you fall one on a few stable releases behind, you start experimenting
> more problems. I'm not sure if Jami is supposed to be backward
> compatible with previous versions, but even if it was, it's probably not
> super well tested.

Right, make sense. I check the logs and realized it’s actually packaging an old commit.

Toggle quote (4 lines)
> I'd suggest updating it (but as you noted, that's sadly often not
> trivial). I could provide some assistance if you'd like to pick up its
> maintenance.

Well, to be honest, I don’t exactly piece together how Jami gets packaged on Guix? Also, why do we need to package ffmpeg-jami separately? Can you give a brief idea of how it is packaged currently, and what are the caveats? I have a hunch that it should/can be done better, but not sure how exactly.


Regards,
--
Divya Ranjan,
Philosophy, Mathematics, Libre Software.

PGP Fingerprint: F0B3 1A69 8006 8FB8 096A 2F12 B245 10C6 108C 8D4A
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 76231@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76231
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help