Mojolicious app + starman

279 views
Skip to first unread message

Анатолий Шарифулин

unread,
Aug 16, 2010, 3:57:56 AM8/16/10
to mojol...@googlegroups.com
Hi!

I start a mojolicious app (default mojolicious app) using starman:

$ starman script/app

And send request and receive Internal Server Error.

Error log:

Cannot find current script 'starman worker -I/tk/mojo/lib script/app' at /usr/lib/perl5/5.12.1/FindBin.pm line 205
BEGIN failed--compilation aborted at /usr/lib/perl5/5.12.1/FindBin.pm line 205.
Compilation failed in require at /tk/mojo/lib/Mojo/Home.pm line 12.
BEGIN failed--compilation aborted at /tk/mojo/lib/Mojo/Home.pm line 12.
Compilation failed in require at /tk/mojo/lib/Mojo.pm line 13.
BEGIN failed--compilation aborted at /tk/mojo/lib/Mojo.pm line 13.
Compilation failed in require at (eval 72) line 2.
    ...propagated at /usr/lib/perl5/5.12.1/base.pm line 94.
BEGIN failed--compilation aborted at /tk/mojo/lib/Mojolicious.pm line 8.
Compilation failed in require at (eval 71) line 2.
    ...propagated at /usr/lib/perl5/5.12.1/base.pm line 94.
BEGIN failed--compilation aborted at script/../lib/App.pm line 6.
Compilation failed in require at (eval 70) line 2.


But Mojolicious::Lite app works correctly.

And plackup works:

$ plackup script/app

Only starman fail.

--
С уважением,
 Анатолий Шарифулин.

sharifulin

unread,
Aug 17, 2010, 3:35:26 AM8/17/10
to Mojolicious
I used last version of Mojolicious (from github) and last version of
Starman (from CPAN).

Is it bug of Starman or Mojolicious?

Sebastian Riedel

unread,
Aug 17, 2010, 5:43:21 AM8/17/10
to mojol...@googlegroups.com
> Is it bug of Starman or Mojolicious?

I guess nobody knows.

--
Sebastian Riedel
http://labs.kraih.com
http://mojolicious.org
http://twitter.com/kraih

Анатолий Шарифулин

unread,
Aug 18, 2010, 2:23:16 AM8/18/10
to mojol...@googlegroups.com
http://github.com/miyagawa/Starman/issues/closed#issue/15

miagawa++


--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.

Reply all
Reply to author
Forward
0 new messages