Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

ZSyncer-0.71 problems

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


allison at shasta

Jul 19, 2009, 5:03 PM

Post #1 of 2 (893 views)
Permalink
ZSyncer-0.71 problems

Zope 2.11, Python 2.4

The authentication issue has been resolved. Our Zopes run with Pound as a
reverse proxy front-end. Current versions of Pound demand conformity to
the http protocol which ZSyncer violates. The error returned
was interpreted incorrectly as an Authentication Error. Connecting
directly within the subnet resolved that problem.

Now there is another problem. My setup has at the source machine has

user:pass@<target-url><target-port>/zsyncerinstance

as the destination and selects the ConnectionMgr and relative paths.
The user:pass is a special user for transfers and has Manager permissions.
In our setup, the zsyncerinstance is in the root directory so it should make
no difference. Experimentally, it makes no difference--unchecking the
relaive feature throws the same error.

"Sync" throws an error with a traceback:

# EOFError
#
# Traceback (most recent call last):
File "/opt/Zope2.11/lib/python/DocumentTemplate/DT_Try.py", line 149, in
render_try_except
result = render_blocks(self.section, md)
File "/opt/Zope2.11/lib/python/DocumentTemplate/DT_Util.py", line 196, in
eval
return eval(code, d)
File "", line 0, in ?
File "/opt/zope/zinstances/xxx/Products/ZSyncer/ZSyncer.py", line
438,
in manage_compare
include_base=1)
File "/opt/zope/zinstances/xxx/Products/ZSyncer/ZSyncer.py", line
991,
in _compare_path
dest_base_info, dest_sub_info = self._getRemoteList(remote, path)
File "/opt/zope/zinstances/xxx/Products/ZSyncer/ZSyncer.py", line
1211,
in _getRemoteList
return serverconn.manage_listObjects(path)
File "/opt/zope/zinstances/xxx/Products/ZSyncer/ConnectionMgr.py", line
183, in __call__
ok,rd = cPickle.loads(data)
EOFError

which has me baffled. Any suggestions? Other folks have been using
ZSyncer without problems on Zope 2.11.

Dieter, you contributed the ConnectionMgr patch -- do you have any idea
where things might be failing?


_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


dieter at handshake

Jul 19, 2009, 9:28 PM

Post #2 of 2 (813 views)
Permalink
Re: ZSyncer-0.71 problems [In reply to]

Dennis Allison wrote at 2009-7-19 17:03 -0700:
>Zope 2.11, Python 2.4
> ...
># EOFError
>#
># Traceback (most recent call last):
> ...
>dest_base_info, dest_sub_info = self._getRemoteList(remote, path)
>File "/opt/zope/zinstances/xxx/Products/ZSyncer/ZSyncer.py", line
>1211,
>in _getRemoteList
>return serverconn.manage_listObjects(path)
>File "/opt/zope/zinstances/xxx/Products/ZSyncer/ConnectionMgr.py", line
>183, in __call__
>ok,rd = cPickle.loads(data)
>EOFError
>
>which has me baffled. Any suggestions? Other folks have been using
>ZSyncer without problems on Zope 2.11.
>
>Dieter, you contributed the ConnectionMgr patch -- do you have any idea
>where things might be failing?

The traceback tells you that "cPickle.loads(data)" fails with
an "EOFError". This means that "data" does not contain a valid pickle.

Use a tcp logger to check where the error is introduced (remote ZSyncer,
local ZSyncer, in between).



--
Dieter
_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.