Wednesday, 2021-05-26

*** jrt is now known as Guest8618302:05
Nico-old-defunctHow do I figure out on what file the tracker meta data extraction process chokes?10:13
Thaodanthere is a command line tool for tracker that could show it11:25
Thaodantracker status?11:26
Nico-old-defunctI played around with that a lot, but I only figured out how to show the status and restart the deamon, if it crashes, not what files it is extracting metadata from11:26
Thaodandbus could help I think11:37
Thaodanuse gdbus11:37
Nico-old-defunctI'll try, I think I saw the dbus name somewhere11:41
inzYou could also try running tracker-extract from command line with env var G_MESSAGES_DEBUG=all11:45
Nico-old-defunctThat sound easier, I'll try that, thanks!11:45
Nico-old-defunctHm, maybe it is supposed to exit, since it returns 011:49
Nico-old-defunctBut my indexing is still stuck at 75%11:49
inzAh, apparently it's changed since last I've debugged it, sorry for the bad clue.11:52
Nico-old-defunctNah, it helped me alread, now I at least found some dbus names :D11:53
Nico-old-defunctMonitoring the Miner process, it goes to here and never seems to make progress after that: /org/freedesktop/Tracker1/Miner/Files: org.freedesktop.Tracker1.Miner.Progress ('Processing…', 0.75, 17)11:57
Nico-old-defunctNot sure what other interfaces I could monitor?11:57
Nico-old-defunctOkay, when it fails, I get 2 errors:12:15
Nico-old-defunct(tracker-miner-fs:28882): Tracker-CRITICAL **: 14:14:17.472: Could not execute sparql: GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: Not a ISO 8601 date string. Allowed form is [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]12:15
Nico-old-defunct(tracker-miner-fs:28882): GLib-GIO-CRITICAL **: 14:14:17.473: g_file_hash: assertion 'G_IS_FILE (file)' failed12:15
Nico-old-defunctAny idea, how to track down, where that is coming from?12:15
Nico-old-defunctHm, I'll try to strace it12:18
Nico-old-defunctOkay, I got the failing sparql query12:38
Nico-old-defunctSo, which Jolla person do I bother, if I know where my issue is, but don't know where the code is?12:46
Nico-old-defunctBasically this: https://forum.sailfishos.org/t/index-for-media-files-documents-not-updating-xperia10-ii-4-1-0-23/6328/10?u=kuroneko12:47
inzWow, that is quite a ways up in the future xD12:48
inzThe analysis on the forum post (and the error message) is wrong, milliseconds are not the problem12:50
Nico-old-defunctOh, lol, I didn't even see that xD12:50
inzThe timestamp 292276973 years in the future is the problem12:50
*** ersatzmaus is now known as fledermaus12:51
Nico-old-defunctYep12:51
Nico-old-defunctI just looked at the format and saw that milliseconds aren't allowed12:51
Nico-old-defunctSo it could also choke on that, but the timestamp is just bad in general :D12:52
inzMillis are in the code12:53
inzBut year is limited to 4 digits12:53
Nico-old-defunctMhm12:54
Nico-old-defunctWell, I added some context12:54
Nico-old-defunctmodification timestamp from a stat call is actually the dawn of time, 197012:54
Nico-old-defunct(context to the forum post)12:55
inzThe error is from https://git.sailfishos.org/mirror/tracker-miners/blob/master/src/libtracker-miners-common/tracker-date-time.c#L7212:55
Nico-old-defunctAlso, where does the following format allow milliseconds? [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]12:55
inzAs I said, the error is wrong12:56
Nico-old-defunctAh12:56
Nico-old-defunctNow I get it, my bad12:56
inzOn that line the (\\.[0-9]+)? handles millis12:56
Nico-old-defunctYep12:56
inzINT64_MAX/365.25/24/60/60-30 is 29227102301512:57
inzWhich sounds pretty close to what the forum post has12:58
Nico-old-defunctYeah12:58
Nico-old-defunctI think there is just no date, since stat return 197012:58
Nico-old-defunctThe failing INSERT DATA call is here: https://git.sailfishos.org/mirror/tracker-miners/blob/master/src/tracker-extract/tracker-extract-decorator.c#L18313:02
Nico-old-defunct(It matches up with the line breaks correctly)13:02
Nico-old-defunctI think13:02
Nico-old-defunctActually, maybe not :D13:03
Nico-old-defunctSo if the file has no modification date, it gets set to 0: https://git.sailfishos.org/mirror/tracker-miners/blob/master/src/miners/fs/tracker-miner-files.c#L208513:11
Nico-old-defunctWhich probably causes issues with the formatting function?13:12
Nico-old-defunctHm, that's a relatively new change? https://git.sailfishos.org/mirror/tracker-miners/commit/c6beebb1c55d5f9582b1e332683e787ca96ea34913:14
Nico-old-defunctNow that I think about it, if that function returns a date equivalent to -1 on error, that would be fine on 32bit, but it would break on 64bit. Since any 32bit year should still only have 4 digits.13:18
riniguswho I am supposed to ping if I want to remove an app from Jolla Store? "OSM Scout Server Module: Route" is not used anymore for a while and should be removed14:01
rinigus... let's see if it works - asked to remove the app as a part of "new" submission14:02
*** frinring_ is now known as frinring14:18
Mister_Magisterhow do i sync target with qtcreator?15:13
Mister_Magisterahh just package-install even tho package was installed synces them15:14
Mister_Magisterbut it would be nice to have separate command15:14
bionade24TEst20:35
Nico-old-defunctTest failed20:36
*** nyov is now known as Guest6065522:48

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