[Zope] problem starting zope

marco marco@iftbqp.com
Sun, 03 Mar 2002 15:19:02 +0100


Hi,
first time i m posting to this list. Perhaps my problem is not relative 
to this list...
Now I'm here...
I ve installed zope on my debian woody box.
Yesterday all was fine but today I don't understand.
Here is the messages...
Just point me on some doc or whatever.
Thanks a lot
marco

root@iftbqp:/usr/sbin# ./zopectl start
Starting Zope... Zope is currently restarting.
root@iftbqp:/usr/sbin# ./zopectl restart
Zope is currently restarting (or something's very strange).
root@iftbqp:/usr/sbin# dpkg-reconfigure zope
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/content/aboveInThread.py", 
line 16
    return breadcrumbs
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/addtoFavorites.py", 
line 14
    return context.REQUEST.RESPONSE.redirect(url)
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/change_password.py", 
line 8
    return context.password_form(context,
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/disableSyndication.py", 
line 7
    return context.REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/synPropertiesForm?portal_status_message=Syndication+Disabled')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/editSynProperties.py", 
line 7
    return REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/synPropertiesForm?portal_status_message=Syndication+Properties+Updated.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/enableSyndication.py", 
line 7
    return context.REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/synPropertiesForm?portal_status_message=Syndication+Enabled')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/folder_copy.py", 
line 7
    return REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/folder_contents?portal_status_message=Item(s)+Copied.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/folder_cut.py", 
line 7
    return REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/folder_contents?portal_status_message=Item(s)+Cut.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/folder_delete.py", 
line 7
    return REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/folder_contents?portal_status_message=Deleted.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/folder_paste.py", 
line 7
    return REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/folder_contents?portal_status_message=Item(s)+Pasted.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/folder_rename.py", 
line 6
    return REQUEST.RESPONSE.redirect(context.absolute_url() + 
'/folder_contents?portal_status_message=Item(s)+Renamed.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/folder_rename_items.py", 
line 10
    return filter(lambda ob: ob.cb_isMoveable(),
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/isDiscussable.py", 
line 5
    return context.allow_discussion
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/logout.py", 
line 8
    return REQUEST.RESPONSE.redirect(REQUEST.URL1+'/logged_out')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/mail_password.py", 
line 5
    return context.portal_registration.mailPassword(REQUEST['userid'], 
REQUEST)
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/reconfig.py", 
line 6
    return REQUEST.RESPONSE.redirect(context.portal_url() + 
'/reconfig_form?portal_status_message=CMF+Settings+changed.')
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/register.py", 
line 13
    return context.join_form( context, REQUEST, error=failMessage )
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/control/undo.py", line 7
    return context.REQUEST.RESPONSE.redirect(
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/generic/TitleOrId.py", 
line 12
    return title
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/generic/css_inline_or_link.py", 
line 23
    return stylesheet_code
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/generic/doFormSearch.py", 
line 23
    return context.portal_catalog( form_vars )
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/generic/iconHTML.py", 
line 20
    return '<img src="%s" align="left" alt="%s" border="0"/>' % (iconURL,
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/generic/truncID.py", 
line 10
    return objID[:size] + '...'
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/zpt_content/subjectsList.py", 
line 8
    return item
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/zpt_control/reverseList.py", 
line 12
    return myList
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/zpt_generic/breadcrumbs.py", 
line 34
    return result
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/zpt_generic/expanded_title.py", 
line 16
    return page_title
SyntaxError: 'return' outside function
  File 
"/usr/lib/zope/lib/python/Products/CMFDefault/skins/zpt_generic/setup_talkback_tree.py", 
line 19
    return {'root': tree, 'rows': rows}
SyntaxError: 'return' outside function
Starting Zope... Zope is currently restarting.ian User