Hi Roger,

That's the same error I was getting until Kevin fixed soprovider to
work in a different way.

The nonetype error is caused by something strange going on (probably
with SQLObject) with a 18n test, if you open tests/test_i18n.py and
comment out a line in the following way I guess it should work:

19          'i18n.defaultLocale':'en',
20          #'i18n.getLocale':get_test_locale,
21          'i18n.runTemplateFilter':False,

Anyway this is odd since I started experiencing this after switching
from cp.config to tg.config... :-(

Ciao
Michele

Roger Demetrescu wrote:
> Hi folks,
>
> I'm getting some error running nosetests, with the last svn...
>
> They have in common this message:
>
> [snip]
>   File "C:\Pessoal\TG90\turbogears\tests\test_i18n.py", line 14, in
> get_test_locale
>     return turbogears.config.get('i18n.defaultLocale', 'en')
> AttributeError: 'NoneType' object has no attribute 'config'
>
>
> I have already deleted all my C:\Python24\Lib\site-packages\
> subdirectories and installed Turbogears from scratch... no success...
> :(
>
> Here is my tg-admin info...
>
> ========================
> TurboGears 0.9a5dev-r1122
> nose 0.8.6
> ruledispatch 0.5a0.dev-r2115
> setuptools 0.6a11
> formencode 0.4
> celementtree 1.0.5-20051216
> pastescript 0.5
> elementtree 1.2.6
> simplejson 1.1
> sqlobject 0.7.1dev-r1675
> cherrypy 2.2.0
> turbokid 0.9.4dev-r1090
> turbojson 0.9.2dev-r1093
> pyprotocols 1.0a0dev-r2082
> cheetah 1.0
> pastedeploy 0.5
> paste 0.5
> formencode 0.4
> kid 0.9
> elementtree 1.2.6
> ========================
> 
> 
> Any help would be very appreciated...
> 
> Thanks
> 
> Roger


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to