The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2014-04-04

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:13 shmuel joined #mojo
00:22 inokenty joined #mojo
00:32 jack joined #mojo
00:42 mire joined #mojo
00:43 sugar_ joined #mojo
00:53 laouji joined #mojo
01:17 inokenty joined #mojo
01:38 klapperl joined #mojo
02:07 d4rkie_ joined #mojo
02:20 sugar_ joined #mojo
02:20 dj_goku__ joined #mojo
03:12 d4rkie joined #mojo
03:32 inokenty joined #mojo
03:36 sh4 joined #mojo
03:43 laouji joined #mojo
04:17 bzero joined #mojo
04:22 laouji joined #mojo
04:49 caesar joined #mojo
04:51 caesar hi all
04:51 hotsnow joined #mojo
04:51 caesar can any1 help me, Mojolicious:251 [12766]: Processing request failed: Can't locate object method "_check_connected
04:51 caesar " via package "Mojolicious::Plugins" at ../lib/GG/Plugins/Dbi.pm line 39.
05:07 shmuel caesar: well, we don't know what you are trying to do inside Dbi.pm
05:08 caesar let's say i am moving a project to a new server and i am not developer))
05:10 caesar http://pastebin.com/71ugHTPp
05:12 shmuel and you say that it worked previously?
05:14 caesar yes i just copy files + db and changed config files
05:14 caesar it worked
05:14 purl What do you mean it worked? Did it run to completion? Did it bomb out early? Did it finish the job early? Did it tell your girlfriend "let's just be friends"? Be specific!
05:15 shmuel caesar: ignore the bot.
05:16 inokenty joined #mojo
05:17 shmuel I don't know why it uses $app->plugins->add_hook, instead of just $app->add_hook
05:18 shmuel also, the parameters are wrong.
05:18 caesar the problem was in .htaccees and the name of script
05:18 caesar htaccess
05:18 purl htaccess is a nifty little password encryption/protection tool used on NCSA compliant webservers, more information can be found at http://www.apache.org or http://www.apache.org/docs/misc/FAQ.html#htaccess-work or Apache::Htaccess
05:18 shmuel solved?
05:18 caesar changed AddHandler fcgid-script .fcgi to AddHandler cgi-script .cgi  and /cgi-bin/script/GG.fcgi  to /cgi-bin/script/GG.cgi
05:19 caesar and now site works good
05:19 shmuel whatever. have fun.
05:19 caesar yes seems solved
05:19 caesar ty anyway
05:19 purl np, dh! hand!
05:46 dod joined #mojo
05:48 Adura joined #mojo
05:54 denis_boyun joined #mojo
05:56 frustrating_chat joined #mojo
06:00 bzero joined #mojo
06:04 Eke- joined #mojo
06:06 sujithm joined #mojo
06:16 dod joined #mojo
06:20 laouji joined #mojo
06:25 laouji joined #mojo
06:27 laouji joined #mojo
06:36 sujithm joined #mojo
06:50 basiliscos joined #mojo
06:58 d4rkie_ joined #mojo
06:58 dod joined #mojo
06:59 d4rkie joined #mojo
07:01 eseyman joined #mojo
07:07 Vandal joined #mojo
07:17 fhelmber_ joined #mojo
07:38 dotandimet joined #mojo
07:44 sujithm_ joined #mojo
07:44 trone joined #mojo
07:46 someanon good morning!
07:46 purl Lies!
08:16 laouji joined #mojo
08:19 laouji joined #mojo
08:20 maxhq joined #mojo
08:31 sujithm joined #mojo
08:34 dotandimet joined #mojo
08:35 edestler joined #mojo
09:12 dotandimet joined #mojo
09:13 arthas joined #mojo
09:24 someanon bobkare, marty
09:24 someanon i solve yesterday problem
09:24 sujithm joined #mojo
09:25 someanon problem was in widechar file_name in header
09:25 someanon =)
09:26 hummeleBop joined #mojo
09:48 sujithm joined #mojo
10:04 sujithm_ joined #mojo
10:06 laouji_ joined #mojo
10:14 denisboyun joined #mojo
10:15 d4rkie joined #mojo
10:23 dotandimet joined #mojo
10:27 sujithm joined #mojo
10:27 mire joined #mojo
10:31 d4rkie joined #mojo
10:37 rem_lex| joined #mojo
10:39 sujithm joined #mojo
10:42 sujithm joined #mojo
10:51 alnewkirk joined #mojo
11:02 neilhwatson joined #mojo
11:13 dotandimet joined #mojo
11:18 inokenty joined #mojo
11:26 fhelmbe__ joined #mojo
11:36 sujithm_ joined #mojo
12:20 inokenty joined #mojo
12:34 Caldrin joined #mojo
12:34 Caldrin Hi!
12:35 Caldrin I look for help with the following problem: ..
12:37 Caldrin I use Mojolicious::Lite and inline templates for rendering. This works great. Now for one path my users want to have JSON too. I already know how to give them json only with $c->render(json => $data); Is there a way to tell Mojolicious::Lite it shoud respond to JSON request with the JSON and to any other requested format with the existing template way?
12:37 trone joined #mojo
12:38 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Content_negotiation
12:40 trone joined #mojo
12:40 Caldrin That looks like exactly what I was looking for. Thank you!
12:42 dotandimet joined #mojo
13:04 Caldrin Yeap, works perfectly. Again, thank you.
13:17 mattp is it possible to mount psgi apps through hypnotoad?
13:19 jack joined #mojo
13:22 fhelmber_ joined #mojo
13:22 dotandimet No new mojoconf talks submitted? :(
13:22 sri maybe this still works, seems to be missing a dependency on Plack though https://metacpan.org/pod/Mojolicious::Plugin::MountPSGI
13:23 * sri pokes marcus
13:24 marcus o/
13:25 mattp sri: interesting. thanks. though i have to ask the question why hypnotoad doesnt Just Work with plack?
13:25 sri because it's not a psgi server
13:25 marcus sri:   PREREQ_PM    => {'Mojolicious' => '1.80',PSGI=>undef},
13:25 marcus Isn't PSGI Plack?
13:25 sri marcus: PSGI is the spec, Plack the implementation
13:26 marcus sri: Oh, I thought they were in the same distro. Will fix.
13:27 inokenty joined #mojo
13:29 sri obviously we could have native support for mounting psgi apps, but we would only be hurting ourselves by doing so, the translation step necessary kills performance
13:30 mattp sri: fair. thanks
13:35 cpan_mojo Mojolicious-Plugin-MountPSGI 0.02 by Marcus Ramberg - http://metacpan.org/release/MRAMBERG/Mojolicious-Plugin-MountPSGI-0.02
13:43 dotandimet joined #mojo
13:50 gryphon joined #mojo
13:50 Caldrin left #mojo
14:02 dotandimet joined #mojo
14:04 sugar joined #mojo
14:05 btyler joined #mojo
14:11 mattastrophe joined #mojo
14:18 inokenty joined #mojo
14:20 sh4 joined #mojo
14:27 mattp https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#Plack-middleware
14:27 mattp i see require 'app.pl'; as a way for getting a psgi coderef
14:27 mattp what is app.pl in a full mojo app, not mojo::lite?
14:27 mattp app->start?
14:29 bluescreen joined #mojo
14:32 sugar joined #mojo
14:38 cpan_mojo Mojolicious-Plugin-HamlRenderer 2.100000 by Randy Stauner - http://metacpan.org/release/RWSTAUNER/Mojolicious-Plugin-HamlRenderer-2.100000
14:39 rwstauner turns out my issue with the Haml renderer returning 404's was simply that in Mojo 4.91 template_path started returning undef, so i switched it to template_name
14:44 nic mattp: For your full app, do you not have a script that starts it up?
14:44 nic that's app.pl
14:44 fhelmber_ joined #mojo
14:46 aggrolite joined #mojo
14:48 dvinciguerra joined #mojo
15:00 doby joined #mojo
15:02 sh3 joined #mojo
15:07 eseyman joined #mojo
15:09 fhelmber_ joined #mojo
15:11 hotsnow joined #mojo
15:26 asarch joined #mojo
15:30 sri rwstauner: template_path is a very old stash value from mojolicious 1.0 days or so and hasn't been in use for years
15:30 rwstauner ok, thanks
15:31 beyondcreed joined #mojo
15:31 rwstauner i couldn't even find it with a git grep
15:31 rwstauner so i wasn't sure if it was ever really there
15:31 rwstauner :-)
15:31 sri i think it was used to pass along an absolute path to a template or so
15:31 rwstauner ok
15:32 sri a loooooooooooooooooong time ago
15:32 inokenty joined #mojo
15:33 rwstauner in a galaxy faaaaaaaaaaaaaaaaar away?
15:33 sri yeeeeeaaaaaaaaa
15:38 dotandimet joined #mojo
15:40 jack joined #mojo
15:42 arthas joined #mojo
15:47 caesar joined #mojo
15:49 caesar left #mojo
16:01 jim joined #mojo
16:04 mire joined #mojo
16:04 inokenty joined #mojo
16:05 jim is Plugin::JSUrlFor module still maintained?  I get "Can't locate Mojo/Command.pm" error when I run perl app.pl generate js_url_for public/js/url_for.js. Mojo::Command seems to be an obsolete component of mojolicious.
16:11 sri considering the change happened in 2012... i think we can conclude it's unmaintained https://github.com/kraih/mojo/blob/master/Changes#L1166
16:12 jim Thanks sri, shooting author an email.
16:17 dotandimet joined #mojo
16:18 sh4 joined #mojo
16:19 Akron joined #mojo
16:33 denis_boyun joined #mojo
16:37 denisboyun joined #mojo
17:09 dod joined #mojo
17:27 disputin joined #mojo
17:36 sujithm joined #mojo
18:07 dotandimet joined #mojo
18:16 Eke- joined #mojo
18:47 dotandimet joined #mojo
19:20 disputin joined #mojo
19:25 punter joined #mojo
19:33 fhelmber_ joined #mojo
19:41 dod joined #mojo
19:45 denis joined #mojo
19:47 denis_boyun joined #mojo
19:51 btyler joined #mojo
20:13 dotandimet joined #mojo
20:15 dotandimet joined #mojo
20:23 aggrolite joined #mojo
20:30 yko joined #mojo
20:36 sri not sure yet where to go with minion extensions... so i've only added a few basic events for now https://github.com/kraih/minion/commit/d93c94d60117892c28e08a53d94786cb7daf73d5
20:44 russum joined #mojo
20:54 sri worker and dequeue events are stepping stones to the job object
20:54 sri the finished event is meant for automatic retry with $job->restart and triggering alerts/forwarding errors
20:55 sri umm... failed event of course
20:55 sri the finished event i'm not sure about... so far it's there for symmetry :O
20:58 mire joined #mojo
21:05 dotandimet joined #mojo
21:11 denis_boyun joined #mojo
21:34 denis_boyun joined #mojo
22:36 d4rkie joined #mojo
22:38 meshl joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary