Process-one
ejabberd
ejabberd@conference.process-one.net
Saturday, September 1, 2018< ^ >
zinid has set the subject to: ejabberd discussions: https://docs.ejabberd.im
Room Configuration
Room Occupants

GMT+0
[00:02:54] genofire leaves the room: offline
[00:03:04] xinit leaves the room
[00:03:06] genofire leaves the room
[00:03:08] genofire leaves the room
[00:06:37] DeathStar leaves the room
[00:17:42] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:27:52] 404 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:28:22] xinit leaves the room
[00:28:48] Neustradamus leaves the room
[00:29:37] chrys leaves the room: Machine going to sleep
[00:33:06] lorddavidiii leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:33:34] lorddavidiii leaves the room: Connection failed: connection closed
[00:36:05] cippaciong leaves the room
[00:37:35] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:41:48] jeremy leaves the room: Machine going to sleep
[00:43:08] 404 leaves the room
[00:48:14] xinit leaves the room: Disconnected: Replaced by new connection
[00:50:32] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:05:02] Akasch leaves the room
[01:08:33] zinid leaves the room: Stream closed by us: Replaced by new connection (conflict)
[01:12:25] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:13:40] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:18:05] fuvuv leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:18:19] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:22:02] mrDoctorWho leaves the room: Disconnected: Replaced by new connection
[01:38:14] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:38:50] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:39:32] lorddavidiii leaves the room: Connection failed: host is unreachable
[01:48:33] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:54:46] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:54:58] ta leaves the room
[02:02:39] robert_mobil leaves the room: Stream closed by us: Replaced by new connection (conflict)
[02:28:30] Licaon_Kter leaves the room
[02:34:30] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:52:27] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:01:30] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:05:14] zinid leaves the room: Stream closed by us: Replaced by new connection (conflict)
[03:42:45] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:53:54] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:54:23] aditya_borikar leaves the room
[04:04:28] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:19:43] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:21:38] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:43:38] aditya_borikar leaves the room
[04:44:28] aditya_borikar leaves the room: Stream closed by us: Replaced by new connection (conflict)
[04:46:13] bowlofeggs leaves the room: Connection failed: connection timed out
[04:52:37] aditya_borikar leaves the room
[04:53:48] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:58:41] aditya_borikar leaves the room
[05:17:50] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:18:27] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:22:01] beri leaves the room
[05:24:23] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:32:12] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:33:28] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:42:56] <zinid> you won't be able to use different databases for different domains in future releases
[05:46:31] dion leaves the room
[05:48:02] marek leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:48:19] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:52:38] Man_Life leaves the room: Logged out
[05:58:23] tyler leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:04:49] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:10:08] tyler leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:11:24] fuvuv leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:17:56] tyler leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:24:18] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:27:27] aditya_borikar leaves the room
[06:29:54] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:36:41] lorddavidiii leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:53:03] adrien leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:53:38] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:55:00] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:55:15] aditya_borikar leaves the room
[06:57:14] srgcdev leaves the room
[06:57:50] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:58:31] robert_mobil leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:02:12] aditya_borikar leaves the room
[07:03:14] fp leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:04:22] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:05:07] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:05:17] aditya_borikar leaves the room
[07:06:55] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:11:27] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:15:37] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:17:33] beri leaves the room
[07:24:36] pod leaves the room
[07:25:18] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:33:42] aditya_borikar leaves the room
[07:45:19] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:47:50] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:48:59] aditya_borikar leaves the room
[07:54:26] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:57:33] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:02:01] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:03:13] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:07:40] Man_Life leaves the room: Logged out
[08:08:01] fuvuv leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:09:45] spicewiesel leaves the room
[08:22:23] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:24:29] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:28:10] mimi89999 leaves the room
[08:29:00] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:33:26] ChaosKid42 leaves the room
[08:47:53] UsL leaves the room: Disconnected: Replaced by new connection
[08:51:00] xinit leaves the room
[08:51:32] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:53:33] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:55:42] sindrake leaves the room: Disconnected: Replaced by new connection
[08:59:16] ChaosKid42 leaves the room
[08:59:34] ChaosKid42 leaves the room
[09:00:23] aditya_borikar leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:07:45] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:08:06] <mightyBroccoli> zinid: why is that?
[09:08:48] <zinid> mightyBroccoli: because not every table is possible to split at different databases
[09:09:05] <zinid> Routing or bosh table for example
[09:09:18] cippaciong leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:09:36] <zinid> They are not linked to any virtual host
[09:11:30] <zinid> I also think the task you're trying to solve by this splitting is possible to do at database engine level
[09:16:04] <mightyBroccoli> Hmm OK that's a really good point.
Thank you for clearing that up. 😊
I will migrate from the old schema to the new one in a few days that's why I am curious about that.
[09:16:30] ludo leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:20:47] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:21:07] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:28:05] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:30:42] \(*.*)/ leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:32:04] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:38:36] bammes leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:38:55] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:45:24] mrDoctorWho leaves the room
[09:45:34] sindrake leaves the room: Disconnected: Replaced by new connection
[09:48:16] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:50:50] fp leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:52:03] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:53:35] Andrew Nenakhov leaves the room
[09:53:35] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:56:14] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:59:39] srgcdev leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:02:21] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:03:08] vanitasvitae leaves the room
[10:04:14] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:04:21] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:05:31] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:05:36] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:06:57] rom1dep leaves the room
[10:07:49] vanitasvitae leaves the room
[10:09:01] Akasch leaves the room
[10:12:23] aditya_borikar leaves the room
[10:13:59] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:16:09] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:17:32] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:32:16] sindrake leaves the room
[10:35:44] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:42:21] vanitasvitae leaves the room
[10:45:10] vanitasvitae leaves the room
[10:45:11] spicewiesel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:46:24] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:48:23] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:48:40] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:49:42] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:50:54] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:53:06] \(*.*)/ leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:56:21] Andrew Nenakhov leaves the room
[10:58:04] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:05:07] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:05:42] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:06:14] fuvuv leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:06:40] mightyBroccoli leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:08:11] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:08:30] Andrew Nenakhov leaves the room: Connection failed: connection closed
[11:16:23] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:25:23] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:26:28] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:35:37] lorddavidiii leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:40:50] spicewiesel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:42:23] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:43:11] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:43:20] spicewiesel leaves the room
[11:45:42] marc leaves the room
[11:46:08] mrDoctorWho leaves the room
[11:46:28] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:47:27] VC leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:47:52] marc leaves the room
[11:50:09] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:51:52] mrDoctorWho leaves the room: Disconnected: Replaced by new connection
[11:59:56] marc leaves the room
[12:00:05] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:11:56] marek leaves the room: Machine going to sleep
[12:20:56] robert_mobil leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:22:25] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:26:36] robert_mobil leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:34:06] Licaon_Kter leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:34:16] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:35:39] zuglufttier leaves the room
[12:40:05] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:40:27] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:41:53] carlos leaves the room
[12:49:13] mimi89999 leaves the room
[12:49:18] jannic leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:54:10] mimi89999 leaves the room
[12:55:56] UsL leaves the room
[13:02:38] robert_mobil leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:03:27] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:05:23] <vanitasvitae> zinid, can you point me to a guide on how to migrate from mnesia to sqlite?
[13:05:48] <vanitasvitae> I suspect that I probably just have to export the mnesia db to an sql file and then change ejabberds config?
[13:06:42] <vanitasvitae> What parameter do I have to pass to `ejd2sql:export/2` instead of the 2 to get sqlite output format?
[13:07:29] <vanitasvitae> Or is that not the way to do it?
[13:12:07] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:13:16] zuglufttier leaves the room
[13:17:50] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:20:31] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:29:24] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:29:27] fuvuv leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:29:54] vanitasvitae leaves the room
[13:29:54] vanitasvitae leaves the room
[13:37:09] ThUnD3r|Gr33n leaves the room: Connection failed: timeout
[13:41:29] chrys leaves the room: Disconnected: Replaced by new connection
[13:50:10] UsL leaves the room: Disconnected: Replaced by new connection
[13:53:51] mrDoctorWho leaves the room
[13:55:11] spicewiesel leaves the room
[13:55:20] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:00:01] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:01:04] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:01:30] mrDoctorWho leaves the room
[14:06:44] Andrew Nenakhov leaves the room: unknown reason
[14:09:21] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:10:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:12:42] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:12:53] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:15:04] UsL leaves the room
[14:17:27] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:25:00] <zinid> vanitasvitaeβ€Ž, is that related to your problem with pubsub?
[14:25:06] lorddavidiii leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:28:35] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:35:01] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:37:24] lorddavidiii leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:37:46] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:38:22] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:45:36] UsL leaves the room
[14:46:08] <zinid> debalance, what do you think about https://github.com/processone/ejabberd/issues/2592 ?
[14:49:09] Aditya Borikar leaves the room
[14:49:24] <debalance> I'll look into it tomorrow.
[14:50:01] <debalance> I'll also respond to the AppArmor issue, the guy is mixing Ubuntu and upstream packages.
[14:50:15] lorddavidiii leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:56:47] marc leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:56:51] fp leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:57:11] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:58:36] <zinid> debalance, thanks a lot! Yes, no hurry
[15:06:48] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:12:34] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:13:50] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:14:11] mrDoctorWho leaves the room
[15:14:24] bowlofeggs leaves the room: Connection failed: connection timed out
[15:15:11] <vanitasvitae> zinid, Now resetted my ejabberd conf to get into this chat πŸ˜€
[15:15:22] <vanitasvitae> I'm not sure if both problems are related
[15:15:42] <vanitasvitae> however, I encountered #2592 while trying to fix the pubsub issue
[15:16:16] xinit leaves the room
[15:18:03] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:18:24] <zinid> vanitasvitae, do you have pubsub working with other stuff like OMEMO and avatars?
[15:18:43] <vanitasvitae> I think so
[15:18:59] <vanitasvitae> At least other users can write to me using OMEMO
[15:21:13] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:23:50] <zinid> can you reproduce the problem easily?
[15:23:55] <zinid> if yes we can debug it
[15:25:17] <zinid> connect to ejabberd using remsh (`ejabberdctl debug`) and run:
> erlang:system_flag(backtrace_depth, 20).
[15:25:39] <zinid> then reproduce the problem, the stacktrace will be much longer now and will have more info (currently it's truncated)
[15:25:56] <zinid> after that set it back to 8:
> erlang:system_flag(backtrace_depth, 8).
[15:28:44] sindrake leaves the room
[15:29:59] <zinid> vanitasvitae, ?
[15:30:18] <vanitasvitae> oh sorry, was not paying attention to the chat πŸ˜€
[15:30:20] <zinid> vanitasvitae, I need to go soon and will be back late
[15:31:01] sindrake leaves the room
[15:33:12] <vanitasvitae> I'll update the issue
[15:33:32] <zinid> thanks
[15:34:25] <vanitasvitae> Hope that helps πŸ™‚
[15:36:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:36:10] ChaosKid42 leaves the room
[15:36:13] adrien leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:39:02] <zinid> much better, yes
[15:39:53] <zinid> this is not DB issue
[15:41:29] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:42:54] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:43:49] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:44:01] vanitasvitae leaves the room
[15:45:17] <zinid> but the stacktrace is odd as fuck
[15:45:26] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:45:49] <zinid> damn, I hate pubsub's code
[15:45:57] tyler leaves the room
[15:46:34] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:47:35] <404> vanitasvitae, I had to delete all the "pubsub" and "privacy" files for migration to postgresql
[15:48:08] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:48:34] <zinid> vanitasvitae, what's your mod_pubsub config?
[15:49:21] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:50:05] marek leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:50:30] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:50:43] <vanitasvitae> zinid, https://github.com/processone/ejabberd/issues/2588#issuecomment-417868401
[15:52:11] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:52:54] <zinid> vanitasvitae, I guess there is something written in that pubsub node?
[15:52:55] rom1dep leaves the room
[15:53:09] <zinid> I get "node not found" when I execute the request
[15:54:12] <vanitasvitae> It also happens after I recreate the user
[15:54:27] <vanitasvitae> That is delete the user and re-register it
[15:54:47] <vanitasvitae> I suspect that the node should not exist at that point or am i wrong?
[15:55:15] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:55:40] <404> I had the same error, so I deleted everything
[15:55:54] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:56:14] <zinid> vanitasvitae, hard to say
[15:56:17] <404> The keys were re-created
[15:56:35] <zinid> fuck, why erlang is dropping such creepy stacktrace???
[15:58:36] <vanitasvitae> :D
[15:58:40] <zinid> it looks like: got packet, routing it, boom, formatting issue
[15:58:41] <zinid> what the fuck?
[15:58:54] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:59:24] <zinid> there clearly should have been pubsub functions in the stacktrace, but they are not
[15:59:43] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:02:04] Andrew Nenakhov leaves the room
[16:02:18] <zinid> the only way to track down the issue is to modify the code...
[16:02:34] Andrew Nenakhov leaves the room
[16:02:38] <zinid> I'm really clueless by looking at the stacktrace, makes no sense to me
[16:02:39] Andrew Nenakhov leaves the room
[16:02:56] <zinid> the formatting issue, but where?
[16:03:29] <zinid> (translation: sorta snprintf() failure somewhere)
[16:04:15] <zinid> vanitasvitae, what erlang version?
[16:04:53] <vanitasvitae> One sec
[16:05:14] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:07:46] <vanitasvitae> 1:19.2.1+dfsg-2+deb9u1
[16:07:50] <zinid> ah!
[16:07:54] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:07:54] <vanitasvitae> πŸ˜€
[16:08:07] <zinid> fuck, I got it, goddamit
[16:08:07] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:08:14] cippaciong leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:08:26] <zinid> but need to modify the source anyway :/
[16:08:28] zuglufttier leaves the room
[16:09:40] <vanitasvitae> is it a problem with my erlang installation?
[16:12:21] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:12:35] <zinid> well, you kinda need to compile ejabberd :/
[16:12:42] <zinid> in order to get new gen_iq_handler.beam
[16:12:55] <zinid> I don't have OTP 19 here, so cannot produce it for you
[16:12:59] <zinid> only for OTP 20
[16:13:11] nico leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:13:28] <zinid> and beams from OTP 20 are incompatible with OTP 19
[16:15:32] <vanitasvitae> okay, then I'll try to compile ejabberd πŸ˜€
[16:15:37] <zinid> The patch is trivial, in gen_iq_handler.erl you just move stacktrace out of formatting arguments:
```
+            St = erlang:get_stacktrace(),
            ?ERROR_MSG("failed to process iq:~n~s~nReason = ~p",
-                      [xmpp:pp(IQ), {E, {R, erlang:get_stacktrace()}}]),
+                      [xmpp:pp(IQ), {E, {R, St}}]),
```
[16:16:22] <vanitasvitae> alright, I'll try πŸ˜€
[16:16:40] <vanitasvitae> what packages do I need to compile ejabberd?
[16:16:58] <vanitasvitae> I think I'll go with the latest tagged release then?
[16:17:14] <zinid> yeah, that module hasn't been changed for months
[16:17:47] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:18:00] <zinid> apt install gcc make libexpat1-dev libyaml-dev libssl1.0-dev zlib1g-dev erlang-nox erlang-dev
[16:18:00] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:18:10] <zinid> this should work
[16:18:23] <vanitasvitae> alright πŸ™‚
[16:18:38] <zinid> you can compile it anywhere where you have OTP 19.2, then just put the beam on your server
[16:18:54] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:18:59] <zinid> no need to drain you rpi :)
[16:20:19] <vanitasvitae> πŸ˜€ I think I'll just switch from packaged ejabberd to self compiled like I had before I reinstalled my pi
[16:21:18] <Licaon_Kter> vanitasvitae: I switched to erlang 20.xxx from testing just for fun πŸ€”
[16:21:38] ludo leaves the room
[16:21:46] <Licaon_Kter> (aka hopefully is supported better = fun)
[16:22:26] <vanitasvitae> alright!
[16:22:39] <vanitasvitae> might do that too πŸ™‚
[16:22:56] <vanitasvitae> for some reason my nano now crashes with SIGHUP or SIGTERM πŸ˜€
[16:22:59] <Licaon_Kter> (and I compile ejabberd)
[16:23:02] <vanitasvitae> something appears to be broken
[16:23:07] <vanitasvitae> will reboot quickly
[16:23:09] <Licaon_Kter> πŸ™
[16:23:10] vanitasvitae leaves the room
[16:23:10] vanitasvitae leaves the room
[16:25:00] <zinid> meanwhile I'll fix all those stracktrace() displaying issues in ejabberd, there plenty of places
[16:27:53] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:28:39] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:29:19] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:29:29] sindrake leaves the room
[16:29:53] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:37:58] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:40:53] <zinid> commited
[16:42:59] pod leaves the room
[16:47:22] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:48:14] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:50:20] aditya_borikar leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:51:01] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:51:13] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:51:21] vanitasvitae leaves the room
[16:51:30] vanitasvitae leaves the room
[16:51:38] vanitasvitae leaves the room
[16:51:46] vanitasvitae leaves the room
[16:51:48] vanitasvitae leaves the room
[16:53:03] mightyBroccoli leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:53:05] vanitasvitae leaves the room
[16:56:03] aditya_borikar leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:56:06] pod leaves the room
[17:01:23] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:02:44] \(*.*)/ leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:04:11] erik leaves the room: Connection failed: timeout
[17:04:31] aditya_borikar leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:09:49] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:10:47] jannic leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:12:24] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:20:12] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:23:55] <vanitasvitae> alright, I'm back πŸ™‚
[17:24:17] <vanitasvitae> The error is still occuring though
[17:24:35] <zinid> That's expected
[17:24:39] xinit leaves the room
[17:24:57] <zinid> The stack trace is correct now though
[17:25:04] <vanitasvitae> ah
[17:25:13] <vanitasvitae> shall I post a new one with stacktrace depth 20?
[17:25:20] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:25:21] <zinid> Yes please
[17:29:35] <vanitasvitae> Done πŸ™‚
[17:29:39] <vanitasvitae> Looks the same for me πŸ˜€
[17:30:42] <zinid> No, but not much clearer, yeah
[17:30:56] <zinid> I am AFK, so cannot look into the code
[17:31:06] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:31:43] aditya_borikar leaves the room
[17:33:47] aditya_borikar leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:33:58] <vanitasvitae> take your time πŸ™‚
[17:34:22] <vanitasvitae> I'm surprised that compiling ejabberd went so fast though
[17:34:28] <vanitasvitae> maybe 10 minutes?
[17:36:40] vanitasvitae leaves the room
[17:36:48] vanitasvitae leaves the room
[17:36:56] vanitasvitae leaves the room
[17:37:05] vanitasvitae leaves the room
[17:37:13] vanitasvitae leaves the room
[17:37:21] vanitasvitae leaves the room
[17:37:29] vanitasvitae leaves the room
[17:37:33] <zinid> Yeah, that's erlang with takes eternity to compile, not ejabberd
[17:37:37] vanitasvitae leaves the room
[17:37:46] vanitasvitae leaves the room
[17:37:49] <zinid> *which
[17:37:54] vanitasvitae leaves the room
[17:38:00] aditya_borikar leaves the room
[17:38:02] vanitasvitae leaves the room
[17:38:10] vanitasvitae leaves the room
[17:38:18] vanitasvitae leaves the room
[17:38:27] vanitasvitae leaves the room
[17:38:36] vanitasvitae leaves the room
[17:38:44] vanitasvitae leaves the room
[17:38:52] vanitasvitae leaves the room
[17:39:00] vanitasvitae leaves the room
[17:39:08] vanitasvitae leaves the room
[17:39:16] vanitasvitae leaves the room
[17:39:24] vanitasvitae leaves the room
[17:39:32] vanitasvitae leaves the room
[17:39:40] vanitasvitae leaves the room
[17:39:49] vanitasvitae leaves the room
[17:39:57] vanitasvitae leaves the room
[17:40:05] vanitasvitae leaves the room
[17:40:13] vanitasvitae leaves the room
[17:40:21] vanitasvitae leaves the room
[17:40:29] vanitasvitae leaves the room
[17:40:37] vanitasvitae leaves the room
[17:40:46] vanitasvitae leaves the room
[17:40:54] vanitasvitae leaves the room
[17:41:03] vanitasvitae leaves the room
[17:41:11] vanitasvitae leaves the room
[17:41:19] vanitasvitae leaves the room
[17:41:27] vanitasvitae leaves the room
[17:41:35] vanitasvitae leaves the room
[17:41:43] vanitasvitae leaves the room
[17:41:51] vanitasvitae leaves the room
[17:41:59] vanitasvitae leaves the room
[17:42:07] vanitasvitae leaves the room
[17:42:24] vanitasvitae leaves the room
[17:42:30] vanitasvitae leaves the room
[17:42:53] <vanitasvitae> ah πŸ˜€
[17:43:33] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:46:00] adrien leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:46:17] mrtooby leaves the room
[17:47:52] xinit leaves the room
[17:50:12] <Licaon_Kter> vanitasvitae: it takes 12 min on my RPi1, your 3+ should be way faster
[17:50:25] <vanitasvitae> yeah I estimated
[17:50:36] <vanitasvitae> was expecting long compilation times and did not pay attention
[17:54:31] aditya_borikar leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:55:23] marek leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:58:01] fuvuv leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:01:30] <zinid> > was expecting long compilation times and did not pay attention
Surprise motherfucker! 😁
[18:06:30] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:09:17] <vanitasvitae> 😱
[18:12:01] ChaosKid42 leaves the room
[18:12:07] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:14:11] xinit leaves the room
[18:16:57] 4223 leaves the room
[18:17:00] spicewiesel leaves the room
[18:18:42] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:23:57] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:27:02] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:27:21] xinit leaves the room
[18:34:42] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:35:33] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:43:20] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:43:24] robert_mobil leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:45:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:45:48] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:45:58] nico leaves the room
[18:46:05] nico leaves the room: Stream reset by peer
[18:46:07] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:47:19] xinit leaves the room
[18:48:14] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:51:45] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:54:06] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:56:03] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:58:19] 4223 leaves the room
[19:00:28] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:01:34] vanitasvitae leaves the room
[19:01:40] vanitasvitae leaves the room
[19:05:23] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:07:51] xinit leaves the room
[19:14:18] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:17:11] rom1dep leaves the room
[19:22:03] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:22:59] zuglufttier leaves the room
[19:30:52] vanitasvitae leaves the room
[19:31:43] xinit leaves the room
[19:33:23] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:35:19] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:36:42] Man_Life leaves the room: Logged out
[19:36:57] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:37:13] chrys leaves the room
[19:39:50] vanitasvitae leaves the room
[19:39:50] vanitasvitae leaves the room
[19:41:31] sindrake leaves the room
[19:44:01] robert_mobil leaves the room
[19:44:01] Odin leaves the room
[19:44:07] UsL leaves the room
[19:45:15] xinit leaves the room
[19:46:48] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:49:12] UsL leaves the room: Disconnected: Received SIGTERM
[19:52:45] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:55:04] theo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:56:17] xinit leaves the room
[19:57:20] spicewiesel leaves the room
[20:03:47] chrys leaves the room
[20:06:22] sindrake leaves the room
[20:06:34] zinid leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:07:48] <zinid> back to desk
[20:07:55] <zinid> vermouth time!
[20:08:03] <zinid> let's see at the pubsub code
[20:08:12] <vanitasvitae> :D
[20:09:59] UsL leaves the room: Disconnected: Received SIGTERM
[20:11:09] sezuan leaves the room: Replaced by new connection
[20:12:03] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:12:05] xinit leaves the room
[20:13:51] Andrew Nenakhov leaves the room: Connection failed: connection closed
[20:14:39] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:15:45] UsL leaves the room
[20:16:20] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:17:12] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:20:00] UsL leaves the room: Disconnected: Received SIGTERM
[20:20:29] 404 leaves the room
[20:22:49] <zinid> vanitasvitae, btw, there should be some debug messages what pubsub function is called, do you see any in the log?
[20:22:57] <zinid> right before the error message
[20:24:34] Dominik Paulus leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:25:06] <zinid> you need to set `loglevel: 5`
[20:25:53] Dominik Paulus leaves the room
[20:26:15] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:27:51] mightyBroccoli leaves the room: I'd rather be hibernating.
[20:28:22] <zinid> whatever, migrating to SQL definitely will help (at least will produce better traceback), but seems like pubsub migrator is completely borked
[20:28:32] <zinid> everything in this fucking pubsub code is borked
[20:29:30] <vanitasvitae> let me check
[20:31:31] nico leaves the room
[20:34:03] \(*.*)/ leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:37:14] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:38:08] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:38:47] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:40:28] <vanitasvitae> zinid, https://pastebin.com/kx048dhq
[20:40:35] <vanitasvitae> I hope I captured the relevant parts
[20:40:49] vanitasvitae leaves the room
[20:43:17] <zinid> node_call <<"pep">> get_items [18,{jid,<<"omemouser">>,<<"jabberhead.tk">>,<<"74543065080668386631605">>,<<"omemouser">>,<<"jabberhead.tk">>,<<"74543065080668386631605">>},open,true,true,<<>>,{rsm_set,undefined,<<>>,undefined,undefined,undefined,undefined,1}]
[20:43:24] <zinid> is it really pep related stuff?
[20:44:22] <zinid> ah, it doesn't matter, it boils down to calling node_flat anyways
[20:44:27] <vanitasvitae> I get the exception in smacks LeafNode.getItems()
[20:44:35] <zinid> yeah
[20:44:52] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:46:32] <zinid> > node_flat:get_items(18, {jid,<<"omemouser">>,<<"jabberhead.tk">>,<<"74543065080668386631605">>,<<"omemouser">>,<<"jabberhead.tk">>,<<"74543065080668386631605">>}, open,true,true,<<>>,{rsm_set,undefined,<<>>,undefined,undefined,undefined,undefined,1}).
** exception exit: {aborted,no_transaction}
     in function  mnesia:abort/1 (mnesia.erl, line 351)
     in call from node_flat:get_items/3 (src/node_flat.erl, line 742)
