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

GMT+1
[01:48:17] cillian.deroiste leaves the room
[07:39:54] arjan joins the room
[08:10:28] arjan leaves the room
[08:40:51] arjan joins the room
[08:44:25] Maas joins the room
[08:45:05] Maas leaves the room
[08:47:21] Marc Worrell joins the room
[09:24:45] fred joins the room
[09:25:51] fred leaves the room
[09:57:39] maas.maarten.zeeman joins the room
[12:03:09] Marc Worrell leaves the room: Disconnected: closed
[14:17:35] Marc Worrell joins the room
[16:59:55] arjan leaves the room
[17:45:19] maas.maarten.zeeman leaves the room
[19:13:39] arjan joins the room
[19:46:03] Jeff joins the room
[19:48:42] <Jeff> Has anyone seen z:m() stop working. It just immediately returns ok. I have recently had to start completely shutting down the zotonic and starting it back up for z:m() to compile modified changes.
[19:53:04] <arjan> Jeff: it still works fine for me
[19:53:10] <arjan> just ran it, actually
[19:53:15] <arjan> (master)
[20:01:48] <Jeff> Yeah it's weird. It's probably local to my system for some reason. I have a postback that spawns a function that calls zip:create and uses mod_signal to notify the page when its' done. It seems to only stop working after I call that postback
[20:12:03] <arjan> weird..
[20:12:34] <arjan> can you try typing this:
[20:12:38] <arjan> make:all([load]).
[20:12:48] <arjan> and see what the console prints as result
[20:13:40] <arjan> and see whether file:get_cwd(). prints the zotonic base directory
[20:14:31] <Jeff> Ah, that it probably it. I'm using files:set_cwd to the location I want to create the zip file
[20:16:14] <Jeff> I'm not really familiar with the zip module, so that was the way I was able to get the proper directory structure for the zip
[20:16:27] <arjan> :)
[20:17:03] <arjan> just do this afterwards:
[20:17:10] <arjan> file:set_cwd(os:getenv("ZOTONIC")).
[20:17:21] <Jeff> So after the zip returns I should reset the home , ah yes
[20:17:24] <Jeff> I see
[20:19:03] <Jeff> Thanks! Also, is this the best way to be able to see newly created files - z_module_indexer:reindex(Context)
[20:20:07] <arjan> z:flush(). does the job as well I think?
[20:20:15] <arjan> but its a bit crude, i agree
[20:20:28] <arjan> so reindexing seems OK
[20:20:55] <Jeff> Thanks
[20:21:32] arjan leaves the room
[20:37:14] Maas joins the room
[21:12:54] cillian.deroiste joins the room
[21:51:49] arjan joins the room
[22:12:22] cillian.deroiste leaves the room
[23:27:17] arjan leaves the room
[23:29:07] Maas leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!