aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/optimising_ikiwiki/discussion.mdwn
blob: f8c01fe51d71863ee6c7ad329fa426dcc8d4f7b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Profile data incomplete

Following the steps "Install Devel::NYTProf. PERL5OPT=-d:NYTProf. export PER5OPT. Now run ikiwiki as usual, and it will generate a nytprof.out file. Run nytprofhtml to generate html files.", get the following error message:

    [svetlana /home/private/wiki]$ PERL5OPT=-d:NYTProf
    [svetlana /home/private/wiki]$ export PER5OPT
    [svetlana /home/private/wiki]$ ikiwiki --setup ikiwiki.setup 
    skipping bad filename free/To-dos.mdwn~
    [svetlana /home/private/wiki]$ nytprofhtml
    Reading nytprof.out
    Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the
     file has been truncated  (refer to TROUBLESHOOTING in the documentation)
    [svetlana /home/private/wiki]$ 

Typing "export NYTPROF=sigexit=int,hup,pipe,bus,segv,term" and repeating ikiwiki and nytprofhtml commands has no effect.

What do I do now? Where is the TROUBLESHOOTING file located? --[[users/svetlana]]


Found <https://metacpan.org/pod/Devel::NYTProf#%22Profile-data-incomplete,-...%22-or-%22Profile-format-error:-...%22>, however, "export NYTPROF=sigexit=1" does not help either. Running "unset PER5OPT" before running nytprofhtml does not help either as well. That leaves this problem unsolved still. --[[users/svetlana]] Fri Feb  2 08:03:13 2018

Fixed by exporting "PERL5OPT" rather than "PER5OPT"; fixing typo in documentation... --[[users/svetlana]]