libera/#maemo-leste/ Tuesday, 2022-03-01

lelIMbackK opened a pull request: https://github.com/maemo-leste/hildon-desktop/pull/18 (launcher: quote command sent to terminal emulator)00:02
uvosWizzup: ^^ trival correction to your patch00:02
Wizzupah00:03
Wizzupthis is the problem?00:03
uvosyes00:03
Wizzupok00:03
Wizzupmtg atm00:04
freemangordonuvos: abook *is* using whatever EDS provides07:23
freemangordonhttps://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-util.c#L18307:24
freemangordonand this works on a fresh installed system and there is no need the user to create anything07:26
freemangordonmaybe e_source_registry_ref_default_for_extension_name(registry, E_SOURCE_EXTENSION_ADDRESS_BOOK) gives better results, could you try that?07:29
freemangordonbut I still think e_source_registry_ref_builtin_address_book() is the right one to use07:30
freemangordonhmm, we have e_source_registry_ref_default_address_book too07:30
freemangordonI am not sure this is the correct one07:30
freemangordon"Returns the ESource most recently passed to e_source_registry_set_default_address_book() either in this session or a previous session, or else falls back to the built-in address book. "07:31
freemangordonwithout a-book having a means to control which is the default address book, I think it should stick to the built-in one07:31
freemangordonno hard feelings though, I just used whatever seemed appropriate back then07:34
freemangordonok, going to change to e_source_registry_ref_default_address_book, seems to work correctly07:41
freemangordonbut, we risk having contacts split in several address books07:41
freemangordonhmm, wait07:42
freemangordonuvos: I think I know what happened on your device07:42
freemangordonyou had to create new book to import because abook was never activated07:42
freemangordonbut, now abook is there, I think it will not be necessary to create, as there will already be the system book created because of e_source_registry_ref_builtin_address_book07:43
freemangordonoops07:43
freemangordonyeah, that one07:44
freemangordonIOW - I think abook using 'built-in address book' is the correct thing07:47
uvosfreemangordon: here is what sphone dose: https://github.com/maemo-leste/sphone/blob/96e0d1690daac7e3294c8dbfc3ee02173cef2d23/src/modules/contacts-evolution.c#L20511:40
uvosfreemangordon: this follows the default address book as selected in gnome-contacts, or using syncevolution cli11:40
uvosi think abook using its own  "built-in address book" is broken. it should create sutch a address book and make it default if there is no other default, but should display the default address book as selected by the user (and we should provide ui to select the default ofc)11:44
uvosotherwise abook will not interact well with other eds clients11:44
uvossystem address book exists either way11:48
uvosbut is only used for offline contacts by gnome11:49
uvosadding sync resources causes gnome to create more address books (one for eatch sync) this is quite sane11:49
freemangordonuvos: see, ossoo-abook uses whatever eds provides as adress book11:51
freemangordon*address11:51
uvoswell the code you linked has it use the builtin address book explicitly11:52
uvosthats not what eds provides as default11:52
freemangordonif you install EDS, it seems to automatically create "Personal" and this is provides as build-in address book11:52
uvosright11:52
uvosthats the offlien addressbook11:53
freemangordonand this is the default address book11:53
uvosthat is correct untill you set the default address book to be somehting else11:53
freemangordonwell, "system book"11:53
uvosas gnome-contacts or syncevo will do11:53
uvoswhen you create a sync acount11:53
uvosthen its broken11:53
freemangordonI understand, but you may set the default addressbook to LDAP or google or whatever11:53
uvosright and if i do that11:54
uvosabook breaks11:54
uvosreally abook should do what gnome contacts dose11:54
freemangordonyes, because it is not EDS replacement11:54
uvosand show all adress books11:54
freemangordonno, abook !=gnome contacts11:54
freemangordonabooks is way more than that11:54
freemangordonit aggregates address book + presence + actions11:55
uvosthats nice but its totaly useless if it dosent show contacts that are in eds11:55
freemangordonwe can't do that if we use google or ldap as addess book11:55
freemangordonit shows tha contacts that are in system address book11:55
uvoswell then its useless and broken11:55
freemangordonuvos: really, feel free to use whatever you like11:55
freemangordonosso-abook is what it is11:55
freemangordonit is not gnome-contacts or EDS replacement11:56
Wizzuppresence and actions don't depend on the eds backend though?11:56
uvospresence and actions really should be seperate from the gtk ui that is "abook" anyhow....11:56
Wizzupwhy?11:57
Wizzupit makes sense to me11:57
Wizzupwould you not want to see if a contact is online?11:57
freemangordonbecause android does it ;)11:57
uvosno11:57
uvosbecuse its a backend feature that is in the gtk2 ui code11:57
uvosi want presence information in my qt ui too11:57
uvosit should be something like libpresence or whatever11:58
freemangordonuvos: you understand what RE is, right?11:58
uvosthat gives eds contacts with extra information11:58
freemangordonor not11:58
uvosfreemangordon: yes and i think reing terrible implementations is a bad idea :P11:58
uvosbut this is of topic11:58
uvosthe point is abook is useless as a contacts dialog atm because it cant show contacts that are in eds11:58
freemangordonuvos: it might be terrible, but is the only implementation that does it11:58
Wizzupuvos: I think osso abook gives ways to resolve this for contacts11:59
freemangordonuvos: it does, as long as you youe system addressbook to import contacts into11:59
freemangordon*use11:59
freemangordonagain, abook was never meant to be EDS or gnome-contacts replacement11:59
uvosexcept i dont want to import contacts i want to share address books across devices12:00
freemangordonalso, how exactly it breaks if you use google abook as default?12:00
uvosit shows nothing12:00
uvosalso its not a google abook but thas irellivant12:00
freemangordonthis is not *breaks*12:00
freemangordonsee, if you want to make some progress on that, I would recommend to forget about labels like "useless" "terrible" etc, lower you attitude and explain the use-cases you think abook shall cover12:02
freemangordonotherwise we are just wasting time arguing12:02
uvosa adress book that dosent show contacts is farily useless12:03
uvosanyhow12:03
uvosi dont see how it would be a problem for abook to show the user selected default book12:03
freemangordonme neither12:03
uvoson a celan system that would be the eds created interal book anyhow12:03
freemangordonbesides, I don;t know what the side effects if you use LDAP addressbook (for example) would be12:04
freemangordonkeep in mind abook attaches lots of attributes and parameters to contacts, related to telepathy and whatnot12:04
freemangordonlike presence etc12:05
uvosit stores presence as attributes in eds?12:05
uvosreally?12:05
freemangordonyes, it does12:05
freemangordonwhy not?12:05
freemangordonthis is what vcf is for, no?12:05
freemangordonyou may put there whatever you like, as soon as it starts with X-12:06
uvosyeah but transient information like taht is a terrible idea12:06
uvossince it gets synced12:06
freemangordonthat was just an example12:06
freemangordonBTW, do you have access to the code?12:06
uvosso now you have all other devices syncing to that book downloading presence all the time12:06
freemangordonuvos: maybe presence was bad example12:07
freemangordonbut it stores lots of things12:07
freemangordonlemme extract one vcf from EDS12:07
uvosexample aside i shure hope it doent store that..12:08
freemangordonseems it does not12:10
* freemangordon checks what stuff gets attached12:10
freemangordonuvos: this https://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-contact.h#L49 and bellow12:11
uvosyeah this is farily broken12:12
freemangordonwhy so?12:12
uvosso it stores the tp hande for instance12:12
uvosthat braeaks if you export the book to another device12:12
freemangordonthis is attached to the contacts, not in EDS12:12
freemangordonthis does not get exported, for sure12:12
freemangordonIIUC12:12
uvoswell where is it storing that then?12:13
freemangordonOssoABooc contacts is EContact child12:13
uvosso it ends up in eds... no?12:14
freemangordonbut, iirc the code, it filters what is visible when it is casted to EVcard12:14
freemangordonnot all the info, IIRC12:14
freemangordonlike, it is atteched, but not stored12:14
freemangordon*attached12:14
freemangordonit is fairly complicated12:14
uvosif that is true12:14
uvosusing the default address book should not matter12:15
freemangordonalso, keep in mind this was never meant to work with online addressbook12:15
freemangordonthe next question - you choose an online addressbook and want to make a phone call12:15
freemangordonbut, network coverage is bad12:15
uvosits cached12:16
freemangordonso, basically you cannot dial a contact12:16
uvosno12:16
freemangordonthe whole book?12:16
uvoseds caches the whole book12:16
Wizzupright the eds address books aren't actually online12:16
uvosyes12:16
Wizzupthey are synced over eds12:16
Wizzupit's not a cache12:16
Wizzupit's a local copy12:16
Wizzupmuch like we do with syncevolution12:16
freemangordonalso, I think you still don;t understand how that works12:16
freemangordonif you create an online google account, all the contacts from there will appear in the addressbook12:17
freemangordonand you can merge them with contacts from whatevr addressbook you want to merge with12:17
WizzupI think you're not talking about the same thing(s)12:17
freemangordonnot reallyu12:18
Wizzupuvos said he used some gnome thing to set up remote address books copies using webdav12:18
Wizzupwhich is similar to what we do with syncevolution12:18
freemangordonbecause online accounts provide contacts through eds telepathy plugins12:18
Wizzupso any -write- isn't done automatically to the online one (I think), but will be done when network is avail12:18
Wizzupsure, that is different12:18
freemangordonsee, I think it costs nothing if we make the change12:19
freemangordonit is that I cannot test it here12:19
freemangordonuvos: do you have access to abook source code?12:20
uvoswierd question12:20
uvossure12:20
freemangordonnot really12:20
uvoswhy?12:20
freemangordonbecause repo is not public12:20
freemangordonI don;t know what access rights you have12:21
freemangordonhttps://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-util.c#L18312:21
freemangordondo you see ^^^12:21
uvosyes12:21
freemangordongreat12:21
uvosi thought it was public12:21
freemangordonno, it is still not12:21
uvosyes it is12:21
freemangordonmaybe we shall make it already, but that's another story12:21
uvosPublic12:21
uvosgithub says public12:21
freemangordonwerid12:22
freemangordonit was private12:22
freemangordonWizzup: do you know anything about that?12:22
WizzupI think we made it public a while ago12:22
WizzupI don't recall what and when12:22
freemangordonah, ok12:22
freemangordonseems I have missed that12:23
freemangordonthat's fine12:23
freemangordonuvos: so, could you change the call to e_source_registry_ref_builtin_address_book to e_source_registry_ref_default_address_book and see if it works for you?12:24
uvossure12:24
freemangordonwe have a potential issue there, as telepathy provided books can be made default in EDS and it will become a mess12:24
uvosi dont think thats a "mess"12:25
freemangordonit is, because those are read-only12:25
uvosso?12:25
uvosobv you should provide the user a ui to select the default one again12:25
uvosa different default one12:26
freemangordonand also appear in abook by using other channels12:26
uvoscould be a very simple cp plugin12:26
freemangordonwell, if such UI it to be written, it belongs to addressbook application anyways12:26
uvosi think it makes sence to have in in cp12:27
uvosbut either is fine12:27
freemangordonaddressbook application already has support for lots of things, so I really think this belongs to it12:27
freemangordon"has: in fremantle12:27
freemangordonmaybe a solution should be - do not allow selection of some addressbook backends, like "tp", "sim"12:29
freemangordonand if default addressbook backend is either of those, fallback to system address book12:30
freemangordonWizzup: if this turns to bring no issues, I think it should ease contacts import a lot12:33
Wizzupok12:35
Wizzupthe disk replacement should be in later today, great12:50
Wizzupdreamer: buZz: I don't suppose you'd find a way to print this for me? https://www.thingiverse.com/thing:5072251 :-D13:04
MartijnBraam[m]oh damn, I should print one of those :D13:06
Wizzupwell, print two :)13:06
Wizzup:D13:06
freemangordonuvos: https://github.com/maemo-leste/osso-abook/commit/22014ea07a9d7cf876dddc4079ce5b22fd75448013:07
freemangordonthis should fix your issue13:07
freemangordonbut not sure how it will work in general13:07
buZzWizzup: eh, i could print it at nurdspace maybe tomorrow13:08
buZzmy home printer is too small13:09
freemangordonhmm, why hildon stacked window appears as a separate window in tasknav?13:09
WizzupbuZz: if you could, and somehow get to dreamer, I'd meet him thursday13:12
WizzupbuZz: np if it's too short notice :)13:12
Wizzupfreemangordon: which app13:12
Wizzupfreemangordon: I have seen this in -some- qt apps13:12
Wizzupprobably something I need to fix in qt port13:12
buZznot sure i'm seeing dreamer before thursday :P13:13
buZzactually, he did mention coming by -tomorrow- :P13:14
buZzso perhaps ;)13:14
Wizzupif the stars align13:14
buZzinshabba13:14
Wizzupit'd help with the new maemo build machine13:14
buZzalrighty :)13:14
WizzupI can pay with a d4 is necessary :P13:14
Wizzups/ is / if /13:14
buZzhehe, well i have two now, my gf still keeps delaying trying it for bed-irc for a week :)13:15
buZzneed to test the battery on the second one, and got a replacement through dreamer, but he said capacity was pretty disappointing13:15
freemangordonWizzup: in modest13:15
Wizzupfreemangordon: hm, ok, have not seen that before13:16
freemangordonbut yeah, I have qalendar opened at the same time13:16
WizzupI have seen problems with qalendar13:16
freemangordonlemme check with it closed13:16
Wizzupmaybe it does something weird13:16
freemangordonhmm, yeah, qt somehow breack stacked windows even for gtk2 apps13:16
freemangordon*breaks13:16
Wizzupif you file an issue I can take a look13:17
Wizzupit's a bug in the qt port that maybe reveals a bug in h-d13:17
freemangordonWizzup: to repro: start qalendar, start modest, press "new message", go to tasknav13:17
freemangordonyeah, could be13:17
freemangordonok, will raise an issue13:18
WizzupI have to go out first13:18
Wizzupty13:18
freemangordonok13:18
Guest45Hey, I'm running Leste system image from February for Droid 4 and it seems I am not connected to the GSM network. The SIM card is in. I understand I need to install a meta package from an additional repository, but I don't know their link/name13:18
Wizzupuvos: could you help setting up sphone ^ ?13:20
* Wizzup afk13:21
buZzGuest45: isnt that on the wiki page?13:22
WizzupbuZz: I don't think it is13:22
buZzhttps://leste.maemo.org/Status/Phone13:22
buZz?13:22
buZzhmm, well, somewhat outdated perhaps?13:23
buZzalso https://leste.maemo.org/Motorola_Droid_4#Phone_Call13:24
Wizzupthe latter is way out of date13:24
Wizzupwe don't need to use any kind of AT stuff13:24
Wizzuphonestly that should probably go on a different page13:25
Guest45Okay, I can add the repo beowulf-devel and apt install sphone13:26
WizzupI think you also want hildon-connectivity-mobile13:28
Wizzupafk 4 real13:28
Guest45Thanks!13:33
buZzGuest45: let me know whats finally needed to do it :) maybe i'll edit that second link with the knowledge13:45
buZzWizzup: hmm, maybe i could customize that plate for you a bit ;)13:47
buZznice maemo logo into it13:47
WizzupbuZz: hehe neat14:30
Guest45I installed sphone and hildon-connectivity-mobile, rebooted, but the SIM symbol is striked by a red line and when trying to call I get the error "unable to transmit dial number via ofono". When checking the Settings app, under Phone I get "Cellular network not available"14:57
Wizzupdo you have a pin?14:58
Guest45Don't know if the problem is a missing setting or a script I have to run, or a physical problem14:58
Wizzupsudo /etc/init.d/,ofono restart14:59
Wizzuptry that14:59
Wizzupthis is a bug we have to fix14:59
Wizzupand then startup-pin-query or something14:59
Guest45I'm not sure if I don't have a PIN, will check14:59
Guest45Thanks, I get Unable to initialize SIM when I run startup-pin-query. I don't think I have a PIN on my SIM, but most likely I'm missing something else15:03
Wizzupdid you restart ofono?15:03
Wizzupthe ofono port needs a few fixes for stuff like this15:04
Wizzupmodem only reports sim 2 mins after boot and ofono does not pick up on it15:04
Guest45Yes, I restarted ofono15:06
Guest45I got disconnected from the chat. I restarted ofono. Just to make sure, I reinserted the SIM card15:12
siceloN900?15:13
bencohdid you check that the modem works with fremantle (maemo5) ?15:15
Guest45Droid 415:15
bencohoh, droid4 nevermind15:15
siceloyeah, me disappears too :-)15:16
Guest45However, I didn't do any modem enabling, if that's not done automatically15:16
Guest45I read: Modem is not enabled by default. enable-modem and online-modem scripts from ofono/test can be used to put modem online.15:16
siceloGuest45: do as if you want to turn on wifi .. then the modem turns on. at least that's what i recall in Leste15:17
Guest45However I don't know where is ofono/test15:17
sicelootherwise yes, you can at least test with ofono scripts. you may need to install them manually, `ofono-scripts` the package, iirc15:17
Guest45Okay, 'cause I couldn't find them with `locate'15:18
Guest45It worked, the enable-modem & online-modem were the missing pieces. Thanks all for the help!15:41
Guest45I can come back later with a list of steps I took to be able to use telephony15:42
uvosfreemangordon: thers a known qt bug that dose this: https://github.com/maemo-leste/bugtracker/issues/53315:56
uvosfreemangordon: also i noticed that stacked windows in gtk are also qutie buggy (also in fremantle)15:56
uvosfreemangordon: its pretty easy to make it stack the wrong windows, and do stuff like return to the stacked window of a totaly unrelated application when pressing back15:57
uvosfreemangordon: by eg. creating windows during a transition15:57
uvosalso the libhildon api is problematic (but not the xatom)15:58
uvossince it assumes there to be only one stack per process, this sortof breaks sphone since it has both sms ui and dialer in one process.15:59
uvosalso it should respect x11 window parenting15:59
Wizzupcalebtheythem[m4: ok, will send it tomorrow16:22
Wizzupcalebtheythem[m4: should I mark it as for repair? 'software needs fixing, is not mainline?' ;-)16:23
calebtheythem[m]wizzup: \o/ awesome! Thanks a lot!16:23
calebtheythem[m]ahaha16:23
calebtheythem[m]Definitely needs fixing :P16:23
freemangordonWizzup: hmm, https://phoenix.maemo.org/job/osso-abook-binaries/20/console16:24
freemangordonany clue?16:24
Wizzupfreemangordon: let me take a look16:24
Wizzupfreemangordon: I think I know what is up16:24
calebtheythem[m]sorry my old account still seems to be hanging out in this room, feel free to kick it (I can't log back in as matrix server is gone)16:24
Wizzupfreemangordon: yeah I rebooted the machine that hosts their ata over ethernet rootfs16:25
Wizzupthey'll be up soon16:25
freemangordonok16:25
freemangordonuvos: please test abook (once the build is ready) and LMK if it works for you16:26
freemangordonnon-system addressbook that is16:26
buZzeh, weird16:27
buZzmy fresh installed droid4 leste has no battery gauge icon?16:27
uvoswhat kind of battery do you have?16:27
uvoscat /sys/class/power_supply/battery/present?16:28
buZzeh16:28
buZzits '1'16:28
buZztabcompleting into /sys/class/power_supply/battery/ gave me a big delay though?16:29
buZzhmm16:29
buZzits a normal oldstock battery16:29
uvoshmm16:29
uvoscheck what upower thinks16:29
uvosupower -d | grep present:16:30
freemangordonWizzup: shall I restart the build?16:31
buZz'present: yes'16:31
buZz'icon name battery full' ?16:32
buZzhmm16:32
buZzweird, it shouldnt be full , its 4.061v16:32
uvosthats full16:32
uvosas far as upower is concernd16:32
uvos(also theres like 5% cap above that voltage)16:32
uvos(at best)16:32
buZzright, ok, but where's the toolbar icon thingy :P16:32
uvosno idea16:33
uvosmaybe the status module isent installed for some reason16:33
buZzis it a process i could start? i rebooted earlier and didnt come back16:33
uvosno16:33
uvosits a plugin of hildon-status-me16:33
buZzbut it was there after install to SD , and only disappeared after apt update/upgrade16:33
Wizzupfreemangordon: just a moment16:34
freemangordonbuZz: try with 'apt-get install hildon-meta'16:34
freemangordonI hope you didn;t play with the repos16:34
buZzi played nothing yet , afaik16:35
buZz'already the newest version'16:35
buZzaw16:35
freemangordonsorry, no idea16:36
freemangordonhave to run, ttyl16:37
Wizzupfreemangordon: should be building now16:40
uvosbuZz: try killing hildon-status-me16:55
uvosbuZz: also try runing it in shell with the various debug envars16:57
Wizzupwhich image is this btw?16:59
buZzmaemo-leste-1.0-armhf-droid4-20220206.img.xz16:59
buZzfrom https://phoenix.maemo.org/view/Images/job/leste-image-droid4/17:00
uvoswhere to did you upgrade?17:01
uvosdevel or stable?17:01
buZznowhere, only installed and did apt update;upgrade17:01
buZznothing else17:01
uvosthats upgrading17:01
uvosto latest stable17:01
uvoscould you try updateing to devel17:01
uvosmaybe we rebuilt the plugin17:01
uvosbut not the applicaiton and its causing issues loading it17:01
WizzupI don't think so17:01
WizzupI gave several friends this image just days ago17:02
Wizzupon d4s17:02
uvosfreemangordon: so that dident help @abook17:03
uvosfreemangordon: also i hangs when you click any of the abc etc scrolling categorys17:04
buZzWizzup: and didnt move em to devel?17:04
uvosfreemangordon: not sure if it did that before too or not17:04
WizzupbuZz: no, they are not on devel17:07
buZzhmmz, weird17:07
buZzkilling 'hildon-status-menu' did indeed fix it17:08
buZzsomewhat?17:08
* buZz tries a reboot17:08
buZzreboot makes it disappeared again17:14
buZzweird,  now its 'battery missing'17:15
buZz:(17:15
buZzaHA17:18
buZz'shaking droid4 hard' does make the battery non-missing :P17:18
buZzlol17:18
Wizzupuhhhh17:20
Wizzupbad contacts?17:20
buZzyeah could be, i'll try some stuff17:20
uvosthats wierd tho17:28
uvosbecause your sysfs reports the battery as avaialble17:29
uvosand it dose that whenever it has the thermistor connected17:29
uvosand thats the only pin cpcap-battery uses besides the main power ones (obv those are present)17:29
uvosmaybe its switching often and you cought it as available by accident17:30
uvosbuZz: you can also add "options cpcap-battery ignore_temperature_probe=1" to modprobe.d17:32
uvosif your thermistor/the pins are broken17:32
uvosobv try cleaning them first17:32
buZzyeah i'm hunting for my ipa17:35
buZzhousemates--17:35
Wizzup# btrfs replace status /mnt/raid/20:34
Wizzup0.2% done, 0 write errs, 0 uncorr. read errs20:34
Wizzupshould be done in a few hours20:35
freemangordonuvos: ok, you should give me instructions to repro your addressbook issue23:44
freemangordonre ABC buttons - I could have introduced an REing bug, will check23:45
freemangordonuvos: could you enable osso-abook debug logs (export OSSO_ABOOK_DEBUG=all) and provide the output?23:48

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