FAQ
Hi There,

i was using Catalyst version 5.80007 without any problems. Yesterday i
updated through the cpan-programm zu version 5.80018.

My old Catalyst-Applications (created with catalyst.pl under version
5.80007) now struggle to start in auto-restart-mode with the error:

========= %< SNIP %< =========
Can't locate Catalyst/Engine/HTTP/Restarter.pm in @INC (@INC
contains: /var/www/vhosts/sveneppler.de/catalyst/gpstracks/script/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .). at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 113
Class::MOP::load_first_existing_class('Catalyst::Engine::HTTP::Restarter') called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 118
Class::MOP::load_class('Catalyst::Engine::HTTP::Restarter') called
at /usr/local/share/perl/5.8.8/Catalyst.pm line 2437
Catalyst::setup_engine('gpstracks', 'undef') called
at /usr/local/share/perl/5.8.8/Catalyst.pm line 1050
Catalyst::setup('gpstracks') called
at /var/www/vhosts/sveneppler.de/catalyst/gpstracks/script/../lib/gpstracks.pm line 34
require gpstracks.pm called at ./gpstracks_server.pl line 55
Compilation failed in require at ./gpstracks_server.pl line 55.

========= %< SNIP %< =========

While the standalone server without auto-restarting works just fine.

Also when creating a quick testapp whith "catalyst.pl testapp" an
starting "testapp_server.pl -r" just works fine too.

So has the been Restarter-codule changed/abadoned? And how can i easily
update my old applications then?

Thanks in advance,
Sven

