Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
torbjoernk opened this issue Jan 22, 2012 · 0 comments

Comments

@torbjoernk
Copy link

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>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant