Zotonic
Zotonic
zotonic@conference.zotonic.com
Friday, 17 January 2014< ^ >
Arjan has set the subject to: Zotonic - The Erlang Web Framework & CMS
Room Configuration

GMT+1
[00:18:14] jeff.5nines joins the room
[00:18:47] jeff.5nines leaves the room
[03:23:25] Steffen Hanikel leaves the room
[07:39:01] arjan joins the room
[08:09:20] arjan leaves the room
[08:10:21] arjan joins the room
[08:12:05] arjan leaves the room
[08:15:01] arjan joins the room
[08:18:08] arjan leaves the room
[08:41:59] arjan joins the room
[08:53:45] Marc Worrell joins the room
[09:39:58] maas.maarten.zeeman joins the room
[10:49:15] Steffen Hanikel joins the room
[10:55:53] <Marc Worrell> I was thinking what could be a good way to "rebase" a template. So this template is that one, but it should extend from another template.
[10:56:26] <Marc Worrell> Or import all blocks from another template.
[10:56:41] <Marc Worrell> I would like to reuse the blocks of a template inside a new template.
[11:06:27] jarimatti joins the room
[12:09:58] Steffen Hanikel leaves the room
[12:38:44] Steffen Hanikel joins the room
[15:40:30] jeff.5nines joins the room
[15:43:53] jeff.5nines leaves the room
[15:50:05] Mawuli leaves the room
[15:52:36] Mawuli joins the room
[16:15:08] arjan leaves the room
[16:16:45] Mawuli leaves the room
[16:24:31] arjan joins the room
[16:26:03] jeff.5nines joins the room
[16:43:23] arjan leaves the room
[16:45:48] <jeff.5nines> I have a small test site I've been developing. Just yesterday I started getting this error.
[16:45:52] Mawuli joins the room
[16:46:37] <jeff.5nines> Error in process <0.1279.0> on node 'zotonic001@cvm' with exit value: {badarith,[{folsom_ewma,update,2,[{file,"src/folsom_ewma.erl"},{line,73}]},{folsom_metrics_meter,mark,2,[{file,"src/folsom_metrics_meter.erl"},{line,87}]},{folsom_ets,notify,4,[{file,"src/folsom_ets.erl"},{line,406}]},{z_stats,update..
[16:48:18] Mawuli leaves the room
[16:48:20] <jeff.5nines> I'm clicking on a link to .MP4 files. Do you think it has to do with the size of the files?
[16:48:55] Mawuli joins the room
[16:50:48] <jeff.5nines> It just started yesterday, but I realize now that if I do a make in the root zotonic folder, it downloads newer versions of the dependent files, so even though I don't update zotonic, the dependencies get moved forward anyway.
[16:50:53] <Marc Worrell> are you using master?
[16:51:20] <jeff.5nines> I am now
[16:51:38] <Marc Worrell> if so, then you really need to use the newest zotonic if you use the newest webzmachine
[16:52:22] <Marc Worrell> Only happens with MP4 files? Maybe it is range request from your browser.
[16:52:25] <jeff.5nines> Yes, I did a git pull origin master, them make clean, make, but I'm still getting the same error
[16:52:51] <jeff.5nines> 1 second mp4 seems to work fine
[16:55:27] Mawuli leaves the room
[16:55:29] <jeff.5nines> I just tried FF and Chrome, seems the same.
[16:55:56] <jeff.5nines> I'm also seeing this [info] DEBUG: webmachine_mochiweb:128 {error,badarg,[{binary,part,[<<0,0,0,32,102,116,121,112,7 ....
[16:56:50] Mawuli joins the room
[16:59:57] Mawuli leaves the room
[17:01:33] Mawuli joins the room
[17:02:56] arjan joins the room
[17:04:55] <Marc Worrell> Something goes wrong that is clear
[17:05:04] <Marc Worrell> Can you check what request is?
[17:05:17] <jeff.5nines> Nope doesn't seem to be the size, I just viewd a 2:09 mp4 just fine :(
[17:05:51] <Marc Worrell> Must be a special kind of request - I think some range stuff
[17:06:15] <jeff.5nines> Sure, which request, as reported from chrome of on the server?
[17:11:34] Mawuli leaves the room
[17:12:20] Mawuli joins the room
[17:13:43] <Marc Worrell> Preferably the server - with all the headers
[17:13:50] <Marc Worrell> Then we can check what is happening
[17:15:58] <maas.maarten.zeeman> Maybe a bad content-length somewhere? Could be the request before this failing one
[17:16:12] <jeff.5nines> So I created a dispatch to serve the files using controller_file_readonly no-cache, inline and it initially didn't work. I was getting 206 Partial Content status. I believe I tried that dispatch before upgrading to master, then changed it back. Now it seems to work using this dispatch.
[17:16:37] Steffen Hanikel leaves the room
[17:16:41] maas.maarten.zeeman leaves the room
[17:17:16] <jeff.5nines> That sentence was not very clear I apologize. Let me know if it made sense :)
[17:28:53] arjan leaves the room
[17:31:43] arjan joins the room
[17:32:57] Mawuli leaves the room
[17:33:57] Mawuli joins the room
[17:34:07] arjan leaves the room
[17:34:57] Mawuli leaves the room
[17:35:08] arjan joins the room
[17:37:29] Mawuli joins the room
[17:43:49] Marc Worrell leaves the room
[17:45:44] Mawuli leaves the room
[17:46:47] Mawuli joins the room
[17:54:00] <jeff.5nines> It appears to be a difference of how controller_lib and controller_file_readonly serve the file. Here is a paste from Chrome debug showing serving the same file from different controllers. The bottom one succeeds. http://dpaste.com/1556618/
[17:55:42] arjan leaves the room
[18:08:17] <jeff.5nines> Sorry for the noise, thanks for the help
[18:08:25] jeff.5nines leaves the room
[18:46:12] arjan joins the room
[18:49:10] arjan leaves the room
[19:25:59] Maas joins the room
[19:31:47] arjan joins the room
[19:33:23] jeff.5nines joins the room
[19:36:04] Maas leaves the room
[20:07:01] jeff.5nines leaves the room
[20:07:09] jeff.5nines joins the room
[20:07:35] jeff.5nines leaves the room
[20:07:56] jeff.5nines joins the room
[20:08:12] jeff.5nines leaves the room
[21:41:51] arjan leaves the room
[21:55:06] jeff.5nines joins the room
[21:55:25] jeff.5nines leaves the room
[22:19:45] Mawuli leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!