Search Discussions

  • Christoph Friedrich at Jan 14, 2010 at 2:27 pm
    Looks like you just didn't install Catalyst::Engine::HTTP::Restarter
    with the update.
    Try to install it via the command "cpan Catalyst::Engine::HTTP::Restarter"

    Greets
    Christoph

    Sven Eppler schrieb:
    Hi There,

    i was using Catalyst version 5.80007 without any problems. Yesterday i
    updated through the cpan-programm zu version 5.80018.

    My old Catalyst-Applications (created with catalyst.pl under version
    5.80007) now struggle to start in auto-restart-mode with the error:

    ========= %< SNIP %< =========
    Can't locate Catalyst/Engine/HTTP/Restarter.pm in @INC (@INC
    contains: /var/www/vhosts/sveneppler.de/catalyst/gpstracks/script/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .). at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 113
    Class::MOP::load_first_existing_class('Catalyst::Engine::HTTP::Restarter') called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 118
    Class::MOP::load_class('Catalyst::Engine::HTTP::Restarter') called
    at /usr/local/share/perl/5.8.8/Catalyst.pm line 2437
    Catalyst::setup_engine('gpstracks', 'undef') called
    at /usr/local/share/perl/5.8.8/Catalyst.pm line 1050
    Catalyst::setup('gpstracks') called
    at /var/www/vhosts/sveneppler.de/catalyst/gpstracks/script/../lib/gpstracks.pm line 34
    require gpstracks.pm called at ./gpstracks_server.pl line 55
    Compilation failed in require at ./gpstracks_server.pl line 55.

    ========= %< SNIP %< =========

    While the standalone server without auto-restarting works just fine.

    Also when creating a quick testapp whith "catalyst.pl testapp" an
    starting "testapp_server.pl -r" just works fine too.

    So has the been Restarter-codule changed/abadoned? And how can i easily
    update my old applications then?

    Thanks in advance,
    Sven


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: christoph.vcf
    Type: text/x-vcard
    Size: 147 bytes
    Desc: not available
    Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100114/ed54b09d/christoph.vcf
  • Sven Eppler at Jan 14, 2010 at 2:37 pm
    Hmm, no, that doesn't seem to be the real reason. When looking at
    C::E::H::Restarter it was last included into Catalyst::Runtime in
    Version 5.8000_07.

    I found a thread on the archive about the changed restarter
    http://lists.scsys.co.uk/pipermail/catalyst/2009-May/022260.html

    An i also got this Catalyst::Restarter module. But how can i now easily
    and savely update my *_server.pl scripts? Just change manually the
    $ENV{CATALYST_ENGINE} variable from HTTP::Restarter to
    "Catalyst::Restarter"?


    Am Donnerstag, den 14.01.2010, 15:28 +0100 schrieb Christoph Friedrich:
    Looks like you just didn't install Catalyst::Engine::HTTP::Restarter
    with the update.
    Try to install it via the command "cpan Catalyst::Engine::HTTP::Restarter"

    Greets
    Christoph

    Sven Eppler schrieb:
    Hi There,

    i was using Catalyst version 5.80007 without any problems. Yesterday i
    updated through the cpan-programm zu version 5.80018.

    My old Catalyst-Applications (created with catalyst.pl under version
    5.80007) now struggle to start in auto-restart-mode with the error:

    ========= %< SNIP %< =========
    Can't locate Catalyst/Engine/HTTP/Restarter.pm in @INC (@INC
    contains: /var/www/vhosts/sveneppler.de/catalyst/gpstracks/script/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .). at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 113
    Class::MOP::load_first_existing_class('Catalyst::Engine::HTTP::Restarter') called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 118
    Class::MOP::load_class('Catalyst::Engine::HTTP::Restarter') called
    at /usr/local/share/perl/5.8.8/Catalyst.pm line 2437
    Catalyst::setup_engine('gpstracks', 'undef') called
    at /usr/local/share/perl/5.8.8/Catalyst.pm line 1050
    Catalyst::setup('gpstracks') called
    at /var/www/vhosts/sveneppler.de/catalyst/gpstracks/script/../lib/gpstracks.pm line 34
    require gpstracks.pm called at ./gpstracks_server.pl line 55
    Compilation failed in require at ./gpstracks_server.pl line 55.

    ========= %< SNIP %< =========

    While the standalone server without auto-restarting works just fine.

    Also when creating a quick testapp whith "catalyst.pl testapp" an
    starting "testapp_server.pl -r" just works fine too.

    So has the been Restarter-codule changed/abadoned? And how can i easily
    update my old applications then?

    Thanks in advance,
    Sven


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
  • Christoph Friedrich at Jan 14, 2010 at 2:43 pm
    Skipped content of type multipart/alternative-------------- next part --------------
    A non-text attachment was scrubbed...
    Name: christoph.vcf
    Type: text/x-vcard
    Size: 147 bytes
    Desc: not available
    Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100114/8fb96ec2/christoph.vcf
  • Tomas Doran at Jan 14, 2010 at 2:50 pm

    Sven Eppler wrote:
    Hmm, no, that doesn't seem to be the real reason. When looking at
    C::E::H::Restarter it was last included into Catalyst::Runtime in
    Version 5.8000_07.

    I found a thread on the archive about the changed restarter
    http://lists.scsys.co.uk/pipermail/catalyst/2009-May/022260.html

    An i also got this Catalyst::Restarter module. But how can i now easily
    and savely update my *_server.pl scripts? Just change manually the
    $ENV{CATALYST_ENGINE} variable from HTTP::Restarter to
    "Catalyst::Restarter"?
    No, don't do that.

    Update your Catalyst::Devel, and then when you run myapp_server.pl
    (without the -r option) it'll tell you how to upgrade your scripts.

    Cheers
    t0m
  • Sven Eppler at Jan 14, 2010 at 3:01 pm
    Ahh, thanks, this little info just scrolled through the screen since
    there where a lot Controllers, Views, etc.

    Works fine now. :)

    Am Donnerstag, den 14.01.2010, 14:50 +0000 schrieb Tomas Doran:
    Sven Eppler wrote:
    Hmm, no, that doesn't seem to be the real reason. When looking at
    C::E::H::Restarter it was last included into Catalyst::Runtime in
    Version 5.8000_07.

    I found a thread on the archive about the changed restarter
    http://lists.scsys.co.uk/pipermail/catalyst/2009-May/022260.html

    An i also got this Catalyst::Restarter module. But how can i now easily
    and savely update my *_server.pl scripts? Just change manually the
    $ENV{CATALYST_ENGINE} variable from HTTP::Restarter to
    "Catalyst::Restarter"?
    No, don't do that.

    Update your Catalyst::Devel, and then when you run myapp_server.pl
    (without the -r option) it'll tell you how to upgrade your scripts.

    Cheers
    t0m

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
  • Florian Ragwitz at Jan 14, 2010 at 2:50 pm

    On Thu, Jan 14, 2010 at 03:19:16PM +0100, Sven Eppler wrote:
    i was using Catalyst version 5.80007 without any problems. Yesterday i
    updated through the cpan-programm zu version 5.80018.

    My old Catalyst-Applications (created with catalyst.pl under version
    5.80007) now struggle to start in auto-restart-mode with the error:

    ========= %< SNIP %< =========
    Can't locate Catalyst/Engine/HTTP/Restarter.pm in @INC (@INC
    The restarter engine has been removed many months ago. It has been
    replaced by Catalyst::Restarter, which is part of Catalyst::Devel.

    Note that you'll have to upgrade your application's script/ directory
    with catalyst.pl to use it.


    --
    BOFH excuse #219:
    Recursivity. Call back if it happens again.
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: not available
    Type: application/pgp-signature
    Size: 189 bytes
    Desc: Digital signature
    Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100114/376896a3/attachment.pgp

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 14, '10 at 2:19p
activeJan 14, '10 at 3:01p
posts7
users4
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase