(Migrated) help me,this error where wrong

(This message has been automatically imported from the retired mailing list)

Traceback (most recent call last):
File “/opt/zato-1.1/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/arbiter.py”,
line 468, in spawn_worker
self.cfg.post_fork(self, worker)
File “/opt/zato-1.1/zato-server/src/zato/server/base/parallel.py”, line
499, in post_fork
parallel_server._after_init_common(server, arbiter.zato_deployment_key)
File “/opt/zato-1.1/zato-server/src/zato/server/base/parallel.py”, line
211, in _after_init_common
is_first = self.maybe_on_first_worker(server, self.kvdb.conn,
deployment_key)
File “/opt/zato-1.1/zato-server/src/zato/server/base/parallel.py”, line
143, in maybe_on_first_worker
with Lock(lock_name, self.deployment_lock_expires,
self.deployment_lock_timeout, redis_conn):
File “/opt/zato-1.1/eggs/retools-0.3-py2.7.egg/retools/lock.py”, line
55, in enter
if redis.setnx(self.key, expires):
File “/opt/zato-1.1/eggs/redis-2.4.13-py2.7.egg/redis/client.py”, line
525, in setnx
return self.execute_command(‘SETNX’, name, value)
File “/opt/zato-1.1/eggs/redis-2.4.13-py2.7.egg/redis/client.py”, line
279, in execute_command
connection.send_command(*args)
File “/opt/zato-1.1/eggs/redis-2.4.13-py2.7.egg/redis/connection.py”,
line 260, in send_command
self.send_packed_command(self.pack_command(*args))
File “/opt/zato-1.1/eggs/redis-2.4.13-py2.7.egg/redis/connection.py”,
line 243, in send_packed_command
self.connect()
File “/opt/zato-1.1/eggs/redis-2.4.13-py2.7.egg/redis/connection.py”,
line 189, in connect
sock = self._connect()
File “/opt/zato-1.1/eggs/redis-2.4.13-py2.7.egg/redis/connection.py”,
line 200, in _connect
sock.connect((self.host, self.port))
File
"/opt/zato-1.1/eggs/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/socket.py",
line 376, in connect
wait_readwrite(sock.fileno(), event=self._rw_event)
File
"/opt/zato-1.1/eggs/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/socket.py",
line 215, in wait_readwrite
switch_result = get_hub().switch()
File
"/opt/zato-1.1/eggs/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/hub.py",
line 164, in switch
return greenlet.switch(self)
SystemError: NULL result without error in PyObject_Call
2013-11-19 11:46:35,182 - INFO - 2162:Dummy-2 - gunicorn.error:22 -
Worker exiting (pid: 2162)

On 11/19/2013 04:56 AM, 李永胜 wrote:

File
“/opt/zato-1.1/eggs/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/hub.py”,
line 164, in switch
return greenlet.switch(self)
SystemError: NULL result without error in PyObject_Call
2013-11-19 11:46:35,182 - INFO - 2162:Dummy-2 - gunicorn.error:22 -

Hi,

it seems this is an issue with one of Zato’s dependencies, greenlet
0.4.0, on newer gcc compilers.

Can you please tell me what the output of running these commands is?

$ uname -a
$ lsb_release -a
$ gcc --version | grep gcc

For instance, this is on Ubuntu 12.04 LTS:

$ uname -a
Linux box 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
$

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
$

$ gcc --version | grep gcc
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
$

thanks,

On 11/19/2013 04:56 AM, 李永胜 wrote:

File
“/opt/zato-1.1/eggs/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/hub.py”,
line 164, in switch
return greenlet.switch(self)
SystemError: NULL result without error in PyObject_Call
2013-11-19 11:46:35,182 - INFO - 2162:Dummy-2 - gunicorn.error:22 -

Hi,

it seems this is an issue with one of Zato’s dependencies, greenlet
0.4.0, on newer gcc compilers.

Can you please tell me what the output of running these commands is?

$ uname -a
$ lsb_release -a
$ gcc --version | grep gcc

For instance, this is on Ubuntu 12.04 LTS:

$ uname -a
Linux box 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
$

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
$

$ gcc --version | grep gcc
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
$

thanks,