Kevin Dangoor wrote:
> On 3/23/06, Michele Cella <[EMAIL PROTECTED]> wrote:
> > The whole suite from the turbogears directory...
> >
> > I'm also using nose 0.8.3 since with 0.8.7.2 I get import errors... :-(
>
> I don't have 0.8.3 to compare. With 0.8.7.2, I get lots of debug
> output, but it all passes. What are the import errors you get there?
>
Ok, after recovering my old power supply... :D
I tracked the problem to test_i18n.py that is triggering (for me at
least) the famouse nonetype kid error, that's the fix I use:
[EMAIL PROTECTED]:~/Progetti/TurboGears/svn/turbogears$ svn diff
Index: tests/test_i18n.py
===================================================================
--- tests/test_i18n.py (revision 1018)
+++ tests/test_i18n.py (working copy)
@@ -19,7 +19,6 @@
'i18n.localeDir':locale_dir,
'i18n.domain':'messages',
'i18n.defaultLocale':'en',
- 'i18n.getLocale':get_test_locale,
'i18n.runTemplateFilter':False,
'sqlobject.dburi':"sqlite:///" +
tempfile.gettempdir().replace(':\\','|/') + "/testlocaledb"
})
where get_test_locale in turn calls turbogears.config, there is
something weird going on here I think, but why this worked before with
cherrypy.config?
Ciao
Michele
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---