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

mapping values are not allowed in this context at line 4 column 52 (Psych::SyntaxError) #22

Open
atorreso opened this issue Mar 20, 2014 · 1 comment

Comments

@atorreso
Copy link

I am getting the following when the app tries to download a .js file.

cust_service_djenga.js ... /usr/lib/ruby/1.9.1/psych.rb:203:in parse': (<unknown>): mapping values are not allowed in this context at line 4 column 52 (Psych::SyntaxError) from /usr/lib/ruby/1.9.1/psych.rb:203:inparse_stream'
from /usr/lib/ruby/1.9.1/psych.rb:151:in parse' from /usr/lib/ruby/1.9.1/psych.rb:127:inload'
from /var/lib/gems/1.9.1/gems/crack-0.1.8/lib/crack/json.rb:12:in parse' from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:116:injson'
from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:136:in parse_supported_format' from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:103:inparse'
from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:66:in call' from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/request.rb:217:inparse_response'
from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/request.rb:189:in handle_response' from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/request.rb:71:inperform'
from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty.rb:390:in perform_request' from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty.rb:342:inget'
from /var/lib/gems/1.9.1/gems/httparty-0.7.8/lib/httparty.rb:422:in get' from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:42:inget'
from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:463:in export_content' from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:436:inexport'
from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:289:in block in export_uploads' from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:286:ineach'
from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:286:in export_uploads' from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:235:inexport'
from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/lib/campfire_export.rb:177:in export' from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/bin/campfire_export:61:inblock in <top (required)>'
from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/bin/campfire_export:60:in each' from /var/lib/gems/1.9.1/gems/campfire_export-0.3.0/bin/campfire_export:60:in<top (required)>'
from /usr/local/bin/campfire_export:23:in load' from /usr/local/bin/campfire_export:23:in

'

Outside of this, it works great, but when it hits the .js file it just dies.

Thanks,

@jsl
Copy link

jsl commented Mar 18, 2015

Hi @atorreso - I made several fixes and updates to this project, and now I'm unable to reproduce the issue you reported. Javascript files ending in .js download fine. It may be that the dependencies I upgraded fixed the issue you found, or that there was something peculiar about your file.

At any rate, I'd be interested in hearing if you can still reproduce it using my fork (GitHub, RubyGems).

Thanks for reporting this issue!

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

2 participants