Hi,
I remove the debian package and install with tgsetup, now when I do tg-
admin info it shows
Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236,
in load_en try_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097,
in load_e ntry_point
return ep.load()
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830,
in load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/
turbogears/_ _init__.py", line 6, in ?
from turbogears.controllers import expose, flash, validate,
redirect, \
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/
turbogears/c ontrollers.py", line 12, in ?
from turbogears import view, database, errorhandling, config
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/
turbogears/v iew/__init__.py", line 1, in ?
from turbogears.view.base import *
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/
turbogears/v iew/base.py", line 348, in ?
load_engines()
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/
turbogears/v iew/base.py", line 332, in load_engines
engine_options ={
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/
turbogears/c onfig.py", line 212, in get
value = config.get(key, default_value, return_section, path)
TypeError: get expected at most 2 arguments, got 4
Thanks ;)
On 9 feb, 20:24, "Mikkel Høgh" <[EMAIL PROTECTED]> wrote:
> You seem to have conflicting versions of TurboGears installed - the
> debian package does not install anything into /usr/local/bin/
>
> You should either clean out the version installed manually or remove
> the debian package and install properly with either easy_install or
> tgsetup.
>
> On Feb 9, 7:44 pm, "xnadal" <[EMAIL PROTECTED]> wrote:
>
> > Hi:
>
> > I'm installing tg in debian testing with
> > $ aptitude install python-turbogears
>
> > The installation doesn't show errors, but after that when I do a
> > $ tg-admin info
>
> > I get the following
> > Traceback (most recent call last):
> > File "/usr/local/bin/tg-admin", line 5, in ?
> > from pkg_resources import load_entry_point
> > File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2482,
> > in ?
> > for dist in working_set.resolve(
> > File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 483,
> > in resolve raise DistributionNotFound(req) # XXX put more info
> > here
> > pkg_resources.DistributionNotFound: TurboGears==1.0.1
>
> > Can you help me?
>
> > Thanks ;)
>
> > --
> > Ximo Nadal <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---