[CherryPy] #1080: Python3.2 - Build Error, Lib Errors

2 views
Skip to first unread message

CherryPy

unread,
Aug 16, 2011, 2:31:12 PM8/16/11
to cherrypy...@googlegroups.com
#1080: Python3.2 - Build Error, Lib Errors
--------------------------------+-------------------------------------------
Reporter: bjen...@gmail.com | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Keywords:
--------------------------------+-------------------------------------------
[during setup...]
.
.

byte-compiling /usr/local/lib/python3.2/site-
packages/cherrypy/_cpnative_server.py to _cpnative_server.pyc
File "/usr/local/lib/python3.2/site-
packages/cherrypy/_cpnative_server.py", line 55
except cherrypy.InternalRedirect, ir:
^

SyntaxError: invalid syntax

----


[besides above error, install completes okay...after setup....]

$ python3.2 tut01_helloworld.py
Traceback (most recent call last):
File "tut01_helloworld.py", line 32, in <module>
cherrypy.quickstart(HelloWorld(), config=tutconf)
File "/usr/local/lib/python3.2/site-packages/cherrypy/__init__.py", line
236, in quickstart
_global_conf_alias.update(config)
File "/usr/local/lib/python3.2/site-packages/cherrypy/_cpconfig.py",
line 130, in update
reprconf.Config.update(self, config)
File "/usr/local/lib/python3.2/site-packages/cherrypy/lib/reprconf.py",
line 113, in update
config = Parser().dict_from_file(config)
File "/usr/local/lib/python3.2/site-packages/cherrypy/lib/reprconf.py",
line 184, in dict_from_file
return self.as_dict()
File "/usr/local/lib/python3.2/site-packages/cherrypy/lib/reprconf.py",
line 168, in as_dict
value = self.get(section, option, raw, vars)
TypeError: get() takes exactly 3 positional arguments (5 given)

--
Ticket URL: <http://www.cherrypy.org/ticket/1080>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework

CherryPy

unread,
Sep 25, 2011, 10:34:50 PM9/25/11
to cherrypy...@googlegroups.com
#1080: Python3.2 - Build Error, Lib Errors
--------------------------------+-------------------------------------------
Reporter: bjen...@gmail.com | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Old description:
New description:
Comment (by fumanchu):

Reformatted.
Reply all
Reply to author
Forward
0 new messages