Hi,
I have reinstalled my Debian box to the current stable version.
I try to install TG in a virtual environment. I use the system's python
and the same versions of packages as earlier.
bin/virtualenv --no-site-packages rbcdb
cd rbcdb
source bin/activate
----
easy_install -i http://www.turbogears.org/2.0/downloads/2.0.3/index
tg.devtools
wget + unapck + python setup.py install for the following packages:
MySQL-python-1.2.3.tar.gz, SQLAlchemy-0.6.6.tar.gz, Genshi-0.6.tar.gz,
Elixir-0.7.1.tar.gz
********
paster --help
[...]
/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/Pylons-0.9.7-py2.7.egg/pylons/configuration.py:26:
RuntimeWarning: Unable to load template engine entry point: 'json =
turbojson.jsonsupport:JsonSupport': Traceback (most recent call last)
[...]
AttributeError: 'Label' object has no attribute 'JUMP_IF_FALSE'
----
I found a proposed solution for this:
"You have an old version of PEAK-Rules in your list of packages, and I
guess this causes your problems. You should be able to update it with:
easy_install -U PEAK-Rules"
*********
However, performing the above update, I run into another error, for
which I could not find any solution.
/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/Pylons-0.9.7-py2.7.egg/pylons/configuration.py:26:
RuntimeWarning: Unable to load template engine entry point: 'json =
turbojson.jsonsupport:JsonSupport': Traceback (most recent call last):
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/Pylons-0.9.7-py2.7.egg/pylons/templating.py",
line 610, in <module>
Engine = entry_point.load()
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "build/bdist.linux-x86_64/egg/turbojson/__init__.py", line 1, in
<module>
File "build/bdist.linux-x86_64/egg/turbojson/jsonsupport.py", line 3,
in <module>
File "build/bdist.linux-x86_64/egg/turbojson/jsonify.py", line 6, in
<module>
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/__init__.py",
line 3, in <module>
from peak.rules.core import abstract, when, before, after, around,
istype, \
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 934, in <module>
merge_by_default(AmbiguousMethods)
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 558, in _bootstrap
cache[key] = compile_method(act, self)
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 652, in compile_method
return action.compiled(engine)
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 289, in compiled
body = compile_method(self.body, engine)
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 652, in compile_method
return action.compiled(engine)
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 744, in <lambda>
engine.apply_template(value_template, self.value),
File
"/home/hegedus/mypy/rbcdb/local/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg/peak/rules/core.py",
line 466, in apply_template
tmp = apply_template(template, self.function, *args)
File "build/bdist.linux-x86_64/egg/peak/util/decorators.py", line 59,
in apply_template
body = wrapper.__doc__.replace('%','%%').replace('$args','%(argspec)s')
AttributeError: 'NoneType' object has no attribute 'replace'
Do you have any suggestion?
Thanks for your help in advance,
Tamas
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.