On 8/15/06, Mikkel Høgh <[EMAIL PROTECTED]> wrote:

Since I've finally gotten some time to play more with TurboGears, I
installed 0.9a8 on my gentoo linux system.

As you might know, gentoo is python-powered, so I already had a working
python installation and setuptools-0.6_beta2 installed, so i just fired
away with "sudo easy_install -f
http://www.turbogears.org/preview/download/index.html --script-dir
/usr/local/bin TurboGears", and everything seemed to work fine. Apart
from the fact that when I run tg-admin, i get this:

that seems right

[EMAIL PROTECTED] ~ $ tg-admin

have you try other tg-admin commands?

  File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a8-py2.4.egg/turbogears/controllers.py",
line 431, in RootController
    msglogfunc = {0: msglog.info, 1: msglog.warning , 2: msglog.error}
AttributeError: Logger instance has no attribute 'warning'

 the code that is given the error is a call to the std. python logging module which has been like that for a long while msglog must have a warning attribute http://docs.python.org/lib/node341.html

This seems to be a compability-issue, but I can't really figure out how
to resolve it - apparently, I've got the wrong version of Logger,
wherever that comes from...

by any change you install a module that is overlapping the default logging module?


I have up to 0.9a6 on my gentoo system and there is no issue there, my install was the same as yours, did you install the setuptools from portage? or u did it manually?




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

Reply via email to