# New Ticket Created by  Matt Rosin 
# Please include the string:  [perl #131025]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131025 >


Hello,

I installed the Rakudo Star Mac OS X 2017.01 DMG installer on a new MacBook Pro 
and had the following problem:
The p6doc command (run in iTerm2) cannot find the documentation.

I discussed with Coke and Zoffix on IRC: 
https://irclog.perlgeek.de/perl6/2017-02-27#i_14173490 
<https://irclog.perlgeek.de/perl6/2017-02-27#i_14173490>

Since I did not see it on the bug tracker I would like to make sure you know 
about it so it can be fixed for the next Rakudo Star release, thanks!

What does work is if you do p6doc -l then you can view most of the docs listed 
(except zef). However it does not work for any of the other examples displayed 
when you run p6doc without arguments.

Coke said: last time I mentioned an issue with this, someone said it was a 
known issue
Zoffix said: I opend an Issue on the topic: 
https://github.com/perl6/doc/issues/1224 
<https://github.com/perl6/doc/issues/1224>
(p6doc mentions `Type::*` in instructions / LTA errors on unknown types #1224)

15:48 <https://irclog.perlgeek.de/perl6/2017-02-27#i_14173562>  Zoffix  `p6doc 
Str` works for me. Did you run `pd6doc-index build`?
15:48 <https://irclog.perlgeek.de/perl6/2017-02-27#i_14173563>  mattr__ yes
15:48 <https://irclog.perlgeek.de/perl6/2017-02-27#i_14173564>  Zoffix  faq 
works too for me. This is on Bodhi Linux
15:48 <https://irclog.perlgeek.de/perl6/2017-02-27#i_14173565>          no idea 
why it don't work for oyu
15:49 <https://irclog.perlgeek.de/perl6/2017-02-27#i_14173567>  mattr__ I think 
as Coke (thanks!) notes there is some problem with the latest max os x dmg 
installer

To reproduce the error:


The kind of errors I saw:

p6doc Str
Str is a builtin type, not an external module
  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
  in sub locate-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 39
  in sub MAIN at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 93
  in block <unit> at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 226

p6doc Str.split
Str is a builtin type, not an external module
  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
  in sub locate-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 39
  in sub MAIN at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 128
  in sub MAIN at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 92
  in block <unit> at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 226

p6doc -f Type::Array.push
Could not find Type::Array at line 0 in:
    /Users/mattr/.perl6
    /Applications/Rakudo/share/perl6/site
    /Applications/Rakudo/share/perl6/vendor
    /Applications/Rakudo/share/perl6
    CompUnit::Repository::AbsolutePath<140451008105744>
    CompUnit::Repository::NQP<140451007696344>
    CompUnit::Repository::Perl5<140451007696384>
  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
  in sub locate-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 39
  in sub MAIN at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 128
  in block <unit> at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 226

p6doc faq
Could not find faq at line 0 in:
    /Users/mattr/.perl6
    /Applications/Rakudo/share/perl6/site
    /Applications/Rakudo/share/perl6/vendor
    /Applications/Rakudo/share/perl6
    CompUnit::Repository::AbsolutePath<140294375860960>
    CompUnit::Repository::NQP<140294375451608>
    CompUnit::Repository::Perl5<140294375451648>
  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
  in sub locate-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 39
  in sub MAIN at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 93
  in block <unit> at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 226

p6doc -f hyper
No documentation found for a routine named ‘hyper’

p6doc -f slurp
No documentation found for a routine named 'slurp'

p6doc zef
Use of Nil in string context
  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
Use of Nil in string context
  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
Can not run directory /Applications/Rakudo/share/perl6/site/sources.

  in sub locate-curli-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 219
  in sub locate-module at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 39
  in sub MAIN at 
/Applications/Rakudo/share/perl6/site/resources/C3A18C4AD5209A1B226E53B2C22A5347E5AC4790
 line 93
  in block <unit> at /Applications/Rakud

Best regards,

Matt Rosin

Reply via email to