Thursday, 2020-11-12

*** zbenjamin is now known as Guest7553802:24
*** zbenjamin_ is now known as zbenjamin02:24
*** frinring_ is now known as frinring02:45
*** nyov is now known as Guest282704:15
gmcSo, vanganz is gone, but for future reference: i'm using the signal android app, that works fine, including access to contacts.. and it seems whisperfish, the native signal app, is also picking up pace again06:52
ThaodanGood Morning. I noticed when I switched to Sailfish OS  that closed of cloud services is something that you should move away from as supporting/using them is a cat and mouse game: they won't work relay able you put energy into them again and again. Its a battle that is lost from the beginning. I moved to the least power intensive way of using them for me by moving the hassle of supporting them from the phone to my server by using08:00
Thaodanbitlbee. I can bridge everything to IRC thanks to my bouncer everything is relay able, everything that goes wrong is just on my server and my phone is save.  Incidentally this also makes tracking go to waste as my location in their point of view newer changes and I don't provide any data from my phone.08:00
Nico[m]I do the same with Matrix ;p08:02
*** gigetoo_ is now known as gigetoo08:06
ThaodanYeah matrix is also good but harder to support.08:32
ThaodanMost clients are kinda meh.08:32
Nico[m]Working on it!08:52
ninewiseNico[m], you're working on a sailfish matrix client?08:54
ninewisedo link :D08:54
Nico[m]It's konheko on openrepos (since I'm a nheko dev). It is very barebones atm, waiting for OpenSSL 1.1 and university is busy atm...08:57
ninewiseunderstandably; I'm still bookmarking it, though09:01
dcalistechriadam, sorry to hijack you, do you still have 10 minutes ?10:00
dcalisteThanks a lot, it's about
dcalisteAre you aware of this issue and is iut already fixed ?10:01
Nico[m]Oh, the forum has private topics?10:02
dcalisteLost all contacts in UI (db file is still there but migration somehow failed) which is a bit annoying.10:03
dcalisteNico[m], it's the cbeta stuff ;)10:03
chriadamI think that is already fixed (hopefully).  There is a commit in qtcontacts-sqlite recently which changes the way DROP INDEX is used in some of the migration steps10:03
chriadamI have been unable to reproduce unfortunately10:03
ggabrieldcaliste: it's already fixed in the next RC10:03
chriadambut basically: some devices, who upgraded from some versions to some versions, have a case where they do not have two of the indexes10:03
Nico[m]Yeah, I was just surprised, that you can have topics only a few people can see :310:03
chriadamI don't know how... some historical spelunking would be required10:04
chriadamthe PR hopefully fixes that - but not sure how to repro / test properly... so not 100% sure10:04
dcalisteI've added the indexes by hand so the drop is not an issue anymore.10:04
ggabrielchriadam: def fixes it :)10:04
ggabrieldcaliste: did you reboot after adding the indexes?10:04
Nico[m]That the next relwase will be 4.0 was obvious from the git branches already :D10:04
ggabrielNico[m]: well, a 3.10 would be trolling ;)10:05
dcalisteggabriel : no I didn't reboot, sorry because I didn't see the point !10:05
ggabrieldcaliste: reboot10:05
dcalisteFor my knowledge, which service is renunning that requires to be resetarted from scratch ?10:06
Nico[m]ggabriel: why? Can't version numbers be arbitrary? Is there a big awesome feature to expect? Guess I'll know soon enough :D10:06
ggabrielNico[m]: it would just break the pattern. Indeed version numbers are arbitrary, as are numbers themselves, and mathematics fwiw10:06
Nico[m]Oh, I didn't know there was a pattern :D10:07
ggabrielwe did go from 2.9 to 3.0, right?10:07
chriadamdcaliste: apkd I think10:07
Nico[m]There was some discussion on the forums regarding the version number10:07
dcalisteggabriel, indeed reboot fixed the problem.10:07
chriadamsystemctl --user stop msyncd/contacts/commhistoryd/sailfish-eas + devel-su systemctl stop apkd, should suffice.10:08
ggabrielNico[m]: oh, no, we didn't :)10:08
Nico[m]And yes, you did, but I thought it was for other reasons :310:08
dcalisteThere are things I don't understand (which is an obvious sentence by itself).10:08
chriadambut might have to kill the user session also in case10:08
Nico[m]Or you didn't, I'm bad with numbers10:08
dcalisteAh, I see I should have done a lsof on the db to see services using it.10:08
ggabrielNico[m]: well, we jumped from 2.2 to 3.010:09
ggabrieldcaliste: it isn't that simple, since the db migration opens and then closes it (I think)10:09
dcalisteAnyway, I can reuse my phone, good, good. Thank you ggabriel and chriadam.10:10
dcalisteStill have to report some regressions on websites with gecko 60...10:11
chriadamdcaliste: sorry for the trouble.  definitely my bad.10:12
chriadamthanks to everyone for reporting such issues :-)10:13
dcalisteOh, no problem, too bad I didn't think about other processes accessing the db concurrently otherwise I would have solve it yesterday by myself...10:13
ggabrielchriadam: tbf, I think it was fixed before it was first reported. I would use the "if exists" on every drop, fwiw - I recall doing this on a totally unrelated project for exactly the same reason10:13
chriadamindeed, not sure why we didn't originally.  perhaps an old version of sqlite didn't support the syntax?  or just an oversight.  not sure.10:15
ggabriels/it was fixed/you fixed it/ (credit where it's due ;) )10:15
chriadamwell, it was spiiroin who provided all the information I needed to fix it10:15
chriadamall I did was monkey press some keys and pray :-D10:15
chriadambut I'm glad that you were able to verify that the fix worked for you also, as I had no way to repro personally10:15
chriadamthanks again10:15
ggabrielreproducing is basically going back to 3.9, dropping those indexes manually and then upgrading, but that's a faff10:16
ggabrieland no worries, I'm glad it was fixed ;)10:16
chriadamwell, sure, but why would dropping the indexes be required?  e.g. I tried: downgrade.  rm -rf the db.  restart phone.  import vcard.  db has old schema.  upgrade.10:17
chriadambut in this case, the "old schema" still had those indexes - so it must have been a mismatch earlier on (than just the most recent version)10:17
chriadame.g. something back when the indexes were first added?  not sure.10:17
ggabrielthere has certainly been some db upgrade shenanigans10:18
ggabriel*maybe* self inflicted, my db is not only from my first j1, the way I upgraded devices was by tar/untar my home, which isn't technically supported10:19
chriadamthere must have been a schema upgrade mutation which wasn't versioned properly.10:19
chriadamno, it was definitely a "code problem" as multiple people have hit it10:19
chriadami.e. my fault10:19
chriadambut I haven't been able to bisect exactly where / how in history.10:19
chriadamwell, sledgehammer solution hopefully works.10:19
ggabrielhappy to give you my .schema if you're in the mood for comparing, just shout10:20
chriadamif you could email the broken one to chris dot adams at jolla dot com I'd appreciate it, sure.  but that by itself unfortunately isn't enough to determine which version-upgrade-steps occurred to get it to that point haha.10:21
chriadam(e.g. there are stop release upgrades vs normal upgrades, depending on whether you ever did factory reset or not, etc)10:22
ggabrielsorry, I don't have broken one any more :) I meant if you want to compare my "up to date production" .schema with what is supposed to be10:22
chriadamoh.  nah, if it works I assume it's correct, now.10:22
dcalisteI have the broken one, I saved the db files before messing with them.10:23
chriadamthat'd be helpful if you could send me that schema, dcaliste10:23
chriadamdon't need the data, just the schema10:23
chriadamthanks very much10:23
chriadamit's getting late here - anything else to discuss?  if not, I will head off :-)10:24
dcalisteNo no I'm fine now, thanks for your time.10:24
chriadamno problem of course, thank you :-)10:24
*** dirkx__ is now known as dirkx10:40
Mister_MagisterIs there way to use DeviceInfo in c++?19:54
Mister_Magisteris there some header or something?19:54
Mister_Magisteradd systemsettings to .pro and inclue "deviceinfo" or "aboutsettings"20:10
Mister_Magisterbig brain time20:12

Generated by 2.17.1 by Marius Gedminas - find it at!