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

`<class:Parser>': superclass mismatch for class Mark (TypeError) #86

Closed
ThePixelDeveloper opened this issue Feb 6, 2013 · 6 comments
Closed

Comments

@ThePixelDeveloper
Copy link

Hi,

Love the idea of the project but ran into an issue trying to use it.

Versions of software used:

  • ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]
  • serve (1.5.1)

Create a project called serve-example with serve create, ran serve and ended up with the following stack trace

/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/x86_64-linux/psych.so: warning: already initialized constant ANY
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/x86_64-linux/psych.so: warning: already initialized constant UTF8
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/x86_64-linux/psych.so: warning: already initialized constant UTF16LE
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/x86_64-linux/psych.so: warning: already initialized constant UTF16BE
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/stream.rb:12: warning: already initialized constant ANY
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/stream.rb:15: warning: already initialized constant UTF8
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/stream.rb:18: warning: already initialized constant UTF16LE
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/stream.rb:21: warning: already initialized constant UTF16BE
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/sequence.rb:42: warning: already initialized constant ANY
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/sequence.rb:45: warning: already initialized constant BLOCK
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/sequence.rb:48: warning: already initialized constant FLOW
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/scalar.rb:9: warning: already initialized constant ANY
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/scalar.rb:12: warning: already initialized constant PLAIN
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/scalar.rb:15: warning: already initialized constant SINGLE_QUOTED
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/scalar.rb:18: warning: already initialized constant DOUBLE_QUOTED
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/scalar.rb:21: warning: already initialized constant LITERAL
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/scalar.rb:24: warning: already initialized constant FOLDED
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/mapping.rb:16: warning: already initialized constant ANY
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/mapping.rb:19: warning: already initialized constant BLOCK
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/nodes/mapping.rb:22: warning: already initialized constant FLOW
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/visitors/visitor.rb:10: warning: already initialized constant DISPATCH
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/scalar_scanner.rb:8: warning: already initialized constant TIME
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/scalar_scanner.rb:11: warning: already initialized constant FLOAT
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/handler.rb:26: warning: already initialized constant OPTIONS
/home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/parser.rb:33:in `<class:Parser>': superclass mismatch for class Mark (TypeError)
    from /home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/parser.rb:32:in `<module:Psych>'
    from /home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych/parser.rb:1:in `<top (required)>'
    from /home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych.rb:7:in `require'
    from /home/mathew/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/psych.rb:7:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal/conversions.rb:4:in `require'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal/conversions.rb:4:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal.rb:1:in `require'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal.rb:1:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext.rb:2:in `require'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext.rb:2:in `block in <top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext.rb:1:in `each'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/core_ext.rb:1:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/all.rb:3:in `require'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.11/lib/active_support/all.rb:3:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/serve-1.5.1/lib/serve.rb:1:in `require'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/serve-1.5.1/lib/serve.rb:1:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/serve-1.5.1/bin/serve:13:in `require'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/gems/serve-1.5.1/bin/serve:13:in `<top (required)>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/bin/serve:19:in `load'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/bin/serve:19:in `<main>'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/mathew/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `<main>'
@joevandyk
Copy link

it'll probably work to add the 'psych' gem.

but this error is pretty annoying.

@jlong
Copy link
Owner

jlong commented Feb 23, 2013

Please try again with 1.5.2. I think this is resolved.

@jlong jlong closed this as completed Feb 23, 2013
@joevandyk
Copy link

What was the fix?

@jlong
Copy link
Owner

jlong commented Feb 24, 2013

Upgraded gems.

--John

On Feb 23, 2013, at 7:47 PM, Joe Van Dyk notifications@github.com wrote:

What was the fix?

On Feb 23, 2013, at 3:24 PM, "John W. Long" notifications@github.com
wrote:

Please try again with 1.5.2. I think this is resolved.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/86#issuecomment-14000211.

Reply to this email directly or view it on GitHub.

@joevandyk
Copy link

You know which ones fixed this error?

@jlong
Copy link
Owner

jlong commented Feb 24, 2013

Not off hand. Glad to hear it is fixed.

--John

On Feb 23, 2013, at 11:53 PM, Joe Van Dyk notifications@github.com wrote:

You know which ones fixed this error?

On Feb 23, 2013, at 7:42 PM, "John W. Long" notifications@github.com
wrote:

Upgraded gems.

--John

On Feb 23, 2013, at 7:47 PM, Joe Van Dyk notifications@github.com wrote:

What was the fix?

On Feb 23, 2013, at 3:24 PM, "John W. Long" notifications@github.com
wrote:

Please try again with 1.5.2. I think this is resolved.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/86#issuecomment-14000211.

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/86#issuecomment-14002903.

Reply to this email directly or view it on GitHub.

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

3 participants