On 11 feb, 15:25, Gustavo Noronha Silva <[EMAIL PROTECTED]> wrote:
> I suggest you do otherwise: rm /usr/local/bin/tg-admin, install
> theDebianpackage, and try again. Also look for more turbogears stuff
> at /usr/local/lib and /usr/local/share, and remove them.
Hi,
I remove all that I find about turbogears. I install the debian
package, but when do a tg-admin info it says:
File "/usr/bin/tg-admin", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097,
in load_entry_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 "/var/lib/python-support/python2.4/turbogears/__init__.py",
line 6, in ?
from turbogears.controllers import expose, flash, validate,
redirect, \
File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 12, in ?
from turbogears import view, database, errorhandling, config
File "/var/lib/python-support/python2.4/turbogears/view/
__init__.py", line 1, in ?
from turbogears.view.base import *
File "/var/lib/python-support/python2.4/turbogears/view/base.py",
line 348, in ?
load_engines()
File "/var/lib/python-support/python2.4/turbogears/view/base.py",
line 332, in load_engines
engine_options ={
File "/var/lib/python-support/python2.4/turbogears/config.py", line
212, in get
value = config.get(key, default_value, return_section, path)
TypeError: get expected at most 2 arguments, got 4
When I do aptitude install python-turbogears it installs the following
packages:
mysql-common 5.0.32-3
libmysqlclient15off 5.0.32-3
paste-common 1.0.1-1
python-elementtree 1.2.6-10
python-celementtree 1.0.5-8
python-cheetah 2.0~rc7-1
python-configobj 4.3.2-2
python-protocols 1.0a0dev-5
python-dispatch 0.5adev-5
python-dns 2.3.0-5.1
python-flup 0.2126-1
python-formencode 0.6-1
python-setuptools 0.6c3-3
python-kid 0.9.3-1
python-mysqldb 1.2.1-p2-4
python-nose 0.9.0-2
python-paste 1.0.1-1
python-pastedeploy 1.0-1
python-pastescript 1.0-1
python-pysqlite2 2.3.2-2
python-simplejson 1.3-0.1
python-sqlalchemy 0.3.1-2
python-sqlobject 0.7.1-1
python-turbokid 0.9.9-1
python-turbojson 0.9.5-1
python-turbogears 1.0-1
python-webpy 0.200-1
And the python package version is 2.4.4-2
Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Before I install python-turbogears I do aptitude update and aptitude
dist-upgrade with no errors.
I'm wrong, but where?
Thanks ;)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---