Can I ignore build error when Install Plone 3.2.2?

3 messages Options
Embed this post
Permalink
roycha () Can I ignore build error when Install Plone 3.2.2?
Reply Threaded More More options
Print post
Permalink
Hi Gurus,

I got the following Error

Running easy_install:
/usr/bin/python "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/plone/wwwplatform-plone3.2.2/eggs/tmpTvAv-0" "-q" "/tmp/tmpQyIwYOget_dist/Plone-3.2.2.zip"
path=/home/plone/wwwplatform-plone3.2.2/eggs/setuptools-0.6c9-py2.4.egg

  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/prepare_slots.py", line 75
    return slots
SyntaxError: 'return' outside function
  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/cropText.py", line 9
    return context.restrictedTraverse('@@plone').cropText(text, length, ellipsis='...')
SyntaxError: 'return' outside function
  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/getEventString.py", line 22
    return eventstring
SyntaxError: 'return' outside function


and I got whole lots of other errors when build Kupu.. etc...when I run the buildout. Can I ignore this?

The buildout exits and when I run the instance, it seems ok

-r
Karl Johan Kleist () Re: Can I ignore build error when Install Plone 3.2.2?
Reply Threaded More More options
Print post
Permalink
Can safely be ignored, as described here: http://plone.org/documentation/error/syntaxerror-return-outside-function

roycha wrote:
Running easy_install:
/usr/bin/python "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/plone/wwwplatform-plone3.2.2/eggs/tmpTvAv-0" "-q" "/tmp/tmpQyIwYOget_dist/Plone-3.2.2.zip"
path=/home/plone/wwwplatform-plone3.2.2/eggs/setuptools-0.6c9-py2.4.egg

  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/prepare_slots.py", line 75
    return slots
SyntaxError: 'return' outside function
  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/cropText.py", line 9
    return context.restrictedTraverse('@@plone').cropText(text, length, ellipsis='...')
SyntaxError: 'return' outside function
  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/getEventString.py", line 22
    return eventstring
SyntaxError: 'return' outside function


and I got whole lots of other errors when build Kupu.. etc...when I run the buildout. Can I ignore this?

The buildout exits and when I run the instance, it seems ok
roycha () Re: [Setup] Can I ignore build error when Install Plone 3.2.2?
Reply Threaded More More options
Print post
Permalink
Thanks a tons

On Tue, Jun 2, 2009 at 5:00 AM, Karl Johan Kleist (via Nabble) <[hidden email]> wrote:
Can safely be ignored, as described here: http://plone.org/documentation/error/syntaxerror-return-outside-function

roycha wrote:
Running easy_install:
/usr/bin/python "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/home/plone/wwwplatform-plone3.2.2/eggs/tmpTvAv-0" "-q" "/tmp/tmpQyIwYOget_dist/Plone-3.2.2.zip"
path=/home/plone/wwwplatform-plone3.2.2/eggs/setuptools-0.6c9-py2.4.egg

  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/prepare_slots.py", line 75
    return slots
SyntaxError: 'return' outside function
  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/cropText.py", line 9
    return context.restrictedTraverse('@@plone').cropText(text, length, ellipsis='...')
SyntaxError: 'return' outside function
  File "build/bdist.linux-i686/egg/Products/CMFPlone/skins/plone_deprecated/getEventString.py", line 22
    return eventstring
SyntaxError: 'return' outside function


and I got whole lots of other errors when build Kupu.. etc...when I run the buildout. Can I ignore this?

The buildout exits and when I run the instance, it seems ok