libera/#maemo-leste/ Friday, 2024-08-09

Wizzupfreemangordon: in rtcom accounts plugins, for the ui, I am trying to make a matrix one but it doesn't let me edit+save, saying the account is empty, when it clearly is not16:20
WizzupI'm looking at rtcom-accounts-ui but it's not clear to me ye what is going wrong16:20
Wizzupyet16:20
Wizzuphm, I might have an idea.16:26
Wizzupnope, I'm properly lost16:41
Wizzupok, controlpanel launches a process..16:45
Wizzupthat explains16:45
Wizzupok, looks like I get16:46
Wizzup(rtcom-accounts-ui:7444): GLib-GObject-WARNING **: 16:48:47.583: invalid (NULL) pointer instance16:46
Wizzup(rtcom-accounts-ui:7444): GLib-GObject-CRITICAL **: 16:48:47.584: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed16:46
Wizzupok, it is rtcom_entry_validation_validate16:56
Wizzuplol, it's telling my that my password isn't valid16:59
Wizzupfreemangordon: uhm https://github.com/maemo-leste/rtcom-accounts-ui/blob/master/widgets/rtcom-username.c#L89517:04
Wizzup#0  g_set_error (err=err@entry=0x7fffffffc620, domain=1551, code=code@entry=4, format=format@entry=0x7ffff1f1112c "%s") at ../../../glib/gerror.c:58017:04
Wizzup#1  0x00007ffff1f05b03 in rtcom_username_validate (widget=<optimized out>, error=0x7fffffffc620) at rtcom-username.c:90217:04
Wizzup#2  0x00007ffff1f049a3 in rtcom_widget_validate (widget=widget@entry=0x5555559a4200, error=0x7fffffffc620) at rtcom-widget.c:25017:04
Wizzupso this is trying to parse/validate a server here, but my matrix username starts with '@'17:06
Wizzuplike: '@wizzup:host-here.com'17:07
Wizzupdsc_: ^ this is why17:07
dsc_Wizzup: ehm yeah17:11
freemangordonWizzup: you can tweak that18:17
Wizzupfreemangordon: yeah, so shall I allow '@' at the start then?18:27
dsc_tbh18:27
dsc_this format is stupid18:27
dsc_because on the Matrix side, you login with just the username18:28
dsc_so maybe introduce a `server` field18:28
dsc_and then ill fix it in -tank18:28
Wizzupwe have a server field18:28
dsc_ok18:28
Wizzupit's a tp param18:28
dsc_ill look into it in a bit18:28
Wizzuphow do other clients do it? user + server separately, or?18:29
Wizzupok18:29
dsc_Wizzup: mc-tool add tank/matrix sander string:account=@dsc:server.tld18:31
dsc_what is `account` here?18:31
dsc_just the account name for display right?18:31
WizzupI don't know, this is what I asked earlier :)18:34
dsc_:D18:34
Wizzupthe way I see it, the user= is superflous18:34
dsc_ill check18:35
dsc_Wizzup: when leaving out account from `mc-tool add`, the account will be 'enabled' but -tank never starts19:09
dsc_(after modifying tank.manager to remove the required 'account')19:10
dsc_i dont know what account is19:10
dsc_must be some mc-tool thing19:11
dsc_all mangager definitions (/usr/share/telepathy/managers) contain account as required param19:12
dsc_so can be anything, but let me confirm19:14
Wizzupdsc_: so I think you can ignore account19:18
Wizzupwell, I mean, our validation fails on it, potentially, but I think you read 'user' anyway19:19
WizzupI also have some local changes to the .manager file, but those aren't relevant here19:19
dsc_yes19:21
dsc_so just use a normal name for account and all is well :)19:21
Wizzuphm..19:24
WizzupI don't think that is possible, but I will try19:29
WizzupI think it might be19:29
Wizzupok19:29
freemangordonWizzup: sorry, dont; have time now, will look tomorrow19:38
WizzupI think we've got it currently19:47
sicelois there a general leste issue with roaming or something's wrong with my operator?21:02
sicelocan't get roaming to work on neither d4 nor n900 using same SIM. but roams fine with pmos (n900)21:03
sicelowith Leste's ofono, NetworkRegistration is always in 'denied' state.21:04
arno11sicelo: i usually use roaming without issue with leste. indeed maybe operator related ?21:13
Wizzupdid you set allowroamign to true?21:13
arno11sicelo: i use ofono script to enable it btw21:14
Wizzupfreemangordon: dsc_: https://github.com/maemo-leste/rtcom-accounts-ui/commit/03a77c1e63d0e77868499a9d34e49bc275339b7222:07
Wizzupdidn't push to master or anything22:07
Wizzupheh, with this change, hitting save just delete the account22:08
Wizzuplol..22:08
freemangordonWizzup: will have a look at it tomorrow22:09
freemangordonbut, does mc-tool allows adding account that starts with @?22:09
freemangordon*allow22:09
Wizzupfreemangordon: well right now hitting save just deletes the account... so22:16
Wizzupfreemangordon: sure it does22:16
Wizzup@ mc-tool22:16
freemangordonok, will have a look22:17
Wizzupa bunch more models are now available for maemo translate, fwiw22:29
sicelook, at least good to know roaming works for you :-)23:15
siceloas fo AllowRoaming - that's only for using data while roaming. Roaming itself doesn't need to be specifically enabled from ofono side.23:17
siceloi'll investigate this sometime soon.23:17
Wizzupsicelo: from my experience it does need to be enabled from ofono23:44
Wizzupit could also be picking not the best operator23:44

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!