[IPython-dev] Missing twisted.web2 traceback
Steven H. Rogers
steve at shrogers.com
Tue Apr 24 08:14:57 EDT 2007
Fernando Perez wrote:
> On 4/23/07, Steven H. Rogers <steve at shrogers.com> wrote:
>
>> No problem. Someone has to find the bumps in the road. I updated to
>> r2267 and it installs successfully, but "ipcluster -n 4" complains that
>> I don't have twisted.web2 installed. I don't see this dependency
>> documented in INSTALL or the wiki. Is version 0.2 OK, or should we get
>> it from svn?
>
> Could you please post the actual traceback? That dependency is
> deliberately NOT listed because we ship with a private copy of web2,
> so that users only need to install Twisted 2.5 official, without
> having to resort to any SVN code. So I'd like to see the actual error
> message to see if we can help you better.
>
steve at raven:~/tools/ipython$ ipcluster -n 4
Starting controller: Controller PID: 4334
Traceback (most recent call last):
File "/usr/bin/ipcontroller", line 24, in ?
import ipython1.config.api as config
File "/usr/lib/python2.4/site-packages/ipython1/config/api.py", line
63, in ?
from ipython1.config.objects import configClasses
File "/usr/lib/python2.4/site-packages/ipython1/config/objects.py",
line 128, in ?
from ipython1.kernel.multienginexmlrpc import \
File
"/usr/lib/python2.4/site-packages/ipython1/kernel/multienginexmlrpc.py",
line 31, in ?
from ipython1.external.twisted.web2 import xmlrpc, server, channel
ImportError: No module named external.twisted.web2
Starting engines: Engines PIDs: [4336, 4337, 4338, 4339]
Log files: /home/steve/.ipython/log/ipcluster-4334-*
Your cluster is up and running.
For interactive use, you can make a Remote Controller with:
import ipython1.kernel.api as kernel
ipc = kernel.RemoteController(('127.0.0.1',10105))
You can then cleanly stop the cluster from IPython using:
ipc.killAll(controller=True)
You can also hit Ctrl-C to stop it, or use from the cmd line:
kill -INT 4333
Traceback (most recent call last):
File "/usr/bin/ipengine", line 25, in ?
import ipython1.config.api as config
File "/usr/lib/python2.4/site-packages/ipython1/config/api.py", line
63, in ?
from ipython1.config.objects import configClasses
File "/usr/lib/python2.4/site-packages/ipython1/config/objects.py",
line 128, in ?
from ipython1.kernel.multienginexmlrpc import \
File
"/usr/lib/python2.4/site-packages/ipython1/kernel/multienginexmlrpc.py",
line 31, in ?
from ipython1.external.twisted.web2 import xmlrpc, server, channel
ImportError: No module named external.twisted.web2
Traceback (most recent call last):
File "/usr/bin/ipengine", line 25, in ?
import ipython1.config.api as config
File "/usr/lib/python2.4/site-packages/ipython1/config/api.py", line
63, in ?
from ipython1.config.objects import configClasses
File "/usr/lib/python2.4/site-packages/ipython1/config/objects.py",
line 128, in ?
from ipython1.kernel.multienginexmlrpc import \
File
"/usr/lib/python2.4/site-packages/ipython1/kernel/multienginexmlrpc.py",
line 31, in ?
from ipython1.external.twisted.web2 import xmlrpc, server, channel
ImportError: No module named external.twisted.web2
Traceback (most recent call last):
File "/usr/bin/ipengine", line 25, in ?
import ipython1.config.api as config
File "/usr/lib/python2.4/site-packages/ipython1/config/api.py", line
63, in ?
from ipython1.config.objects import configClasses
File "/usr/lib/python2.4/site-packages/ipython1/config/objects.py",
line 128, in ?
from ipython1.kernel.multienginexmlrpc import \
File
"/usr/lib/python2.4/site-packages/ipython1/kernel/multienginexmlrpc.py",
line 31, in ?
from ipython1.external.twisted.web2 import xmlrpc, server, channel
ImportError: No module named external.twisted.web2
Traceback (most recent call last):
File "/usr/bin/ipengine", line 25, in ?
import ipython1.config.api as config
File "/usr/lib/python2.4/site-packages/ipython1/config/api.py", line
63, in ?
from ipython1.config.objects import configClasses
File "/usr/lib/python2.4/site-packages/ipython1/config/objects.py",
line 128, in ?
from ipython1.kernel.multienginexmlrpc import \
File
"/usr/lib/python2.4/site-packages/ipython1/kernel/multienginexmlrpc.py",
line 31, in ?
from ipython1.external.twisted.web2 import xmlrpc, server, channel
ImportError: No module named external.twisted.web2
Stopping cluster. Cleaning up...
OK: All processes cleaned up.
More information about the IPython-dev
mailing list