[IPython-user] Possible bug

A B python6009@gmail....
Sat Aug 22 18:17:03 CDT 2009


Hi,

I have the following setup:

~$ uname -a

Linux hostname 2.6.18-128.2.1.el5 #1 SMP Wed Jul 8 11:54:47 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux

~$ more /etc/redhat-release

Red Hat Enterprise Linux Server release 5.3 (Tikanga)

~$ python -V

Python 2.4.3

~$



IPython 0.10

============================================================================

BUILDING IPYTHON

                python: 2.4.3 (#1, Jul 16 2009, 06:20:46)  [GCC 4.1.2

                        20080704 (Red Hat 4.1.2-44)]

              platform: linux2



OPTIONAL DEPENDENCIES

        Zope.Interface: yes
               Twisted: 8.2.0
              Foolscap: 0.4.2
               OpenSSL: 0.6
                sphinx: 0.6.2
              pygments: 1.0
                  nose: 0.11.1
               pexpect: 2.3

~$ cat ~/ipclusterfile.py

engines = { 'host1' : 8,

            'host2' : 8,

            'host3' : 8,

            'host4' : 8 }



When I ran

 ipcluster ssh -n 32 --clusterfile ~/ipclusterfile.py

 ~$ ipcluster ssh -n 32 --clusterfile ~/ipclusterfile.py

2009-08-21 14:22:34-0700 [-] Log opened.
2009-08-21 14:22:34-0700 [-] Process ['ipcontroller',
'--logfile=/home/user/.ipython/log/ipcontroller'] has started with
pid=9799
2009-08-21 14:22:34-0700 [-] Waiting for controller to finish starting...
2009-08-21 14:22:35-0700 [-] Controller started
2009-08-21 14:22:35-0700 [-]
2009-08-21 14:22:35-0700 [-] Copying sshx: scp /tmp/user-main-sshx.sh
host1:/tmp/user-sshx.sh
2009-08-21 14:22:35-0700 [-]
2009-08-21 14:22:35-0700 [-] Copying sshx: scp /tmp/user-main-sshx.sh
host2:/tmp/user-sshx.sh
2009-08-21 14:22:35-0700 [-]
2009-08-21 14:22:35-0700 [-] Copying sshx: scp /tmp/user-main-sshx.sh
host3:/tmp/user-sshx.sh
2009-08-21 14:22:35-0700 [-]
2009-08-21 14:22:35-0700 [-] Copying sshx: scp /tmp/user-main-sshx.sh
host4:/tmp/user-sshx.sh

And then it hangs. The engines are never started (I check it on the
individual hosts).

The log file has (after I kill the process through Ctrl-C).

2009-08-21 14:22:35-0700 [-] Log opened.
2009-08-21 14:22:35-0700 [-] foolscap.pb.Listener starting on 51423
2009-08-21 14:22:35-0700 [-] foolscap.pb.Listener starting on 59858
2009-08-21 14:22:35-0700 [-] Adapting Controller to interface: multiengine
2009-08-21 14:22:35-0700 [-] Saving furl for interface [multiengine]
to file: /home/user/.ipython/security/ipcontroller-mec.furl
2009-08-21 14:22:35-0700 [-] Adapting Controller to interface: task
2009-08-21 14:22:35-0700 [-] Saving furl for interface [task] to file:
/home/user/.ipython/security/ipcontroller-tc.furl
2009-08-21 14:22:35-0700 [-] Saving furl for the engine to file:
/home/user/.ipython/security/ipcontroller-engine.furl
2009-08-21 14:22:35-0700 [-]
twisted.internet.protocol.DatagramProtocol starting on 57713
2009-08-21 14:22:35-0700 [-] Starting protocol
<twisted.internet.protocol.DatagramProtocol instance at
0x2ab894573680>
2009-08-21 14:22:35-0700 [-]
twisted.internet.protocol.DatagramProtocol starting on 44931
2009-08-21 14:22:35-0700 [-] Starting protocol
<twisted.internet.protocol.DatagramProtocol instance at
0x2ab894601830>
2009-08-21 14:22:35-0700 [-] (Port 57713 Closed)
2009-08-21 14:22:35-0700 [-] Stopping protocol
<twisted.internet.protocol.DatagramProtocol instance at
0x2ab894573680>
2009-08-21 14:22:35-0700 [-] (Port 44931 Closed)
2009-08-21 14:22:35-0700 [-] Stopping protocol
<twisted.internet.protocol.DatagramProtocol instance at
0x2ab894601830>
2009-08-21 14:24:21-0700 [-] Received SIGINT, shutting down.
2009-08-21 14:24:21-0700 [foolscap.pb.Listener] (Port 51423 Closed)
2009-08-21 14:24:21-0700 [foolscap.pb.Listener] (Port 59858 Closed)
2009-08-21 14:24:21-0700 [-] Main loop terminated.

 If I don’t kill the ipcluster process and manually start the engines,
I can then execute my code, but get the following error after it runs
properly. This exception doesn’t occur with 0.9.1 but the ipcluster
there won’t start the engines so I decided to use 0.10.

Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method RemoteReferenceTracker._refLost of
<RemoteReferenceTracker(clid=1,url=pb://cuqaedcvwk2o4yacs3haalp4pc4w22gk@127.0.0.1:60762,IPADDRESS:60762/zzqmuetd26b4teeciljke2vec4633jp6)>>
ignored

Any pointers would be much appreciated.


More information about the IPython-user mailing list