1 # Profile data incomplete
3 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:
5 [svetlana /home/private/wiki]$ PERL5OPT=-d:NYTProf
6 [svetlana /home/private/wiki]$ export PER5OPT
7 [svetlana /home/private/wiki]$ ikiwiki --setup ikiwiki.setup
8 skipping bad filename free/To-dos.mdwn~
9 [svetlana /home/private/wiki]$ nytprofhtml
11 Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the
12 file has been truncated (refer to TROUBLESHOOTING in the documentation)
13 [svetlana /home/private/wiki]$
15 Typing "export NYTPROF=sigexit=int,hup,pipe,bus,segv,term" and repeating ikiwiki and nytprofhtml commands has no effect.
17 What do I do now? Where is the TROUBLESHOOTING file located? --[[users/svetlana]]
20 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
22 Fixed by exporting "PERL5OPT" rather than "PER5OPT"; fixing typo in documentation... --[[users/svetlana]]