[TurboGears] AdminController interface, broken pager?

3 views
Skip to first unread message

Ryan

unread,
May 7, 2010, 7:51:26 PM5/7/10
to turbo...@googlegroups.com
Hi TurboGears,

I've searched through the archives and found others who experienced the
same error. When viewing larger datasets with the AdminController, I
get this error:

GenerationException: url_for could not generate URL. Called with args:
() {'link': './harness2duts', 'page': 2}

It looks like some sort of paging functionality is missing out of the
controller.

Some have reported this is fixed, but apparently not. I'm running
TG2.1b2.

Is there a known work around??

Thanks,
Ryan


-----<truncated stack trace>-----

Module routes.util:269 in url_for view
<< raise GenerationException(
"url_for could not generate URL. Called with args: %s %s" % \
(args, kargs))
return url
>> (args, kargs))
GenerationException: url_for could not generate URL. Called with args:
() {'link': './harness2duts', 'page': 2}



--

+-----------------------------+
| ry...@the-summit.net |
| http://www.the-summit.net |
+-----------------------------+

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

Dakila

unread,
May 9, 2010, 11:26:08 AM5/9/10
to TurboGears
Hi Ryan,

I am also experiencing this, previously I have Routes 1.10.3 and it
works ok for test data, but upgrading to Routes 1.12.1 produces
GenerationException: url_for could not generate URL. Maybe try using a
lower Routes version for now would help?

HTH,
Dakila

On May 8, 7:51 am, Ryan <r...@the-summit.net> wrote:
> Hi TurboGears,  
>
> I've searched through the archives and found others who experienced the
> same error.  When viewing larger datasets with the AdminController, I
> get this error:
>
> GenerationException: url_for could not generate URL. Called with args:
> () {'link': './harness2duts', 'page': 2}
>
> It looks like some sort of paging functionality is missing out of the
> controller.
>
> Some have reported this is fixed, but apparently not.  I'm running
> TG2.1b2.
>
> Is there a known work around??
>
> Thanks,
> Ryan
>
> -----<truncated stack trace>-----
>
> Module routes.util:269 in url_for         view
> <<          raise GenerationException(
>                    "url_for could not generate URL. Called with args: %s %s" % \
>                    (args, kargs))
>            return url>>  (args, kargs))
>
> GenerationException: url_for could not generate URL. Called with args:
> () {'link': './harness2duts', 'page': 2}
>
> --
>
> +-----------------------------+
> |     r...@the-summit.net     |

Michael Pedersen

unread,
May 13, 2010, 2:07:21 PM5/13/10
to turbo...@googlegroups.com
I've also found that a newer version of WebHelpers seems to help. Try doing "easy_install -U WebHelpers".
--
Michael J. Pedersen
My IM IDs: Jabber/pede...@icelus.tzo.com, ICQ/103345809, AIM/pedermj022171
         Yahoo/pedermj2002, MSN/pederm...@hotmail.com

Ryan

unread,
May 13, 2010, 8:06:41 PM5/13/10
to turbo...@googlegroups.com
Hi Michael,

Upgrading WEbHelpers fixed it!! Thanks!

-Ryan


* Michael Pedersen <m.ped...@icelus.org> wrote on [05-13-10y 11:10]:
> > turbogears+...@googlegroups.com<turbogears%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages