1

I created a Python script to use Rackspace's API (Pyrax) to handle some image processing. It works perfect locally, but when I upload it to Iron.io worker, it builds but does not import.

I am using a Windows 8 pc, but my boss runs OS X and uploading the exact worker package, it works fine. So I'm thinking it's something with Windows 8 but I don't know how to check/fix.

I do apologize in advance if I ramble or do not explain things clearly enough but any help would be greatly appreciated.

My worker file looks like this:

runtime "python" exec "rackspace.py" pip "pyrax" full_remote_build true

Then I simply import pyrax in my python file.

keithp
  • 352
  • 1
  • 4
  • 13

2 Answers2

2

I figured out that it was a bad Ruby install. No idea why, but reinstalling it worked.

keithp
  • 352
  • 1
  • 4
  • 13
  • Glad you got this figured out. If you need more specifics, jump into our live chat http://get.iron.io/chat or hit us here on SO. – Chad Mar 03 '14 at 18:07
  • Good to hear you got it working. If you run into any pyrax-specific issues, you can always post them on https://github.com/rackspace/pyrax/issues – Ed Leafe Mar 03 '14 at 19:20
0

It's difficult to know for sure what's happening without being able to see a traceback. Do you get anything like that which could be used to help figure out what's going on?

Ed Leafe
  • 130
  • 4