**** BEGIN LOGGING AT Sun Nov 27 02:59:59 2016 Nov 27 07:32:59 Tofe: Good :) Well doing a rebuild is perfect for overnight :P Nov 27 07:33:04 morning BTW Nov 27 09:43:09 Morning Nov 27 09:43:34 Herrie: well, it's in several pieces, so I can't really just launch overnight :p Nov 27 12:08:17 Tofe: Ah OK, I thought it was only this one ;) Nov 27 15:35:43 Herrie: on the bright side, doesn't look like whatever was imported from messaging.library was used Nov 27 16:50:15 EricBlade: OK that's good ;) Nov 27 16:50:50 EricBlade: I need to fix the ls2 pub/priv roles still it seems Nov 27 16:51:02 And then remove the messaging.library. It might then work on LuneOS Nov 27 16:51:11 I could write up a bitbake recipe for it I guess Nov 27 17:17:05 there's a button in that IRC app that would delete all the groupchats in the synirc db, i seem to recall that there was a problem with the chat-threader, where things would get all mucked up, and i probably didn't figure out 100% if it was my app or chatthreader Nov 27 17:26:13 EricBlade: Yeah well our Chatthreader is rewritten from scratch :P Nov 27 18:22:52 good luck with it :-) Nov 27 18:39:23 Ericblade: I guess I need some of that... Getting quite some config errors still Nov 27 18:39:27 Will need a bit more time to debug Nov 27 18:47:21 hmm. what's erroring how? Nov 27 19:06:24 The service itself Nov 27 19:06:26 Let me pull a log Nov 27 19:06:39 Seems I needed to comment out the Messaging library in prologue.js as well Nov 27 19:06:45 Doing a reboot of VirtualBox noe Nov 27 19:06:46 now Nov 27 19:08:35 Steadily making progress it seems though: https://bpaste.net/show/9e80c3a1c06f Nov 27 19:08:42 Seems some minor db8 config issue now Nov 27 19:10:29 Hey there's my VirtualBox :P Nov 27 19:12:33 Hmmz doesn't look too bad as a start: http://tinypic.com/r/33kvmtk/9 Nov 27 19:12:47 This is in our rewritten Enyo 2 Messaging app :) Nov 27 19:17:03 nice! Nov 27 19:17:34 EricBlade: I have Nov 27 14:11:12 qemux86 LunaWebAppManager[518]: WARNING: 14:11:12.046: CONSOLE JS: SynIRC.activityFailed(): inError= {"errorText":"commandTimeout in com.ericblade.synirc.service/startActivity","errorCode":504,"exception":"Error: commandTimeout in com.ericblade.synirc.service/startActivity\n at Error (native)\n at Object.exports.Err.create (/usr/palm/frameworks/fo Nov 27 19:17:34 undations/version/1.0/node_module.js:1:1365)\n at null._onTimeout (/usr/palm/frameworks/mojoservice/version/1.0/node_module.js:1:13568)\n at Timer.listOnTimeout (timers.js:92:15)","returnValue":false} Nov 27 19:17:40 But I'll dig a bit more Nov 27 19:17:47 We're on NodeJS 4.4.x already Nov 27 19:18:02 not 7?! wat :-) Nov 27 19:19:57 that's odd.. that function just calls to activitymanager Nov 27 19:20:22 Well I had some DB kind errors before Nov 27 19:20:26 I need to see how all this works Nov 27 19:20:45 We didn't really test much with "user" developed services yet Nov 27 19:20:52 So they're on /media/cryptofs etc Nov 27 19:21:01 Not sure if all that works properly Nov 27 19:22:59 i can't see how that would time out, worst case activitymanager should return an error Nov 27 19:23:24 EricBlade: Well I see Nov 27 14:10:58 qemux86 webos-telephonyd[419]: [Telephony:SMS] Restarting activity "telephony-send-outgoing-sms" a few times just above that Nov 27 19:23:34 Could be our chatthreader needs some adjusting Nov 27 19:23:44 I think it was initially written with just SMS in mind ;) Nov 27 19:24:39 wherever node.js logs end up, there should be a startActivity result= line that says what the return from activityManager was Nov 27 19:25:26 if I remember correctly, Class::run(x) sends the result stored in x.result back to the caller .. but i could be wrong Nov 27 19:26:13 I should first sort this db kind error Nov 27 19:26:19 what is it Nov 27 19:26:22 Because that might cause havoc Nov 27 19:26:57 Ah ok Nov 27 19:27:00 That's my bad Nov 27 19:27:10 I used your old IPK and didn't push new kinds it seems :S Nov 27 19:36:30 OK the db config errors are gone now Nov 27 19:36:37 Still not sending Nov 27 19:36:43 Let me sideload legacy Messaging app Nov 27 19:36:45 To see if that works Nov 27 19:38:04 Test from Legacy messaging app Nov 27 19:38:10 Yup that works :S Nov 27 19:38:11 received Nov 27 19:39:59 Ok here's the problem: https://github.com/webOS-ports/org.webosports.messaging/blob/master/app/source/views/ThreadView.js#L203 Nov 27 19:40:17 That will need some tweaking Nov 27 19:41:04 yeah that does look like a bit of a prob Nov 27 19:41:38 my guess is that should use the capabilityProviders dbkinds.immessage Nov 27 19:45:24 Yeah legacy has quite a bit dealing with this it seesm Nov 27 19:46:03 https://bpaste.net/show/fa48ce1489fb Nov 28 01:39:28 Herrie: how does ports messaging app deal with it for non-SMS sources, such as purple? or doesn't it? Nov 28 01:39:51 Herrie: also i see that that SynIRC instance has been logged in for 5 hours. is it still working? :-D Nov 28 01:43:01 and that // NOTE that is there in the middle of sendMessage() was a bit of a pain point for having multiple accounts on a single service in webos.. it was easily possible to send a message from the wrong account Nov 28 02:07:05 someone also forked my sample messaging connector and made a connector for some other IM service.. https://github.com/xuepx/webos-fetion-messaging-connector Nov 28 02:26:15 Herrie: there's also my old Whatsapp connector.. https://github.com/ericblade/whazaa no clue how much that needs to be updated, if it's even still possible to get into whatsapp these days **** ENDING LOGGING AT Mon Nov 28 03:00:00 2016