[Dancer-users] Issues with Dancer-Plugin-NYTProf

Angel Arancibia angel.arancibia at gmail.com
Tue Jan 31 19:36:32 CET 2012


Hi, early today we where discussing this extrange issue with Bigpresh
on the IRC. After some fix this is now the situtation.

Apache throw:

Tue Jan 31 18:15:06 2012] [error] [client 192.168.2.82] Error while
loading /home/mg/Mg/bin/app.pl: Devel/NYTProf.pm did not return a true
value at /usr/local/share/perl/5.10.1/Dancer/Plugin/NYTProf.pm line
82.\nCompilation failed in require at /home/mg/Mg/lib/Mg.pm line
13.\nBEGIN failed--compilation aborted at /home/mg/Mg/lib/Mg.pm line
13.\nCompilation failed in require at /home/mg/Mg/bin/app.pl line
3.\nBEGIN failed--compilation aborted at /home/mg/Mg/bin/app.pl line
3.\n, referer: http://mg.www.dancer-server.local/es/
[Tue Jan 31 18:15:06 2012] [error] [client 192.168.2.82] Error while
loading /home/mg/Mg/bin/app.pl: Devel/NYTProf.pm did not return a true
value at /usr/local/share/perl/5.10.1/Dancer/Plugin/NYTProf.pm line
82.\nCompilation failed in require at /home/mg/Mg/lib/Mg.pm line
13.\nBEGIN failed--compilation aborted at /home/mg/Mg/lib/Mg.pm line
13.\nCompilation failed in require at /home/mg/Mg/bin/app.pl line
3.\nBEGIN failed--compilation aborted at /home/mg/Mg/bin/app.pl line
3.\n, referer: http://mg.www.dancer-server.local/es/

[Tue Jan 31 18:15:07 2012] [error] [client 192.168.2.82] Error while
loading /home/mg/Mg/bin/app.pl: Attempt to reload Mg.pm
aborted.\nCompilation failed in require at /home/mg/Mg/bin/app.pl line
3.\nBEGIN failed--compilation aborted at /home/mg/Mg/bin/app.pl line
3.\n, referer: http://mg.www.dancer-server.local/es/


Background information

- Dancer 1.3091
- Dancer-Plugin-NYTProf: the very lastone from Bigpresh repo in github.
- Devel::NYTProf (4.06)

- apache2: Server version: Apache/2.2.16 (Debian)  Server built:   Mar
22 2011 20:56:34 (runnign as user www-data)
- SO: Debian GNU/Linux 6.0 (Squeeze)

/home/mg/Mg/environments/development.yml
plugins:
  DBIC:
    ...
  NYTProf:
      profdir: '/tmp/profiledata'

/tmp/profiledata has some files:

(CHROOT SQUEEZE)root at mg-domu:/tmp# ls -l profiledata/
total 660
drwxr-xr-x 2 www-data www-data   4096 ene 31 18:17 html
-rw-r--r-- 1 www-data www-data 338802 ene 31 18:17 nytprof.out..21573
-rw-r--r-- 1 www-data www-data 319765 ene 31 18:18 nytprof.out.es_s_.21574

Any help would be appreciated.

Angel


More information about the Dancer-users mailing list