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

NameError: uninitialized constant Pyasm::VM #1

Open
vote539 opened this issue Oct 30, 2012 · 3 comments
Open

NameError: uninitialized constant Pyasm::VM #1

vote539 opened this issue Oct 30, 2012 · 3 comments

Comments

@vote539
Copy link

vote539 commented Oct 30, 2012

I cloned unholy from the repository and followed the installation instructions. When I run bin/unholy test.rb (test.rb exists), I get the error

*** Are you sure you're running Ruby 1.9?
/path/to/unholy/lib/unholy/pyasm.rb:366:in `throw': uncaught throw #<NameError: uninitialized constant Pyasm::VM> (ArgumentError)
    from /path/to/unholy/lib/unholy/pyasm.rb:366:in `rescue in eval'
    from /path/to/unholy/lib/unholy/pyasm.rb:361:in `eval'
    from /path/to/unholy/lib/unholy.rb:8:in `unholy'
    from bin/unholy:5:in `<main>'

I am running Ruby 1.9.3 and Python 2.7.1.

$ /usr/bin/env ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
$ /usr/bin/env python --version
Python 2.7.1
@vote539
Copy link
Author

vote539 commented Oct 30, 2012

I tried running bcandrea's fork (https://github.com/bcandrea/unholy). I am getting a different error now:

1
[:trace, 1]
[:putself]
*** Are you sure you are running Ruby 1.9?
/path/to/unholy/lib/unholy/pyasm.rb:379:in `throw': uncaught throw #<NoMethodError: undefined method `putself' for #<Pyasm:0x007f92098c37f8>> (ArgumentError)
    from /path/to/unholy/lib/unholy/pyasm.rb:379:in `rescue in eval'
    from /path/to/unholy/lib/unholy/pyasm.rb:374:in `eval'
    from /path/to/unholy/lib/unholy.rb:8:in `unholy'
    from bin/unholy:5:in `<main>'

@Zerokami
Copy link

Zerokami commented Dec 3, 2015

Please fix this issue. I'm having the exact issue.

@devyn
Copy link
Owner

devyn commented Dec 6, 2015

This was an old project by the now defunct _why, and it was made back when Ruby 1.9 was still under development and a lot of things were different. I don't expect it to work anymore.

In any case, it was just a fun hack; wasn't ever production-ready.

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