Re: [ZODB-Dev] zeopack error

2012-01-30 Thread Martijn Pieters
On Mon, Jan 30, 2012 at 14:15, Kaweh Kazemi  wrote:
> I believe my output is confusing, because I additionally  redirected the 
> zeopack output into my zeo.log.

Could you not do that? Redirecting the output to a logfile opened by
two processes can lead to unpredictable results. Tell zeo to reopen
the log file by running "bin/zeo logreopen" and run zeopack without
redirecting the log, then see what's in the logs.

-- 
Martijn Pieters
___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] zeopack error

2012-01-30 Thread Kaweh Kazemi
On 30.01.2012, at 14:01, Martijn Pieters wrote:

> On Mon, Jan 30, 2012 at 13:41, Kaweh Kazemi  wrote:
>> Unfortunately I'm not seeing anything useful, which is my problem:
> 
> That's because that's not the ZEO server log output, but the output
> from zeopack. Your ZEO server keeps logs too, Jim is asking for the
> information you'll find there.


I believe my output is confusing, because I additionally  redirected the 
zeopack output into my zeo.log.

I get INFO/WARNING/ERROR loggings from zeo into zeo.log (you can see when 
127.0.0.1:58682 starts the pack and after the error gets disconnected). 

Here are some more parts. And as far as I can see an Error is raised "in 
delayed method", but I have no more information in my log. I might be missing 
something - can I ask zeo to be more verbose about it's doings?




[INFO] 2012-01-30T12:20:22: new connection (':::127.0.0.1', 58681): 

[INFO] 2012-01-30T12:20:22: new connection (':::127.0.0.1', 58682): 

[INFO] 2012-01-30T12:20:22: new connection (':::127.0.0.1', 58683): 

[INFO] 2012-01-30T12:20:22: (:::127.0.0.1:58682) received handshake 'Z3101'
[INFO] 2012-01-30T12:20:22: (unconnected) disconnected
[INFO] 2012-01-30T12:20:22: (unconnected) disconnected
[INFO] 2012-01-30T12:20:22: (:::127.0.0.1:58682) 
pack(time=1327922422.871784) started...
[WARNING] 2012-01-30T12:31:28: (:::83.164.139.135:51056) ('users') queue 
lock: transactions waiting: 4
[WARNING] 2012-01-30T12:31:41: (:::83.164.139.135:50921) ('users') unlock: 
transactions waiting: 4
[WARNING] 2012-01-30T12:31:41: (:::83.164.139.135:50921) ('users') queue 
lock: transactions waiting: 4



[WARNING] 2012-01-30T13:36:13: (:::83.164.139.135:50977) ('users') unlock: 
transactions waiting: 5
[WARNING] 2012-01-30T13:36:13: (:::83.164.139.135:50940) ('users') lock: 
transactions waiting: 4
[WARNING] 2012-01-30T13:36:13: (:::83.164.139.135:50940) ('users') unlock: 
transactions waiting: 4
[WARNING] 2012-01-30T13:36:17: (:::83.164.139.135:50977) ('users') queue 
lock: transactions waiting: 4
[WARNING] 2012-01-30T13:36:17: (:::83.164.139.135:51019) ('users') unlock: 
transactions waiting: 4
[ERROR] 2012-01-30T13:36:18: (22455) Error raised in delayed method
None
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/scripts/zeopack.py",
 line 159, in _main
cs.pack(packt, wait=True)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ClientStorage.py",
 line 916, in pack
return self._server.pack(t, wait)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ServerStub.py",
 line 155, in pack
self.rpc.call('pack', t, wait)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/connection.py",
 line 768, in call
raise inst # error raised by server
TypeError: unhashable type: 'list'
Error:
Error packing storage users in ('localhost', 9100)
[INFO] 2012-01-30T13:36:18: (:::127.0.0.1:58682) disconnected



Kind regards,
Kaweh
___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] zeopack error

2012-01-30 Thread Martijn Pieters
On Mon, Jan 30, 2012 at 13:41, Kaweh Kazemi  wrote:
> Unfortunately I'm not seeing anything useful, which is my problem:

That's because that's not the ZEO server log output, but the output
from zeopack. Your ZEO server keeps logs too, Jim is asking for the
information you'll find there.

-- 
Martijn Pieters
___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] zeopack error

2012-01-30 Thread Kaweh Kazemi
Unfortunately I'm not seeing anything useful, which is my problem:

