I submitted a pull request to the tag github report, you can in the mean time pull/download from my fork:
https://github.com/clsdaniel/tgext.crud And install manually. python setup.pay install Regards, Carlos Daniel Ruvalcaba Valenzuela El 05/11/2012 15:30, "Erni Wogernom" <[email protected]> escribió: > Great, thank you for looking this up Carlos! > > So how can I fix this on my side? Would I be able to do something like: > > $ easy_install -U -i > http://www.turbogears.org/2.2/downloads/current/indextg.devtools > > or I will need to get SVN version? > > Thanks again! > > Erni. > > On Mon, Nov 5, 2012 at 2:34 PM, Carlos Daniel Ruvalcaba Valenzuela < > [email protected]> wrote: > >> This seems to be a problem going back to tgext.crud, seems like the >> special paginator that tgext.crud uses does not follow the __len__ >> protocol strictly and python raises this error. >> >> Normally the length of the list or collection is given as an int, but >> I imagine psycopg2 returns a long somewhere and the class >> SmartPaginationCollection does not check this and just uses it as is. >> >> I will fill a bug later on github, I already have a working patch but >> perhaps this needs some fixing deeper on. >> >> Regards, >> Carlos Daniel Ruvalcaba Valenzuela >> >> On Mon, Nov 5, 2012 at 11:48 AM, Carlos Daniel Ruvalcaba Valenzuela >> <[email protected]> wrote: >> > Perhaps you can share your shema/models?, I have a related problem >> > that is triggered by a specific model, not sure what it is, seems like >> > datetime fields, but I will try to go deep into this afternoon and >> > would be helpful to check your problems at once (as they seem >> > related). >> > >> > Regards, >> > Carlos Daniel Ruvalcaba Valenzuela >> > >> > On Mon, Nov 5, 2012 at 9:09 AM, Fernando González >> > <[email protected]> wrote: >> >>> Hi, same problem here. >> >>> >> >>> >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> Groups >> >> "TurboGears" group. >> >> To view this discussion on the web visit >> >> https://groups.google.com/d/msg/turbogears/-/nQumyCfd7r4J. >> >> >> >> To post to this group, send email to [email protected]. >> >> To unsubscribe from this group, send email to >> >> [email protected]. >> >> For more options, visit this group at >> >> http://groups.google.com/group/turbogears?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TurboGears" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/turbogears?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

