while trying to create a document in my cps site i have this message
error.It does not happen each time i try to create a document but when
it happens u cannot create any other document.

working with Zope 2.7.3.0 cps 3.2.3 unix redhat entreprise
we have one server for zope client and another server for zodb 

Below the traceback :

Exception traceback

Time    2005/06/16 19:20:14.457 GMT+2
User Name (User Id)     SLADOUX (SLADOUX)
Request URL     
http://iliad.ac750.recouv/iliad/workspaces/communication/cpsdocument_create_form
Exception Type  ValueError
Exception Value         Can not re-register object under a different oid

Traceback (innermost last):

    * Module ZPublisher.Publish, line 107, in publish
    * Module Zope.App.startup, line 222, in commit
    * Module ZODB.Transaction, line 241, in commit
    * Module ZODB.Transaction, line 356, in _commit_objects
    * Module ZODB.Connection, line 459, in commit
      __traceback_info__: (('Products.CPSCore.ProxyBase',
'ProxyDocument'), '\x00\x00\x00\x00\x00\x00\x00\x03', '')

ValueError: Can not re-register object under a different oid

Just before this error message appears we have an error log :

Time    2005/06/16 19:11:03.660 GMT+2
User Name (User Id)     Anonymous User (None)
Request URL     http://iliad.ac750.recouv/iliad/index_html
Exception Type  ClientDisconnected
Exception Value         

Traceback (innermost last):

    * Module ZPublisher.Publish, line 92, in publish
    * Module ZPublisher.BaseRequest, line 433, in traverse
    * Module AccessControl.User, line 641, in validate
    * Module Products.ACOSS_SSO.CookieLogger, line 157, in authenticate
    * Module Products.AcossDirectories.AcossUserFolder, line 44, in getUser
    * Module Products.AcossDirectories.AcossUserFolder, line 116, in
getUserWithAuthentication
    * Module Products.CPSDirectory.BaseDirectory, line 359, in _getEntry
    * Module Products.CPSDirectory.BaseDirectory, line 688, in _getDataModel
    * Module Products.CPSSchemas.DataModel, line 243, in _fetch
    * Module Products.CPSDirectory.MetaDirectory, line 569, in getData
    * Module Products.CPSDirectory.MetaDirectory, line 521, in
_getEntryFromBacking
    * Module Products.CPSDirectory.BaseDirectory, line 359, in _getEntry
    * Module Products.CPSDirectory.BaseDirectory, line 688, in _getDataModel
    * Module Products.CPSSchemas.DataModel, line 250, in _fetch
    * Module Products.CPSSchemas.Field, line 149, in getDefault
    * Module Products.CMFCore.Expression, line 39, in __call__
    * Module ZODB.Connection, line 597, in setstate
    * Module ZEO.ClientStorage, line 757, in load
    * Module ZEO.ClientStorage, line 75, in __getattr__

ClientDisconnected

extracted from zeo.log :

2005-06-16T19:00:00 INFO(0) RUNSVR terminated by SIGTERM
------
2005-06-16T19:00:00 INFO(0) RUNSVR closing storage '1'
------
2005-06-16T19:00:00 INFO(0) ZD:23413 pid 23414: exit status 0
------
2005-06-16T19:00:00 INFO(0) ZD:23413 Exiting
------
2005-06-16T19:01:38 INFO(0) ZD:23472 daemonizing the process
------
2005-06-16T19:01:38 INFO(0) ZD:23472 set current directory:
'/usr/local/zope/zope274_zeo_server'
------
2005-06-16T19:01:38 INFO(0) ZD:23472 daemon manager started
------
2005-06-16T19:01:38 INFO(0) ZD:23472 spawned process pid=23473
------
2005-06-16T19:01:39 INFO(0) RUNSVR opening storage '1' using FileStorage
------
2005-06-16T19:01:39 INFO(0) ZSS:23473 StorageServer created RW with
storages: 1:RW:/usr/local/zope/zope274_zeo_server/var/Data.fs
------
2005-06-16T19:01:39 INFO(0) zrpc:23473 listening on ('', 9999)
------
2005-06-16T19:03:19 INFO(0) ZSS:23473 new connection ('192.168.26.29',
34272): <ManagedServerConnection ('192.168.26.29', 34272)>
------
2005-06-16T19:03:19 ERROR(200) zrpc-conn:192.168.26.29:34272 bad
handshake '(K\x00K\x00U\x0fgetAuthProtocol)t.'
------
2005-06-16T19:03:19 ERROR(200) zrpc-conn:192.168.26.29:34272 Error
caught in asyncore
Traceback (most recent call last):
  File "/usr/local/zope/zope274_base/lib/python/ThreadedAsync/LoopCallback.py",
line 120, in poll
    obj.handle_read_event()
  File "/usr/local/zope/python.2.3.4/lib/python2.3/asyncore.py", line
390, in handle_read_event
    self.handle_read()
  File "/usr/local/zope/zope274_base/lib/python/ZEO/zrpc/smac.py",
line 217, in handle_read
    self.message_input(msg)
  File "/usr/local/zope/zope274_base/lib/python/ZEO/zrpc/connection.py",
line 225, in recv_handshake
    raise ZRPCError("bad handshake %r" % proto)
ZRPCError: bad handshake '(K\x00K\x00U\x0fgetAuthProtocol)t.'
------
2005-06-16T19:03:19 INFO(0) ZSS:23473/192.168.26.29:34272 disconnected

when u look at network traces, u can notice a request from zodb to
zope client through the port 34254 ???

thanks!!
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to