[20:46:34] <zinid> nice
[20:48:07] Licaon_Kter leaves the room
[20:49:17] Licaon_Kter leaves the room
[20:50:27] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:52:30] Licaon_Kter leaves the room
[20:54:55] Licaon_Kter leaves the room
[20:55:03] Marzanna leaves the room: Machine going to sleep
[20:56:14] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:56:35] Licaon_Kter leaves the room
[20:57:16] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:00:22] Licaon_Kter leaves the room
[21:00:24] Licaon_Kter leaves the room
[21:06:53] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:08:26] <zinid> vanitasvitae, can you do the same query without max_items?
[21:09:23] <vanitasvitae> Uhm I can try
[21:10:04] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:12:30] <vanitasvitae> quickly recompiling smack
[21:13:33] <zinid> oh...
[21:13:41] <zinid> didn't know it's that hard :)
[21:15:34] <vanitasvitae> huh, now it doesnt crash
[21:15:36] <vanitasvitae> πŸ˜€
[21:15:54] <vanitasvitae> seems like max_items was the culprit
[21:17:30] Dominik Paulus leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:18:18] <zinid> run from remsh:
> mnesia:sync_dirty(fun() -> mnesia:index_read(pubsub_item, 18, 3) end).
[21:18:26] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:19:20] <zinid> ah, it will work for you, wait
[21:20:11] <zinid> mnesia:sync_dirty(fun() -> node_flat:get_items(18, foo, {rsm_set,undefined,<<>>,undefined,undefined,undefined,undefined,1}) end).
[21:20:13] <zinid> this one
[21:21:31] <zinid> no need, I reproduced
[21:21:43] <zinid> ** exception exit: badarg
     in function  mnesia_tm:non_transaction/5 (mnesia_tm.erl, line 746)
[21:23:11] srgcdev leaves the room
[21:26:32] <zinid> omagad, dat code...
[21:26:37] Licaon_Kter leaves the room
[21:27:25] Licaon_Kter leaves the room
[21:27:43] pod leaves the room
[21:29:45] nico leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:31:18] zinid leaves the room
[21:32:35] <vanitasvitae> :d
[21:32:54] mightyBroccoli leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:36:37] xinit leaves the room
[21:38:03] <zinid> vanitasvitae, fix commited
[21:39:45] fp leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:41:12] <vanitasvitae> let me check it out πŸ˜€
[21:41:52] vanitasvitae leaves the room
[21:41:52] vanitasvitae leaves the room
[21:44:16] <vanitasvitae> hm, getting an error when I try to compile
[21:44:40] <vanitasvitae> ERROR: compile failed while processing /path/to/repostory/ejabberd: {'EXIT',{{badmatch,{error,eacces}},
         [{rebar_erlc_compiler,store_erlcinfo,2,
                               [{file,"src/rebar_erlc_compiler.erl"},
                                {line,492}]},
          {rebar_erlc_compiler,init_erlcinfo,2,
                               [{file,"src/rebar_erlc_compiler.erl"},
                                {line,394}]},
          {rebar_erlc_compiler,doterl_compile,4,
                               [{file,"src/rebar_erlc_compiler.erl"},
                                {line,304}]},
          {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,493}]},
          {rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,418}]},
          {rebar_core,maybe_execute,8,
                      [{file,"src/rebar_core.erl"},{line,302}]},
          {rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,261}]},
          {rebar_core,process_commands,2,
                      [{file,"src/rebar_core.erl"},{line,93}]}]}}
make: *** [Makefile:112: src] Fehler 1
[21:44:51] <zinid> lol
[21:45:06] <zinid> there are some hidden files created by rebar inside the directory
[21:45:11] <zinid> .erlcinfo or something
[21:45:13] <zinid> ditch them
[21:45:59] <zinid> rm -rf .rebar
[21:46:44] <zinid> also, you have some mess with access rights
[21:46:56] <zinid> not fatal most likely, just saying
[21:47:20] <vanitasvitae> yeah theres something wrong πŸ˜€
[21:47:23] <vanitasvitae> recloning
[21:49:17] <zinid> "safe" languages with dynamic typing or not strict typing make people lazy, they don't want to catch exceptions and errors look like a trash of exceptions
[21:49:36] <zinid> same with python, same with java
[21:49:43] Dominik Paulus leaves the room: Machine going to sleep
[21:50:28] <zinid> and that's why you see retarded `{'EXIT',{{badmatch,{error,eacces}}`
[21:50:49] <zinid> if it was my code you would see: "Failed to update .erlcinfo: access denied"
[21:51:02] <vanitasvitae> ah πŸ˜€
[21:51:19] <vanitasvitae> yeah I think thats because I accidentally did "sudo make"
[21:51:32] <zinid> badmatch means the dude wrote something like:
{ok, Data} = file:read_file("foo")
[21:51:52] <zinid> but `file:read_file(foo)` returned {error,eaccess} instead of {ok,Data}
[21:51:56] <zinid> thus the crash
[21:52:14] <zinid> this is laziness, definitely
[21:52:52] <zinid> haskell, rust, ocaml and others wouldn't allow you to be that lazy: such code won't compile
[21:55:56] vanitasvitae leaves the room
[21:55:56] vanitasvitae leaves the room
[21:57:43] chrys leaves the room
[22:00:05] daniel leaves the room: Stream closed by us: Replaced by new connection (conflict)
[22:00:57] edhelas leaves the room: Stream reset by peer
[22:01:30] <vanitasvitae> nice, its working now πŸ™‚
[22:01:33] <vanitasvitae> thank you zinid
[22:01:47] vanitasvitae leaves the room
[22:02:00] vanitasvitae leaves the room
[22:02:20] <zinid> you're welcome :)
[22:02:55] xinit leaves the room
[22:03:41] <zinid> sorry for this mess, sooner or later I will rewrite this pubsub shitty code
[22:05:28] <zinid> the current bug was incredible stupid:
```
items = lets_get_some_items_from_db()
# check if we got any items? no, fuck it, I'm too lazy for this shit
first = get_first_item(items)
booom!!!
```
[22:06:39] erik leaves the room: Connection failed: timeout
[22:09:02] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:09:27] <vanitasvitae> :D
[22:16:24] fp leaves the room
[22:22:56] marc leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:28:59] Akasch leaves the room: Rechner geht in den Ruhezustand
[22:30:07] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:30:08] Licaon_Kter leaves the room
[22:30:08] Licaon_Kter leaves the room
[22:30:54] Licaon_Kter leaves the room
[22:31:02] nico leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:31:02] beri leaves the room
[22:32:09] Akasch leaves the room: Rechner geht in den Ruhezustand
[22:33:25] Akasch leaves the room
[22:36:11] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:36:55] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[22:44:37] edhelas leaves the room: Stream reset by peer
[22:47:25] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:47:55] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[22:50:44] nekit leaves the room
[22:52:39] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:56:38] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:12:00] sezuan leaves the room
[23:14:25] vanitasvitae leaves the room
[23:14:29] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:15:57] zinid leaves the room: Stream closed by us: Replaced by new connection (conflict)
[23:18:39] fuvuv leaves the room: Stream closed by us: Replaced by new connection (conflict)
[23:18:59] jannic leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:20:06] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:20:26] sindrake leaves the room
[23:25:10] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:34:55] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:36:36] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:37:31] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[23:44:36] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:45:23] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:47:31] xinit leaves the room
[23:53:36] cippaciong leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:55:25] paul leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
Powered by ejabberd - robust, scalable and extensible XMPP server Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!