"'return' outside function" errors during install

Bug #1425332 reported by Tom Gebhardt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Products.LDAPUserFolder
Invalid
Undecided
Unassigned

Bug Description

Installing on:
Linux atllogdb01m 2.6.39-400.215.13.el6uek.x86_64 #1 SMP Wed Nov 12 13:03:03 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

I receive following errors:

easy_install Products.LDAPUserFolder-2.27.tar

Processing Products.LDAPUserFolder-2.27.tar
Running Products.LDAPUserFolder-2.27/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZrIKOp/Products.LDAPUserFolder-2.27/egg-dist-tmp-Be1VY_
SyntaxError: ("'return' outside function", ('build/bdist.linux-x86_64/egg/Products/LDAPUserFolder/skins/cmfldap/join_form.py', 26, None, 'return\n'))

SyntaxError: ("'return' outside function", ('build/bdist.linux-x86_64/egg/Products/LDAPUserFolder/skins/cmfldap/members_add_control.py', 32, None, 'return context.setStatus(False, errmsg)\n'))

SyntaxError: ("'return' outside function", ('/usr/lib/python2.6/site-packages/Products.LDAPUserFolder-2.27-py2.6.egg/Products/LDAPUserFolder/skins/cmfldap/join_form.py', 26, None, 'return\n'))

SyntaxError: ("'return' outside function", ('/usr/lib/python2.6/site-packages/Products.LDAPUserFolder-2.27-py2.6.egg/Products/LDAPUserFolder/skins/cmfldap/members_add_control.py', 32, None, 'return context.setStatus(False, errmsg)\n'))

Adding Products.LDAPUserFolder 2.27 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/Products.LDAPUserFolder-2.27-py2.6.egg
Processing dependencies for Products.LDAPUserFolder==2.27
Searching for python-ldap
Reading http://pypi.python.org/simple/python-ldap/
Best match: python-ldap 2.4.19
Downloading https://pypi.python.org/packages/source/p/python-ldap/python-ldap-2.4.19.tar.gz#md5=b941bf31d09739492aa19ef679e94ae3
Processing python-ldap-2.4.19.tar.gz
Running python-ldap-2.4.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-RVyMV4/python-ldap-2.4.19/egg-dist-tmp-fUX2Pg
defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include
library_dirs: /opt/openldap-RE24/lib /usr/lib
libs: ldap_r
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules/LICENSE'
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
Adding python-ldap 2.4.19 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/python_ldap-2.4.19-py2.6-linux-x86_64.egg
Finished processing dependencies for Products.LDAPUserFolder==2.27

AndyAirey (aairey)
no longer affects: centos
Changed in ldapuserfolder:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.