python3 setup.py test (and install) give SyntaxError: invalid syntax

Bug #1436616 reported by will norris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bobo
New
Undecided
Unassigned

Bug Description

pi@raspberrypi ~ $ python3 --version
Python 3.2.3

pi@raspberrypi ~/bobo-2.3.0 $ sudo python3 setup.py install
running install
Checking .pth file support in /usr/local/lib/python3.2/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.2/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to src/bobo.egg-info/requires.txt
writing src/bobo.egg-info/PKG-INFO
writing top-level names to src/bobo.egg-info/top_level.txt
writing dependency_links to src/bobo.egg-info/dependency_links.txt
writing entry points to src/bobo.egg-info/entry_points.txt
reading manifest file 'src/bobo.egg-info/SOURCES.txt'
writing manifest file 'src/bobo.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv6l/egg
running install_lib
running build_py
creating build
creating build/lib
copying src/bobo.py -> build/lib
copying src/boboserver.py -> build/lib
creating build/bdist.linux-armv6l
creating build/bdist.linux-armv6l/egg
copying build/lib/boboserver.py -> build/bdist.linux-armv6l/egg
copying build/lib/bobo.py -> build/bdist.linux-armv6l/egg
byte-compiling build/bdist.linux-armv6l/egg/boboserver.py to boboserver.cpython-32.pyc
byte-compiling build/bdist.linux-armv6l/egg/bobo.py to bobo.cpython-32.pyc
  File "build/bdist.linux-armv6l/egg/bobo.py", line 335
    _html_template = u"""<html>
<head><title>%s</title></head>
<body>%s</body>
</html>
"""

   ^
SyntaxError: invalid syntax

creating build/bdist.linux-armv6l/egg/EGG-INFO
copying src/bobo.egg-info/PKG-INFO -> build/bdist.linux-armv6l/egg/EGG-INFO
copying src/bobo.egg-info/SOURCES.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
copying src/bobo.egg-info/dependency_links.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
copying src/bobo.egg-info/entry_points.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
copying src/bobo.egg-info/requires.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
copying src/bobo.egg-info/top_level.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
__pycache__.boboserver.cpython-32: module references __file__
creating dist
creating 'dist/bobo-2.3.0-py3.2.egg' and adding 'build/bdist.linux-armv6l/egg' to it
removing 'build/bdist.linux-armv6l/egg' (and everything under it)
Processing bobo-2.3.0-py3.2.egg
creating /usr/local/lib/python3.2/dist-packages/bobo-2.3.0-py3.2.egg
Extracting bobo-2.3.0-py3.2.egg to /usr/local/lib/python3.2/dist-packages
  File "/usr/local/lib/python3.2/dist-packages/bobo-2.3.0-py3.2.egg/bobo.py", line 335
    _html_template = u"""<html>
<head><title>%s</title></head>
<body>%s</body>
</html>
"""

   ^
SyntaxError: invalid syntax

Adding bobo 2.3.0 to easy-install.pth file
Installing bobo script to /usr/local/bin

Installed /usr/local/lib/python3.2/dist-packages/bobo-2.3.0-py3.2.egg
Processing dependencies for bobo==2.3.0
Searching for six
Reading http://pypi.python.org/simple/six/
Best match: six 1.9.0
Downloading https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4
Processing six-1.9.0.tar.gz
Running six-1.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-roagpw/six-1.9.0/egg-dist-tmp-yotf_d
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
__pycache__.six.cpython-32: module references __path__
Adding six 1.9.0 to easy-install.pth file

Installed /usr/local/lib/python3.2/dist-packages/six-1.9.0-py3.2.egg
Searching for WebOb
Reading http://pypi.python.org/simple/WebOb/
Best match: WebOb 1.4
Downloading https://pypi.python.org/packages/source/W/WebOb/WebOb-1.4.tar.gz#md5=8437607c0cc00c35f658f972516ffb55
Processing WebOb-1.4.tar.gz
Running WebOb-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-qo7cqo/WebOb-1.4/egg-dist-tmp-y768it
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
Adding WebOb 1.4 to easy-install.pth file

Installed /usr/local/lib/python3.2/dist-packages/WebOb-1.4-py3.2.egg
Finished processing dependencies for bobo==2.3.0

will norris (ubuntu-4o)
description: updated
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.