[ERROR] 2012-01-30T13:36:18: (22455) Error raised in delayed method
None
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/scripts/zeopack.py",
 line 159, in _main
cs.pack(packt, wait=True)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ClientStorage.py",
 line 916, in pack
return self._server.pack(t, wait)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ServerStub.py",
 line 155, in pack
self.rpc.call('pack', t, wait)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/connection.py",
 line 768, in call
raise inst # error raised by server
TypeError: unhashable type: 'list'
Error:
Error packing storage users in ('localhost', 9100)
[INFO] 2012-01-30T13:36:18: (:::127.0.0.1:58682) disconnected

Kind regards,
Kaweh

On 30.01.2012, at 12:10, Jim Fulton wrote:

> On Mon, Jan 30, 2012 at 5:22 AM, Kaweh Kazemi  wrote:
>> Hi zodb-dev,
>> 
>> during our latest zeopack runs, zeopack for our users storage fails giving 
>> this error:
>> 
>> Traceback (most recent call last):
>>  File 
>> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/scripts/zeopack.py",
>>  line 159, in _main
>>cs.pack(packt, wait=True)
>>  File 
>> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ClientStorage.py",
>>  line 916, in pack
>>return self._server.pack(t, wait)
>>  File 
>> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ServerStub.py",
>>  line 155, in pack
>>self.rpc.call('pack', t, wait)
>>  File 
>> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/connection.py",
>>  line 768, in call
>>raise inst # error raised by server
>> TypeError: unhashable type: 'list'
>> Error:
>> Error packing storage users in ('localhost', 9100)
>> 
>> Any ideas how to start to debug this behavior to find the bad data structure 
>> that prevents zeopack to run correctly? There is no verbose mode with 
>> zeopack as far as I know that would provide me with more helpful information 
>> (like the transaction id?). Maybe I can use any of the other tools to get to 
>> the source of the problem?
>> 
>> Any experience you could share to help me find the bad structure is very 
>> much appreciated. Thanks for your help.
> 
> Start by looking for an error in the server log.
> 
> Jim
> 
> -- 
> Jim Fulton
> http://www.linkedin.com/in/jimfulton

___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] zeopack error

2012-01-30 Thread Jim Fulton
On Mon, Jan 30, 2012 at 5:22 AM, Kaweh Kazemi  wrote:
> Hi zodb-dev,
>
> during our latest zeopack runs, zeopack for our users storage fails giving 
> this error:
>
> Traceback (most recent call last):
>  File 
> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/scripts/zeopack.py",
>  line 159, in _main
>    cs.pack(packt, wait=True)
>  File 
> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ClientStorage.py",
>  line 916, in pack
>    return self._server.pack(t, wait)
>  File 
> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ServerStub.py",
>  line 155, in pack
>    self.rpc.call('pack', t, wait)
>  File 
> "/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/connection.py",
>  line 768, in call
>    raise inst # error raised by server
> TypeError: unhashable type: 'list'
> Error:
> Error packing storage users in ('localhost', 9100)
>
> Any ideas how to start to debug this behavior to find the bad data structure 
> that prevents zeopack to run correctly? There is no verbose mode with zeopack 
> as far as I know that would provide me with more helpful information (like 
> the transaction id?). Maybe I can use any of the other tools to get to the 
> source of the problem?
>
> Any experience you could share to help me find the bad structure is very much 
> appreciated. Thanks for your help.

Start by looking for an error in the server log.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] zeopack error

2012-01-30 Thread Kaweh Kazemi
Hi zodb-dev,

during our latest zeopack runs, zeopack for our users storage fails giving this 
error:

Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/scripts/zeopack.py",
 line 159, in _main
cs.pack(packt, wait=True)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ClientStorage.py",
 line 916, in pack
return self._server.pack(t, wait)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/ServerStub.py",
 line 155, in pack
self.rpc.call('pack', t, wait)
  File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/connection.py",
 line 768, in call
raise inst # error raised by server
TypeError: unhashable type: 'list'
Error:
Error packing storage users in ('localhost', 9100)

Any ideas how to start to debug this behavior to find the bad data structure 
that prevents zeopack to run correctly? There is no verbose mode with zeopack 
as far as I know that would provide me with more helpful information (like the 
transaction id?). Maybe I can use any of the other tools to get to the source 
of the problem?

Any experience you could share to help me find the bad structure is very much 
appreciated. Thanks for your help.

Kind regards,
Kaweh
___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev