Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Test failure with execjs 1.2.13 and spidermonkey 1.8.5 #62

Closed
graaff opened this issue Dec 30, 2011 · 1 comment
Closed

Test failure with execjs 1.2.13 and spidermonkey 1.8.5 #62

graaff opened this issue Dec 30, 2011 · 1 comment

Comments

@graaff
Copy link

graaff commented Dec 30, 2011

I'm getting two test failures with spidermonkey 1.8.5. Tests all pass with nodejs 0.6.6.

  1) Error:
test_eval(TestExecJS):
MultiJson::DecodeError: lexical error: invalid character inside string.
                                 ["ok","�"] 
                     (right here) ------^

    /usr/lib64/ruby/gems/1.8/gems/multi_json-1.0.4/lib/multi_json/engines/yajl.rb:10:in `parse'
    /usr/lib64/ruby/gems/1.8/gems/multi_json-1.0.4/lib/multi_json/engines/yajl.rb:10:in `decode'
    /usr/lib64/ruby/gems/1.8/gems/multi_json-1.0.4/lib/multi_json.rb:76:in `decode'
    ./lib/execjs/external_runtime.rb:61:in `extract_result'
    ./lib/execjs/external_runtime.rb:27:in `exec'
    ./lib/execjs/external_runtime.rb:40:in `compile_to_tempfile'
    ./lib/execjs/external_runtime.rb:26:in `exec'
    ./lib/execjs/external_runtime.rb:18:in `eval'
    ./lib/execjs/external_runtime.rb:107:in `eval'
    ./lib/execjs/module.rb:23:in `eval'
    /var/tmp/portage/dev-ruby/execjs-1.2.13/work/all/sstephenson-execjs-7fc7967/test/test_execjs.rb:82:in `test_eval'

  2) Error:
test_exec(TestExecJS):
MultiJson::DecodeError: lexical error: invalid character inside string.
                                 ["ok","�"] 
                     (right here) ------^

    /usr/lib64/ruby/gems/1.8/gems/multi_json-1.0.4/lib/multi_json/engines/yajl.rb:10:in `parse'
    /usr/lib64/ruby/gems/1.8/gems/multi_json-1.0.4/lib/multi_json/engines/yajl.rb:10:in `decode'
    /usr/lib64/ruby/gems/1.8/gems/multi_json-1.0.4/lib/multi_json.rb:76:in `decode'
    ./lib/execjs/external_runtime.rb:61:in `extract_result'
    ./lib/execjs/external_runtime.rb:27:in `exec'
    ./lib/execjs/external_runtime.rb:40:in `compile_to_tempfile'
    ./lib/execjs/external_runtime.rb:26:in `exec'
    ./lib/execjs/external_runtime.rb:102:in `exec'
    ./lib/execjs/module.rb:19:in `exec'
    /var/tmp/portage/dev-ruby/execjs-1.2.13/work/all/sstephenson-execjs-7fc7967/test/test_execjs.rb:63:in `test_exec'
@graaff
Copy link
Author

graaff commented Dec 30, 2011

I see the character didn't survive pasting, but I see a small H above a T there.

@josh josh closed this as completed May 20, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants