The only reason was to avoid porting. I have never done and TG is enough
complex to scare me.
But I had to go with the 2.2... And I am pretty surprised that it is
relatively easy. Now almost everything is working fine.
Thanks for pushing me towards upgrading :-)
Tamas
On 06/14/2013 09:17 AM, Alessandro Molina wrote:
Uhm, is there any reason why you are installing TG2.0.3? At least up to
2.2 porting should be fairly straight and many bugs have been fixed in
the mean time.
On Fri, Jun 14, 2013 at 1:16 AM, Tamas Hegedus <[email protected]
<mailto:[email protected]>> wrote:
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
<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 turbogears+unsubscribe@__googlegroups.com
<mailto:turbogears%[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/__group/turbogears
<http://groups.google.com/group/turbogears>.
For more options, visit https://groups.google.com/__groups/opt_out
<https://groups.google.com/groups/opt_out>.
--
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.
--
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.