This issue is related to WebOb1.2b2 that has been recently released. Please be sure that you have installed your virtual environment using distribute, like:
$ virtualenv --no-site-packages --distribute tg2env $ . tg2env/bin/activate $ easy_install tg.devtools otherwise you might end up having setuptools instead of distribute which seems to fetch WebOb1.2b2 instead of the suggested version which is WebOb1.0.8. If you don't want to create a new virtual environment remove WebOb from you virtual env and install 1.0.8. Everything should work after that. To be sture that you get the right things always install turbogears with: easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools On Mon, Oct 24, 2011 at 10:51 AM, alonn <[email protected]> wrote: > following the 20wiki tutorial as a Turbogears newbie > > I'm using win7, python 2.7.2 (I guess the my computer locale is > hebrew, but for the beginning I was planning on english development) > and I think the turbogears version is 2.1.3 > > when I run the "paster serve --reload development.ini > > I get in the localhost:8085 (I changed the default application port to > 8085) > a server error page with the following message: > AttributeError: 'AcceptLanguage' object has no attribute > 'best_matches' > > I checked my i18n library and found there a sub folder with name ru , > and only that subfolder (guess this stands for russian) > > I tried to uncomment the lang= in development.ini and set it as lang > =en or lang=en_EN or lang = en_US or lang = en-US or lang = he > but in all cases the error message just changed to: > LanguageError: IOError: [Errno 2] No translation file found for > domain: 'wiki20' > > I'll be glad for any help with this > > I found another person with the same problem in stackoverflow, but > without an answer > http://stackoverflow.com/questions/7829653/turbogears-2-quickstart-shows-error-immediately > the original traceback is here: > http://pylonshq.com/tracebacks/089af51be2370022eb0029ef6106168c > > -- > 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.

