Dekko2 Developer Community Thread
-
@guru said in Dekko2 Developer Community Thread:
Is there any chance that anybody says something about the future of Dekko2 in UBports?
The last words I saw about that :
"[More information about Dekko2 development.
Dan is extremely busy with it. He is moving Oxide dependent elements towards support by qtwebengine. Not an easy task. If you want to help out, contact him at dekkoproject.org.](https://ubports.com/fr_FR/blog/notre-blog-1/post/ubuntu-touch-q-a-45-210)"
-
I have another new issue with Dekko2 and will file later a bug issue. In my IMAP mailbox sits a mail (sent by me from my company account to transfer two data files). This mail is presented in the list view of the mails without:
Subject:
From:
two lines ofbody preview
Only theavatar
, the info icon for attachments and the time of sending is shown.
Selecting this mail for view makes Dekko2 crash.In my MUA
mutt
the mail looks like this:Date: Wed, 8 May 2019 13:27:05 +0000 From: "Apitz,Matthias" <Matthias.Apitz@oclc.org> To: "guru@unixarea.de" <guru@unixarea.de> Subject: EGV [-- Attachment #1 --] [-- Type: text/plain, Encoding: quoted-printable, Size: 0,4K --] Vy 73 matthias -- Matthias Apitz Development Lead SunRise - OCLC GmbH mobile +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 What's the definition of a Legacy System? -- One that works! [-- Attachment #2: EigentuemerVersammlung.jpg --] [-- Type: image/jpeg, Encoding: base64, Size: 326K --] [-- image/jpeg is unsupported (use 'v' to view this part) --] [-- Attachment #3: EigentuemerVersammlung.odt --] [-- Type: application/octet-stream, Encoding: base64, Size: 17K --]
I could provide off-forum the full mail for debugging if someone is interested.
-
I've posted this in
Support
in the threadOTA-9 && battery drain
, but I think it goes better here:I'm far away from saying that there is no bug in Dekko2, but if finding below is a bug in Dekko2 or a new bug/feature/behavior in the OS is unclear. The high CPU utilization of
dekkod
is a result of reading from time to time again through one of its database files/home/phablet/.cache/dekko2.dekkoproject/database/qmailstore.db
(39 MByte in size) with tons ofllseek(2)
andread(2)
syscalls:[pid 22511] _llseek(9, 20623360, [20623360], SEEK_SET) = 0 [pid 22511] read(9, "\r\0\0\0\1\1o\0\1o\1\27\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024 [pid 22511] _llseek(9, 20625408, [20625408], SEEK_SET) = 0 [pid 22511] read(9, "\r\0\0\0\1\1v\0\1v\2\214\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024 [pid 22511] _llseek(9, 22777856, [22777856], SEEK_SET) = 0 [pid 22511] read(9, "\r\0\0\0\1\1s\0\1s\2\214\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024 [pid 22511] _llseek(9, 20626432, [20626432], SEEK_SET) = 0 [pid 22511] read(9, ^C"\r\0\0\0\1\1s\0\1s\2\225\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024 ...
In it log file it says about this:
[22511] May 13 07:24:41 [Debug] Action completed 96684008800466 result success [22511] May 13 07:26:39 [Warning] Would not determine server/action completing [22511] May 13 07:26:39 [Warning] Would not determine server/action completing [22511] May 13 07:26:40 [Debug] Running action ExportUpdatesRequest 96684008800468 [22511] May 13 07:26:40 [Debug] Running action ExportUpdatesRequest 96684008800469 [22511] May 13 07:26:41 [Warning] Unable to process malformed message removal record for account 4 [22511] May 13 07:26:41 [Warning] Unable to process malformed message removal record for account 4 [22511] May 13 07:26:41 [Warning] Unable to process malformed message removal record for account 4 [22511] May 13 07:26:41 [Warning] Unable to process malformed message removal record for account 4 [22511] May 13 07:26:41 [Warning] Unable to process malformed message removal record for account 4 ....
I think it's time to remove the Dekko2 installation completely and start again from scratch. The PITA is that there is no way to keep the configuration, one must configure all by hand from scratch. And this (mixing config values with data) is really a bug in Dekko2.
-
I have configured three
IMAP+SMTP
account in Dekko2 and set theCheck interval (minutes)
to 60 , hoping with 60 that the interval was in seconds, but not:phablet@ubuntu-phablet:~$ grep 'Running action' dekkod.log [13041] May 21 10:52:08 [Debug] Running action RetrieveMessageListRequest 56010668507137 [13041] May 21 10:52:08 [Debug] Running action RetrieveMessageListRequest 56010668507138 [13041] May 21 10:52:08 [Debug] Running action RetrieveMessageListRequest 56010668507139 [13041] May 21 10:53:28 [Debug] Running action RetrieveNewMessagesRequest 56010668507140 [13041] May 21 10:58:18 [Debug] Running action RetrieveNewMessagesRequest 56010668507141 [13041] May 21 10:58:23 [Debug] Running action RetrieveNewMessagesRequest 56010668507142 [13041] May 21 10:59:30 [Debug] Running action RetrieveNewMessagesRequest 56010668507143 [13041] May 21 11:01:41 [Debug] Running action RetrieveNewMessagesRequest 56010668507144 [13041] May 21 11:01:58 [Debug] Running action RetrieveNewMessagesRequest 56010668507145 [13041] May 21 11:03:02 [Debug] Running action RetrieveMessageListRequest 56010668507146 [13041] May 21 11:04:12 [Debug] Running action RetrieveMessageListRequest 56010668507147 [13041] May 21 11:04:15 [Debug] Running action RetrieveMessageListRequest 56010668507148 [13041] May 21 11:04:37 [Debug] Running action RetrieveMessageListRequest 56010668507149 [13041] May 21 11:04:39 [Debug] Running action RetrieveMessageListRequest 56010668507150 [13041] May 21 11:04:41 [Debug] Running action RetrieveMessageListRequest 56010668507151 ...
i.e. it tries every few seconds to get new messages. Why?
-
@guru said in Dekko2 Developer Community Thread:
I have configured three
IMAP+SMTP
account in Dekko2 and set theCheck interval (minutes)
to 60 , hoping with 60 that the interval was in seconds, but not:Ýou mean minutes not seconds right?
i.e. it tries every few seconds to get new messages. Why?
Not sure what you've done there (was your device turned on? were you using dekko in the meanwhile? was your network connection okay? have you restarted dekkod after you changed the config?) and there is not much left over from the log here...
I have two account configured and the interval set to 5 (minutes) and i can find this 5 minute cycle in the log. Here's a snippet how it looks like:
[3564] Mai 21 12:51:59 [Debug] Messaging : Push email established for account 2 "privat" [3564] Mai 21 12:51:59 [Debug] Action completed 15307263443778 result success [3564] Mai 21 12:51:59 [Debug] IMAP : "11" SEND a007 LOGOUT [3564] Mai 21 12:51:59 [Debug] IMAP : "11" RECV: * BYE Logging out [3564] Mai 21 12:51:59 [Debug] IMAP : "11" RECV: a007 OK Logout completed. [3564] Mai 21 12:52:22 [Debug] IMAP : "I:33" RECV: * OK Still here [3564] Mai 21 12:53:01 [Debug] IMAP : "I:32" RECV: * OK Still here [3564] Mai 21 12:54:22 [Debug] IMAP : "I:33" RECV: * OK Still here [3564] Mai 21 12:55:02 [Debug] IMAP : "I:32" RECV: * OK Still here [3564] Mai 21 12:56:22 [Debug] IMAP : "I:33" RECV: * OK Still here [3564] Mai 21 12:56:59 [Debug] Running action ExportUpdatesRequest 15307263443779 [3564] Mai 21 12:56:59 [Debug] Messaging : Setting imap strategy 25ImapExportUpdatesStrategy [3564] Mai 21 12:56:59 [Debug] IMAP : "11" About to open connection ...
-
@hummlbach said in Dekko2 Developer Community Thread:
I have configured three IMAP+SMTP account in Dekko2 and set the Check interval (minutes) to 60 , hoping with 60 that the interval was in seconds, but not:
Ýou mean minutes not seconds right?
No. First I have had set to 5 and as I could not see the 5-minutes break I thought, maybe it is meant in seconds (even if it says in minutes) and that's why I set it to 60 in the hope of 1 minute.
I will test again because I did not restarted
dekkod
after the change of the interval. -
I did:
- reconfigured all three account to 5 minute
IMAP
poll - deleted the
dekkod.log
- stoped
dekkod
- restarted Dekko2 app
Connection was fine on datamobile and suspend of the device set to off.
Below you will find a grep of the
dekkod.log
for the lineRunning action
and the line after which shows theIMAP
account number.The polling is not regular every 5 minutes.
$ grep -A1 "Running action" dekkod.log | sed 's/tion .*$/tion .../' [11971] May 22 10:17:57 [Debug] Running action ... [11971] May 22 10:17:57 [Debug] IMAP : "1" About to open connection ... [11971] May 22 10:17:57 [Debug] Running action ... [11971] May 22 10:17:57 [Debug] IMAP : "2" About to open connection ... [11971] May 22 10:17:57 [Debug] Running action ... [11971] May 22 10:17:57 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:18:13 [Debug] Running action ... [11971] May 22 10:18:13 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:20:33 [Debug] Running action ... [11971] May 22 10:20:33 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:20:43 [Debug] Running action ... [11971] May 22 10:20:43 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:23:07 [Debug] Running action ... [11971] May 22 10:23:07 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:23:09 [Debug] Running action ... [11971] May 22 10:23:09 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:23:17 [Debug] Running action ... [11971] May 22 10:23:17 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:23:28 [Debug] Running action ... [11971] May 22 10:23:28 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:23:30 [Debug] Running action ... [11971] May 22 10:23:30 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:23:38 [Debug] Running action ... [11971] May 22 10:23:38 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:23:53 [Debug] Running action ... [11971] May 22 10:23:53 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:28:02 [Debug] Running action ... [11971] May 22 10:28:02 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:28:39 [Debug] Running action ... [11971] May 22 10:28:39 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:28:47 [Debug] Running action ... [11971] May 22 10:28:47 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:29:03 [Debug] Running action ... [11971] May 22 10:29:03 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:29:05 [Debug] Running action ... [11971] May 22 10:29:05 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:30:29 [Debug] Running action ... [11971] May 22 10:30:29 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:30:44 [Debug] Running action ... [11971] May 22 10:30:44 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:31:15 [Debug] Running action ... [11971] May 22 10:31:15 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:33:51 [Debug] Running action ... [11971] May 22 10:33:51 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:33:59 [Debug] Running action ... [11971] May 22 10:33:59 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:34:07 [Debug] Running action ... [11971] May 22 10:34:07 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:34:16 [Debug] Running action ... [11971] May 22 10:34:16 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:36:22 [Debug] Running action ... [11971] May 22 10:36:22 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:36:30 [Debug] Running action ... [11971] May 22 10:36:30 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:36:33 [Debug] Running action ... [11971] May 22 10:36:33 [Debug] IMAP : "3" SEND a004 SELECT Archive -- [11971] May 22 10:39:05 [Debug] Running action ... [11971] May 22 10:39:05 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:39:18 [Debug] Running action ... [11971] May 22 10:39:18 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:39:21 [Debug] Running action ... [11971] May 22 10:39:22 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:39:27 [Debug] Running action ... [11971] May 22 10:39:27 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:40:29 [Debug] Running action ... [11971] May 22 10:40:29 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:42:19 [Debug] Running action ... [11971] May 22 10:42:19 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:42:26 [Debug] Running action ... [11971] May 22 10:42:26 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:42:36 [Debug] Running action ... [11971] May 22 10:42:36 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:42:50 [Debug] Running action ... [11971] May 22 10:42:50 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:44:26 [Debug] Running action ... [11971] May 22 10:44:26 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:44:33 [Debug] Running action ... [11971] May 22 10:44:33 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:44:57 [Debug] Running action ... [11971] May 22 10:44:57 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:44:59 [Debug] Running action ... [11971] May 22 10:44:59 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:45:28 [Debug] Running action ... [11971] May 22 10:45:28 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:46:33 [Debug] Running action ... [11971] May 22 10:46:33 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:47:56 [Debug] Running action ... [11971] May 22 10:47:56 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:48:04 [Debug] Running action ... [11971] May 22 10:48:04 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:48:07 [Debug] Running action ... [11971] May 22 10:48:07 [Debug] IMAP : "3" SEND a004 SELECT Archive -- [11971] May 22 10:50:08 [Debug] Running action ... [11971] May 22 10:50:08 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:50:15 [Debug] Running action ... [11971] May 22 10:50:15 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:51:54 [Debug] Running action ... [11971] May 22 10:51:54 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:51:55 [Debug] Running action ... [11971] May 22 10:51:55 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:53:34 [Debug] Running action ... [11971] May 22 10:53:34 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:53:42 [Debug] Running action ... [11971] May 22 10:53:42 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:53:45 [Debug] Running action ... [11971] May 22 10:53:45 [Debug] IMAP : "3" SEND a004 SELECT Archive -- [11971] May 22 10:55:18 [Debug] Running action ... [11971] May 22 10:55:18 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:55:24 [Debug] Running action ... [11971] May 22 10:55:24 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 10:55:28 [Debug] Running action ... [11971] May 22 10:55:28 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:56:58 [Debug] Running action ... [11971] May 22 10:56:58 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:57:09 [Debug] Running action ... [11971] May 22 10:57:09 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 10:57:37 [Debug] Running action ... [11971] May 22 10:57:37 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:57:45 [Debug] Running action ... [11971] May 22 10:57:45 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 10:57:47 [Debug] Running action ... [11971] May 22 10:57:47 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 11:00:26 [Debug] Running action ... [11971] May 22 11:00:27 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 11:00:28 [Debug] Running action ... [11971] May 22 11:00:28 [Debug] IMAP : "2" About to open connection ... -- [11971] May 22 11:01:22 [Debug] Running action ... [11971] May 22 11:01:22 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:01:31 [Debug] Running action ... [11971] May 22 11:01:31 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:01:38 [Debug] Running action ... [11971] May 22 11:01:38 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:01:44 [Debug] Running action ... [11971] May 22 11:01:44 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:01:50 [Debug] Running action ... [11971] May 22 11:01:50 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:24 [Debug] Running action ... [11971] May 22 11:02:24 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:30 [Debug] Running action ... [11971] May 22 11:02:30 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:36 [Debug] Running action ... [11971] May 22 11:02:36 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:39 [Debug] Running action ... [11971] May 22 11:02:39 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:49 [Debug] Running action ... [11971] May 22 11:02:49 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 11:02:49 [Debug] Running action ... [11971] May 22 11:02:49 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:52 [Debug] Running action ... [11971] May 22 11:02:52 [Debug] IMAP : "1" About to open connection ... -- [11971] May 22 11:02:55 [Debug] Running action ... [11971] May 22 11:02:55 [Debug] IMAP : "3" About to open connection ... -- [11971] May 22 11:02:58 [Debug] Running action ... [11971] May 22 11:02:59 [Debug] IMAP : "3" About to open connection ...
- reconfigured all three account to 5 minute
-
Thank you to Nicholas wiseman and his 'coach' (is that it ?) @hummlbach for the recent Suru Dark support. It's nice.
-
A big thank you from me too! Good work!
-
Accuracy : Of course, the thanks go to all those who make DEKKO 2 better (whether or not i know that they are working on this or that improvement) but this time more specifically to those who have set up the Suru Dark support !! because it's cool !