Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Python Frameworks: Programming with Django and Turbogears ISBN: 978-0-470-13809-0
This is the forum to discuss the Wrox book Professional Python Frameworks: Web 2.0 Programming with Django and Turbogears by Dana Moore, Raymond Budd, William Wright; ISBN: 9780470138090
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Python Frameworks: Programming with Django and Turbogears ISBN: 978-0-470-13809-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 12th, 2008, 12:53 AM
Registered User
 
Join Date: Mar 2008
Location: Oakland, CA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Turbogears Example

I encounter the following error when I try to implement the search view of the PetInfoStore

500 Internal error
The server encountered an unexpected condition which prevented it from fulfilling the request.

Page handler: <bound method Root.search of <petinfostore.controllers.Root object at 0x0155CB30>>
Traceback (most recent call last):
  File "C:\Python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy\_cphttptools.py", line 121, in _run
    self.main()
  File "C:\Python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy\_cphttptools.py", line 264, in main
    body = page_handler(*virtual_path, **self.params)
TypeError: search() takes at least 2 arguments (1 given)

I have used the examples directly, and everything worked prior to this point.

Mike M Adams
  #2 (permalink)  
Old February 28th, 2009, 10:15 AM
Registered User
 
Join Date: Feb 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

check error_log you will see reason there
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off



All times are GMT -4. The time now is 02:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.