Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1285 (closed defect: invalid)

Opened 12 years ago

Last modified 12 years ago

Paginate error

Reported by: tagful Owned by: anonymous
Priority: normal Milestone: 1.0.2
Component: TurboGears Version: 1.0
Severity: normal Keywords:
Cc:

Description (last modified by jorge.vargas) (diff)

Paginate caused an internal error when starting with dev.cfg, but has no problem with prod.cfg

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 105, in _run
    self.main()
  File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in newz
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/controllers.py", line 334, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/database.py", line 260, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/controllers.py", line 351, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/controllers.py", line 378, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/errorhandling.py", line 73, in try_call
    return func(self, *args, **kw)
  File "<string>", line 3, in newz
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/paginate.py", line 37, in decorated
    output = func(*args, **kw)
TypeError: root() got an unexpected keyword argument 'tg_paginate_no'

Change History

comment:1 Changed 12 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to invalid
  • Description modified (diff)

please post this to the mailing list with the differences of your prod and dev config files, if possible provide a working sample that shows the error.

if this turns out to be a code error then reopen the ticket.

Note: See TracTickets for help on using tickets.