Skip to content

yardoc can not create documentation (Name Resolution Problem on Bzip2Singleton) #13

@torbjoernk

Description

@torbjoernk

yardoc is unable to compile the documentation and fails with the following message:

[warn]: Load Order / Name Resolution Problem on Bzip2Singleton:
[warn]: -
[warn]: Something is trying to call child on object Bzip2Singleton before it has been recognized.
[warn]: This error usually means that you need to modify the order in which you parse files
[warn]: so that Bzip2Singleton is parsed before methods or other objects attempt to access it.
[warn]: -
[warn]: YARD will recover from this error and continue to parse but you *may* have problems
[warn]: with your generated documentation. You should probably fix this.
[warn]: -
/usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/code_objects/proxy.rb:218:in `rescue in method_missing': Proxy cannot call method #child on object 'Bzip2Singleton' (YARD::CodeObjects::ProxyMethodError)
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/code_objects/proxy.rb:215:in `method_missing'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:108:in `handle_alias'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:415:in `block in parse_aliases'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:408:in `scan'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:408:in `parse_aliases'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:18:in `parse'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:438:in `parse'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:361:in `parse_in_order'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:89:in `block in parse'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/logging.rb:66:in `enter_level'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:88:in `parse'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard.rb:18:in `parse'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/cli/yardoc.rb:215:in `run'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/lib/yard/cli/command.rb:13:in `run'
      from /usr/lib64/ruby/gems/1.9.1/gems/yard-0.7.4/bin/yardoc:4:in `<top (required)>'
      from /usr/bin/yardoc:19:in `load'
      from /usr/bin/yardoc:19:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions