Bug#731988: libpoet-perl: Error while loading ... app.psgi: Can't locate Plack/Middleware/Debug.pm in @INC

David Christensen dpchrist at holgerdanske.com
Thu Dec 12 01:37:46 UTC 2013


Package: libpoet-perl
Version: 0.11-1
Severity: normal

Dear Maintainer,

I installed libpoet-perl and am attempting to follow along with the
example in Poet::Manual::Intro.  Creating the application appears to
have worked:

2013-12-11 17:03:06 dpchrist at desktop ~/sandbox/perl/poet
$ poet new MyApp
my_app/.poet_root
my_app/t
my_app/logs
my_app/lib/MyApp/Mason.pm
my_app/lib/MyApp/Conf.pm
my_app/lib/MyApp/README
my_app/lib/MyApp/Log.pm
my_app/lib/MyApp/Mason/Compilation.pm
my_app/lib/MyApp/Mason/Request.pm
my_app/lib/MyApp/Mason/README
my_app/db
my_app/data
my_app/comps/index.mc
my_app/comps/Base.mc
my_app/comps/tmp
my_app/conf/local.cfg
my_app/conf/global.cfg
my_app/conf/layer/production.cfg
my_app/conf/layer/development.cfg
my_app/conf/dynamic/gen.pl
my_app/static/images
my_app/static/css/style.css
my_app/static/js
my_app/bin/get.pl
my_app/bin/app.psgi
my_app/bin/run.pl
my_app/bin/tmp

Now run 'my_app/bin/run.pl' to start your server.


Starting the server generates the subject error message:

2013-12-11 17:05:30 dpchrist at desktop ~/sandbox/perl/poet
$ my_app/bin/run.pl 
Running plackup, -E, development, --port, 5000, -R, /home/dpchrist/sandbox/perl/poet/my_app/conf,/home/dpchrist/sandbox/perl/poet/my_app/lib, /home/dpchrist/sandbox/perl/poet/my_app/bin/app.psgi
Watching /home/dpchrist/sandbox/perl/poet/my_app/conf /home/dpchrist/sandbox/perl/poet/my_app/lib /home/dpchrist/sandbox/perl/poet/my_app/bin/lib /home/dpchrist/sandbox/perl/poet/my_app/bin/app.psgi for file updates.
Error while loading /home/dpchrist/sandbox/perl/poet/my_app/bin/app.psgi: Can't locate Plack/Middleware/Debug.pm in @INC (@INC contains: /home/dpchrist/sandbox/perl/poet/my_app/lib /home/dpchrist/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/dpchrist/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/dpchrist/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Plack/Util.pm line 22.


Browsing to http://localhost:5000/ in Iceweasel implies that the
application server is not running:

Unable to connect

Iceweasel can't establish a connection to the server at localhost:5000.

The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Iceweasel is permitted to access the Web.


The suggested package libplack-middleware-debug-perl does not appear
to exist:

2013-12-11 17:33:19 dpchrist at desktop ~/sandbox/perl/poet
$ apt-cache search libplack-middleware-debug-perl

2013-12-11 17:33:27 dpchrist at desktop ~/sandbox/perl/poet
$ 


I prefer not to install packages from CPAN because of the risk of
destabilizing my system.


David



-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpoet-perl depends on:
ii  libcapture-tiny-perl               0.18-1
ii  libchi-perl                        0.54-1
ii  libdata-rmap-perl                  0.62-1
ii  libfile-sharedir-install-perl      0.04-1
ii  libfile-sharedir-perl              1.00-0.1
ii  libfile-slurp-perl                 9999.19-1
ii  libguard-perl                      1.022-1+b1
ii  libjson-xs-perl                    2.320-1+b1
ii  liblog-any-adapter-perl            0.07-1
ii  libmason-perl                      2.19-2
ii  libmason-plugin-cache-perl         0.04-1
ii  libmason-plugin-htmlfilters-perl   0.03-1
ii  libmason-plugin-routersimple-perl  0.05-1
ii  libmasonx-processdir-perl          0.02-1
ii  libmethod-signatures-simple-perl   1.02-1
ii  libmoose-perl                      2.0603-1
ii  libmoosex-app-cmd-perl             0.07-1
ii  libmoosex-hasdefaults-perl         0.03-1
ii  libmoosex-strictconstructor-perl   0.19-1
ii  libplack-middleware-session-perl   0.14-1
ii  libplack-perl                      0.9989-1
ii  libtry-tiny-perl                   0.11-1
ii  liburi-perl                        1.60-1
ii  libyaml-libyaml-perl               0.38-3
ii  perl                               5.14.2-21+deb7u1

libpoet-perl recommends no packages.

Versions of packages libpoet-perl suggests:
pn  libplack-middleware-debug-perl  <none>

-- no debconf information



More information about the pkg-perl-maintainers mailing list