Hi, I really tried to get this working, but it feels a bit strange. I have two Zope instances: A: Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2 B: Zope 2.7.3-0, python 2.3.3, linux2 I installed ZSyncer 0.6.0 on both machines. When I try to sync from B to A everything works fine. Syncing from A to B doesn't work at all. When I try to open the "Sync" page I get an error immediately. (Please find the error messages below.) Any advice would be appreciated. I already tried to filter meta types. I did not change the default meta type selection. I am out of ideas. Ulrich # Whoops, Error! AttributeError # absolute_url_path # Traceback (most recent call last): File "/home/zope/lib/python/DocumentTemplate/DT_Try.py", line 149, in render_try_except result = render_blocks(self.section, md) File "/home/zope/lib/python/DocumentTemplate/DT_In.py", line 705, in renderwob try: append(render(section, md)) File "/home/zope/lib/python/DocumentTemplate/DT_Let.py", line 75, in render else: d[name]=expr(md) File "/home/zope/lib/python/DocumentTemplate/DT_Util.py", line 201, in eval return eval(code, d) File "", line 0, in ? File "/home/zope/lib/python/Products/ZSyncer/ZSyncer.py", line 571, in getPathInfo full = obj.absolute_url_path() AttributeError: absolute_url_path # [{'size': '', 'dest_mod_time': DateTime('2004/11/15 11:30:34.530 GMT+1'), 'id': 'acl_users', 'icon': 'misc_/OFSP/UserFolder_icon.gif', 'src_best_modtime': '', 'last_modified_time': DateTime('2004/11/15 11:30:34.530 GMT+1'), 'path': ('acl_users',), 'is_folder': 1, 'src_mod_time': '', 'meta_type': 'User Folder', 'dest_best_modtime': 'Nov 15 11:30', 'dc_modtime': '', 'status': 'extra'}, {'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id': 'clix', 'src_mod_time': DateTime('2004/09/28 10:09:57.688 GMT+2'), 'src_best_modtime': 'Sep 28 10:09', 'last_modified_time': DateTime('2004/09/28 10:09:57.688 GMT+2'), 'path': ('clix',), 'is_folder': 1, 'meta_type': 'Folder', 'dc_modtime': '', 'dest_best_modtime': '', 'size': '', 'status': 'missing'}, {'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id': 'clix2', 'src_mod_time': DateTime('2004/09/10 16:35:34.777 GMT+2'), 'src_best_modtime': 'Sep 10 16:35', 'last_modified_time': DateTime('2004/09/10 16:35:34.777 GMT+2'), 'path': ('clix2',), 'is_folder': 1, 'meta_type': 'Folder', 'dc_modtime': '', 'dest_best_modtime': '', 'size': '', 'status': 'missing'}, {'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id': 'copy_of_clix', 'src_mod_time': DateTime('2004/11/17 12:03:09.166 GMT+1'), 'src_best_modtime': 'Nov 17 12:03', 'last_modified_time': DateTime('2004/11/17 12:03:09.166 GMT+1'), 'path': ('copy_of_clix',), 'is_folder': 1, 'meta_type': 'Folder', 'dc_modtime': '', 'dest_best_modtime': '', 'size': '', 'status': 'missing'}, {'icon': 'misc_/OFSP/Image_icon.gif', 'dest_mod_time': '', 'id': 'favicon.ico', 'src_mod_time': DateTime('2004/10/04 13:01:32.422 GMT+2'), 'src_best_modtime': 'Oct 04 13:01', 'last_modified_time': DateTime('2004/10/04 13:01:32.422 GMT+2'), 'path': ('favicon.ico',), 'is_folder': 0, 'meta_type': 'Image', 'dc_modtime': '', 'dest_best_modtime': '', 'size': 2, 'status': 'missing'}, {'icon': 'misc_/OFSP/dtmlmethod.gif', 'dest_mod_time': DateTime('2004/11/15 11:30:37.109 GMT+1'), 'id': 'index_html', 'src_mod_time': DateTime('2004/10/07 11:14:58.166 GMT+2'), 'src_best_modtime': 'Oct 07 11:14', 'last_modified_time': DateTime('2004/10/07 11:14:58.166 GMT+2'), 'path': ('index_html',), 'is_folder': 0, 'meta_type': 'DTML Method', 'dest_best_modtime': 'Nov 15 11:30', 'status': 'ok', 'size': 0, 'dc_modtime': ''}, {'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': DateTime('2004/11/17 11:45:11.868 GMT+1'), 'id': 'sdfsdf', 'src_mod_time': DateTime('2004/11/18 10:55:54.798 GMT+1'), 'src_best_modtime': 'Nov 18 10:55', 'last_modified_time': DateTime('2004/11/18 10:55:54.798 GMT+1'), 'path': ('sdfsdf',), 'is_folder': 1, 'meta_type': 'Folder', 'dest_best_modtime': 'Nov 17 11:45', 'status': 'out of date', 'size': '', 'dc_modtime': ''}, {'icon': 'misc_/PageTemplates/zpt.gif', 'dest_mod_time': DateTime('2004/11/15 11:30:37.109 GMT+1'), 'id': 'standard_template.pt', 'src_mod_time': DateTime('2003/05/22 16:23:47.923 GMT+2'), 'src_best_modtime': 'May 22 2003', 'last_modified_time': DateTime('2003/05/22 16:23:47.923 GMT+2'), 'path': ('standard_template.pt',), 'is_folder': 0, 'meta_type': 'Page Template', 'dest_best_modtime': 'Nov 15 11:30', 'status': 'ok', 'size': 0, 'dc_modtime': ''}, {'icon': 'misc_/TemporaryFolder/tempfolder.gif', 'dest_mod_time': DateTime('2004/11/17 12:02:27.548 GMT+1'), 'id': 'temp_folder', 'src_mod_time': DateTime('2004/11/18 09:59:58.115 GMT+1'), 'src_best_modtime': 'Nov 18 09:59', 'last_modified_time': DateTime('2004/11/18 09:59:58.115 GMT+1'), 'path': ('temp_folder',), 'is_folder': 1, 'meta_type': 'Folder', 'dest_best_modtime': 'Nov 17 12:02', 'status': 'out of date', 'size': '', 'dc_modtime': ''}, {'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id': 'xmlrpc', 'src_mod_time': DateTime('2004/09/10 16:12:49.943 GMT+2'), 'src_best_modtime': 'Sep 10 16:12', 'last_modified_time': DateTime('2004/09/10 16:12:49.943 GMT+2'), 'path': ('xmlrpc',), 'is_folder': 1, 'meta_type': 'Folder', 'dc_modtime': '', 'dest_best_modtime': '', 'size': '', 'status': 'missing'}]
--On Donnerstag, 18. November 2004 11:02 Uhr +0100 Ulrich Wisser <ulrich.wisser@relevanttraffic.se> wrote:
Hi,
I really tried to get this working, but it feels a bit strange. I have two Zope instances:
A: Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2 B: Zope 2.7.3-0, python 2.3.3, linux2
Usually you should sync only between Zope versions running the same setup (means the *same* Zope version, Python version and the same products). ZSyncer does not handle *any* migration or updating issues for you. -aj
participants (2)
-
Andreas Jung -
Ulrich Wisser