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

Jazzy is crashing on my project with JSON::ParserError #123

Closed
ndbroadbent opened this issue Dec 20, 2014 · 5 comments
Closed

Jazzy is crashing on my project with JSON::ParserError #123

ndbroadbent opened this issue Dec 20, 2014 · 5 comments
Assignees
Milestone

Comments

@ndbroadbent
Copy link

...
building site
/Users/ndbroadbent/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/json/common.rb:155:in `parse': 399: unexpected token at ', (JSON::ParserError)
...
< so much JSON >
...
  from /Users/ndbroadbent/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/json/common.rb:155:in `parse'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/gems/jazzy-0.0.17/lib/jazzy/sourcekitten.rb:174:in `parse'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/gems/jazzy-0.0.17/lib/jazzy/doc_builder.rb:100:in `build_docs_for_sourcekitten_output'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/gems/jazzy-0.0.17/lib/jazzy/doc_builder.rb:53:in `build'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/gems/jazzy-0.0.17/bin/jazzy:15:in `<top (required)>'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/bin/jazzy:23:in `load'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/bin/jazzy:23:in `<main>'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `eval'
  from /Users/ndbroadbent/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `<main>'

Please feel free to check out the full crash log here (warning - it's pretty big): https://gist.github.com/ndbroadbent/112350ea5f4cebc6b84e

Thanks!

@ndbroadbent
Copy link
Author

Also opened an issue on sourcekitten, since it seems to be related.

@jpsim
Copy link
Collaborator

jpsim commented Dec 20, 2014

I pushed a (hopeful) fix to sourcekitten. If you confirm that it works for your, I'll release a jazzy update with the new sourcekitten build.

@mohitathwani
Copy link

I have the same issue ... is there a fix yet ?

@jpsim
Copy link
Collaborator

jpsim commented Dec 25, 2014

Fixed in #124 (now in master, though not yet pushed to rubygems). Thanks for reporting this and sharing a reproducible case!

@jpsim jpsim closed this as completed Dec 25, 2014
@mohitathwani
Copy link

so i has loads of issues in trying to build it and getting the update .. when would this be part of ruby gems ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants