Re: error importing modules

2013-04-22 Thread MRAB
On 22/04/2013 15:54, Rodrick Brown wrote: I'm using the fabric api (fabfile.org ) I’m executing my fab script like the following: $ fab -H server set_nic_buffers -f set_nic_buffers.py Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/fabric/main

error importing modules

2013-04-22 Thread Rodrick Brown
I'm using the fabric api (fabfile.org) I’m executing my fab script like the following: $ fab -H server set_nic_buffers -f set_nic_buffers.py Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/fabric/main.py", line 739, in main *args, **kwargs File "/usr/lib/python

Re: Error importing modules with mod_python

2008-07-21 Thread Graham Dumpleton
On Jul 22, 3:30 am, Aaron Scott <[EMAIL PROTECTED]> wrote: > I've installedmod_python, and everything seems to be working, but it > fails when I try to import another file into the file that's actually > producing the output. I have these lines at the top of index.py: > > frommod_pythonimport apach

Re: Error importing modules with mod_python

2008-07-21 Thread Diez B. Roggisch
Aaron Scott wrote: > I've installed mod_python, and everything seems to be working, but it > fails when I try to import another file into the file that's actually > producing the output. I have these lines at the top of index.py: > > from mod_python import apache > from storylab import * > > ...

Error importing modules with mod_python

2008-07-21 Thread Aaron Scott
I've installed mod_python, and everything seems to be working, but it fails when I try to import another file into the file that's actually producing the output. I have these lines at the top of index.py: from mod_python import apache from storylab import * ... and in the directory where index.py