[Zope] ZSyncer problem

Marcel Maré list at webtothemax.com
Wed Nov 5 17:20:48 EST 2003


Thanks Paul,

I've installed ZSyncer-0.5.0-pre13.tgz and that got rid of the \\-error only
to get another nasty. BTW I've re-created the ZSyncer objects.

Marcel


Oh fooey.
NameError
name 'mode' is not defined
Traceback (most recent call last):
File "C:\devel\python\Plone\Zope\lib\python\DocumentTemplate\DT_Try.py",
line 149, in render_try_except
result = render_blocks(self.section, md)
File "C:\devel\python\Plone\Zope\lib\python\DocumentTemplate\DT_In.py", line
705, in renderwob
try: append(render(section, md))
File "C:\devel\python\Plone\Zope\lib\python\DocumentTemplate\DT_Let.py",
line 76, in render
return render_blocks(self.section, md)
File "C:\devel\python\Plone\Zope\lib\python\DocumentTemplate\DT_Let.py",
line 75, in render
else: d[name]=expr(md)
File "C:\devel\python\Plone\Zope\lib\python\DocumentTemplate\DT_Util.py",
line 201, in eval
return eval(code, d)
File "", line 0, in ?
NameError: name 'mode' is not defined

[{'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id': 'SQL',
'src_mod_time': '2003/10/05 17:36:21.812 GMT', 'src_best_modtime':
'2003/10/05 17:36:21.812 GMT', 'last_modified_time': '2003/10/05
17:36:21.812 GMT', 'path': ('', 'Experiments', 'SQL'), 'is_folder': 1,
'meta_type': 'Folder', 'dc_modtime': '', 'dest_best_modtime': '', 'size':
'', 'status': 'missing'}, {'icon': 'misc_/OFSP/Folder_icon.gif',
'dest_mod_time': '', 'id': 'XlsUpload', 'src_mod_time': '2003/10/06
11:25:34.703 GMT', 'src_best_modtime': '2003/10/06 11:25:34.703 GMT',
'last_modified_time': '2003/10/06 11:25:34.703 GMT', 'path': ('',
'Experiments', 'XlsUpload'), 'is_folder': 1, 'meta_type': 'Folder',
'dc_modtime': '', 'dest_best_modtime': '', 'size': '', 'status': 'missing'},
{'icon': 'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id':
'memberFunctions', 'src_mod_time': '2003/10/06 12:00:46.687 GMT',
'src_best_modtime': '2003/10/06 12:00:46.687 GMT', 'last_modified_time':
'2003/10/06 12:00:46.687 GMT', 'path': ('', 'Experiments',
'memberFunctions'), 'is_folder': 1, 'meta_type': 'Folder', 'dc_modtime': '',
'dest_best_modtime': '', 'size': '', 'status': 'missing'}, {'icon':
'misc_/OFSP/Folder_icon.gif', 'dest_mod_time': '', 'id': 'Forms',
'src_mod_time': '2003/10/05 21:13:53.656 GMT', 'src_best_modtime':
'2003/10/05 21:13:53.656 GMT', 'last_modified_time': '2003/10/05
21:13:53.656 GMT', 'path': ('', 'Experiments', 'Forms'), 'is_folder': 1,
'meta_type': 'Folder', 'dc_modtime': '', 'dest_best_modtime': '', 'size':
'', 'status': 'missing'}]

----- Original Message ----- 
From: "Paul Winkler"
To: "Marcel Mar?"
Sent: Wednesday, November 05, 2003 1:37 AM
Subject: Re: [Zope] ZSyncer problem


> On Tue, Nov 04, 2003 at 09:53:16PM +0100, Marcel Mar? wrote:
> > Hi Paul
> (snip)
> > Come to think of it: could this be a platform thing? Why are the double
> > backslashes (\\Experiments) there instead of forward slashes
(/Experiments)?
>
> argh, that was a brain fart. I was using os.path.normpath() on URLs which
is
> bad.  This is fixed in CVS.  I have released a new 0.5.0-pre12 tarball.
>
> -- 
>
> Paul Winkler
> http://www.slinkp.com
> Look! Up in the sky! It's WASHABLE RAT!
> (random hero from isometric.spaceninja.com)
>




More information about the Zope mailing list