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

Some worker preinstalled ffi gem, CAUSE: RubyPython::PyObject::FFI (NameError) #555

Closed
saberma opened this issue May 22, 2012 · 9 comments
Closed

Comments

@saberma
Copy link

saberma commented May 22, 2012

Here is the error report from my test app

http://travis-ci.org/#!/saberma/test-travis-ci-xvfb/jobs/1390501/L121

Only happen in this workers:

  • ruby1.worker.travis-ci.org:travis-ruby-1
  • ruby1.worker.travis-ci.org:travis-ruby-3
  • ruby1.worker.travis-ci.org:travis-ruby-6

worker preinstall ffi gem

worker error

@sarahhodne
Copy link
Contributor

Pygments.rb requires pygments to be installed. Try adding this to your .travis.yml file:

before_install:
  - sudo apt-get update
  - sudo apt-get install python-pygments

@saberma
Copy link
Author

saberma commented May 22, 2012

@dvyjones Thanks for your reply, I have added the before install script, but error is the same.

@sarahhodne
Copy link
Contributor

Oh, duh. You need libpython too. Sorry about that:

before_install:
  - sudo apt-get update
  - sudo apt-get install libpython2.7 python-pygments

@saberma
Copy link
Author

saberma commented May 22, 2012

Does all the ruby workers use the same configurations?
What I saw is the same rails app run in different workers, but the result is also difference.

Please take a look at build result(6 pass, 3 fail):
http://travis-ci.org/#!/saberma/test-travis-ci-xvfb/builds/1390496

travis3

@saberma
Copy link
Author

saberma commented May 22, 2012

@dvyjones I'm try to install libpython, but indicating its already installed.

libpython2.7 is already the newest version.

@sarahhodne
Copy link
Contributor

They should be exactly the same. @michaelklishin, can you take a look at this? (granted I remember who works on what)

@michaelklishin
Copy link
Contributor

Ruby MVs are not all upgraded all at once. What you are seeing is 2 machines already upgraded and 2 are not.

@michaelklishin
Copy link
Contributor

Uninstall whatever version of the ffi gem does not work with your project in a before_install and install the one you need.

@michaelklishin
Copy link
Contributor

New images will be deployed within 24 hours.

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