Monday, 2018-08-27

*** jvd__ is now known as jvd_03:39
*** zumbi_ is now known as zumbi07:21
*** frinring_ is now known as frinring07:46
dcalistejpetrell, may I ask you to give a look to https://together.jolla.com/question/188512/calendar-crash-when-deleting-entry-with-edited-date/ when you have time?09:13
dcalisteIt's related to remorse being called while model have refreshed already and recreated list items.09:13
dcalisteIt is more or less the same issue than https://github.com/sailfishos/sailfish-office/issues/10 that I corrected some years ago by making the model not recreate entries for already existing entries.09:14
dcalisteWe may apply the same solution here by not resetting the full model on event change. What do you think ?09:15
pvuoreladcaliste: what's the model that causes the crash? agendamodel should already do smaller updates instead of full reset.09:28
dcalistepvuorela, yes I'm currently looking at the code in nemo-qml-plugin-calendar.09:28
dcalistethe log of jolla-calendar (with additional debug) is:09:29
dcaliste- component created09:29
dcaliste- (edition done and accepted)09:29
dcaliste- component deleted09:29
dcaliste- new component created09:29
dcaliste- (delete triggered)09:29
dcaliste- crash well calling Remorse.itemAction()09:30
dcalisteFrom these series of event, I guess that AgendaModel is fooled to recreate the event on simple edition (like changing starting time).09:31
pvuorelaah right, so list item in main page changes when time gets changed.09:36
dcalistepvuorela: exact.09:36
dcalisteIt's related to the eventsLessTahn() I guess that is working on startTime().09:37
pvuorelanot sure if catching the time edit in agendamodel is full fix either. user could move the event to a different day.09:37
dcalistepvuorela: good point.09:37
explitdcaliste: r0kk3rz told me i can ping you about sailfish-secrets09:42
dcalisteexplit, I've seen your entry in tjc.09:42
dcalisteWhen did you created the master key ?09:42
explitdcaliste: Oh cool09:42
explitI created master key in Sailfish 2.2.0.29, than updated to cbeta 2.2.1.xx version09:43
dcalistecan you do in CLI:09:45
dcaliste- systemctl --user stop sailfish-secretsd09:45
dcaliste- export QT_LOGGING_RULES="*.*=true"09:45
dcaliste- devel-su -p sailfishsecretsd09:45
dcalisteYou should have some message about the opening of databases like Opened secrets database: "/home/nemo/.local/share/system/privileged/Secrets/org.sailfishos.secrets.plugin.encryptedstorage.sqlcipher/metadata.db"09:46
explitwill try now, thanks09:46
dcalistepvuorela: I agree that the solution should be fine elsewhere than the agenda model, with your remark that event may be moved to another day. Which moves the problem to handling remorse in that case and possibly move the page to the new day. Solution will be much more complicated. Need to think more about it.09:48
dcaliste"should be found"…09:49
explitdcaliste: OK, should i post you the message?09:51
dcalisteIf there is an error and you cannot guess what to do, yes.09:51
explitdcaliste: are you also on Telegram, so its simplier to send screenshoots?09:52
dcalisteSorry, no…09:52
explitok, no prob, will post here09:53
dcalisteUse my email address : login AT free.fr09:53
explitah ok, thanks09:53
dcalisteexplit: sorry maybe was not clear, my address is <my IRC pseudo> AT free.fr09:57
explitok, now its clear10:01
dcalisteexplit, by the way, you may list also these two directories (with devel-su -p):10:03
dcaliste- /home/nemo/.local/share/system/privileged/Secrets/lockcodecheck10:03
dcaliste- /home/nemo/.local/share/system/privileged/Secrets/initialsalt10:03
dcalisteBoth should contains a directory with a unique ID name like "ffad1e36-3433-4144-98c5-9bd5af29cf23"10:04
dcalisteexplit: when you are back, looking at the error you sent me and the code, it seems that looking in /home/nemo/.local/share/system/privileged/Secrets/lockcodecheck is the right direction.10:15
dcalisteThe key derivation plugin name should be there.10:15
dcalisteBut the value that is read there is wrong.10:16
dcalistePost here just the 'll' result of this directory.10:16
_explit_dcaliste: Is it possiblejust delete all keys and begin from 0 ?10:27
dcaliste_explit_: sorry was out for lunch. Yes you can delete all subdirs in /home/nemo/.local/share/system/privileged/Secrets/. This will obviously delete all secrets that you have already stored.11:07
dcalisteTechnically, I think, only the encryption storage can be deleted (with the lockcodecheck and initialSalt ones) because only this storage is using encryption keys.11:08
_explit_dcaliste: what command should i use to do this?11:48
dcaliste_explit_: just for me to understand possible corruption "ls -l /home/nemo/.local/share/system/privileged/Secrets/lockcodecheck"11:49
explitdcaliste:13:06
explitExPLIT:13:06
explit[nemo@Sailfish ~]$ devel-su13:06
explitPassword:13:06
explit[root@Sailfish nemo]# ls -l /home/nemo/.local/share/system/privileged/Secrets/lockcodecheck/13:06
explittotal 413:06
explitdrwxr-xr-x 2 nemo privileged 4096 May 31 18:42 f04a3a23-ee2a-43f4-af5f-a016dbe6415213:06
dcalisteexplit: Ok, so you have the new format. Can you also do a "ls -l" in that f04a3a23… directory ?13:07
explitdcaliste:13:11
explitExPLIT:13:11
explitssh nemo@192.168.2.1513:11
explitnemo@192.168.2.15's password:13:11
explitLast login: Mon Aug 27 15:01:01 2018 from 192.168.2.1013:11
explit,---13:11
explit| Sailfish OS 2.2.1.15 (Nurmonjoki)13:11
explit'---13:11
explit[nemo@Sailfish ~]$ devel-su13:11
explitPassword:13:11
explit[root@Sailfish nemo]# cd /home/nemo/.local/share/system/privileged/Secrets/lockcodecheck/f04a3a23-ee2a-43f4-af5f-a016dbe64152/13:11
explit[root@Sailfish f04a3a23-ee2a-43f4-af5f-a016dbe64152]# ls -l13:11
explittotal 1213:11
explitdcalste: delete the file0 / file1 / file2 is a bad idea?13:13
dcalisteexplit: can you save the content of the f04a3a23… directory somewhere for post mortem analysis ?13:14
explitdcaliste: of course i send you via email13:14
dcalisteThen you can wipe out the lockcodecheck directory and the org.sailfish.….encrypted.… storage directory, using "rm -rf /home/nemo/.local/share/system/privileged/Secrets/lockcodecheck"13:15
dcalisteand "rm -rf /home/nemo/.local/share/system/privileged/Secrets/org.sailfishos.secrets.plugin.encryptedstorage.sqlcipher"13:15
explitdcaliste: Thank you very much for your help13:22
explitdcaliste: i will send you the files13:22
dcalisteexplit: ok thank you, I will see with Venemo what may have caused the issue.13:37
lpcjoin #linux-kernel14:10
lpcHi, I have a mmc memory card reader that is detected as mmcblkX device on my computer. However, I need it to be considered as an SCSI device (sdX). Is this possible to achieve that using a special kernel configuration? Thanks.14:10
lpc(Sorry, wrong chat)14:10
r0kk3rzlpc: just symlink it with a udev rule to sdX14:13
lainwir3dHi everyone!14:49
lainwir3dHaven't been connected for a while ;-)14:49
lainwir3dso, on the topic, does anyone knows if it is possible to specify parameters for the app to be launched with apkd-launcher?14:50
lainwir3dI want to add "--disable-gpu" to google chrome apk launch14:50
lainwir3dsince I suspect the black screen I get on the jolla tablet might be because of this14:51
fledermausno idea, sorry14:58
fledermausask a question on tjc?14:58
lainwir3dyeah, will probably do that14:58
lainwir3dI'll try to fiddle with adb, maybe I might get it to launch the apk instead on apkd-launcher14:59
lainwir3dthanks anyway ;)14:59
leszekisn't it possible to disable gpu via about:flags?15:01
leszekat least as a workaround for testing15:01
lainwir3dleszek: it is possible, but the chrome app rendering canvas is full black15:14
lainwir3dso I can't see a thing no matter what url :P15:14
leszekuff15:14
maszloIs Sailfish 3 going to be available in the United States? In my search of the answer I have landed on a few pages that state "sorry, not available in your country" but with out detail.20:33
r0kk3rzyou mean sailfish X for xperia devices?20:34
maszloI have already purchased one of the Xperia XA2 devices with hope to be able to play in the Sailfish world20:34
maszloI know the Q3 isnt up for the release of the new build.  just curious if i bought a paper weight or not20:37
r0kk3rzwell it depends, i dont think sailfish x will be straight forwardly available from the USA20:38
r0kk3rzive heard of some people using vpns to get around the region guard, or you can build the adaptation yourself from sources20:38
maszloWhen you say Sailfish X, i thought that was a hand set that jolla released. is that the project using the sony devices?20:39
fledermaussailfish x is sfos for the sony experia handset(s) aiui20:40
r0kk3rzit was originally for the Sony Xperia X20:41
r0kk3rzbut has been expanded to the XA220:41
maszloWhat is the reason they are trying to avoid the US?20:42
r0kk3rzi believe its some kind of legal issue20:43
r0kk3rzor simply, a lack of legal clarity within jolla since they only sell it within the EEA20:43
maszlodo you have any reference what the software license costs?20:44
r0kk3rz€50 iirc20:45
maszlothats not bad, i have donated more than that to HTC 10 rom devs20:47
maszloI have only been about to play with sailfish on a nexus 7, but it obviously didnt have any alien dalvik support.20:48
Mister_MagisterHow to disable notifications on lock screen? Its privacy hole22:02
fledermaussettings → device lock → show notifications when locked22:06
Mister_MagisterKay found it22:11
Mister_MagisterThanks22:11
Mister_Magistermaszlo: nexus 7 2013 does have alien support :p22:12
*** feodoran is now known as Guest4598423:27
*** feodoran_ is now known as feodoran23:28

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