sajuptpm
unread,Apr 26, 2012, 10:58:25 AM4/26/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to saju...@gmail.com
Hi,
I am using
Ubuntu 12.04 precise
Python 2.7
turbogears 2.0.3
Getting following errors when doing turbogears setup.
Have any way to fix this without upgrade to turbogears 2.0.4.
Using /home/saju/cmt-enterprise/tg2env/lib/python2.7/site-packages/
BytecodeAssembler-0.3-py2.7.egg
Searching for SymbolType==1.0
Best match: SymbolType 1.0
Processing SymbolType-1.0-py2.7.egg
SymbolType 1.0 is already the active version in easy-install.pth
Using /home/saju/cmt-enterprise/tg2env/lib/python2.7/site-packages/
SymbolType-1.0-py2.7.egg
Finished processing dependencies for cmt==3.1dev-r5535
Setting up cmt with : /home/saju/cmt-enterprise/tg2env
/home/saju/cmt-enterprise/tg2env/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/saju/cmt-enterprise/tg2env/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/saju/cmt-enterprise/tg2env/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 "build/bdist.linux-x86_64/egg/peak/rules/__init__.py", line 3,
in <module>
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 729, in
<module>
when(implies, (bool, bool))(lambda c1, c2: c2 or not c1)
File "build/bdist.linux-x86_64/egg/peak/util/decorators.py", line
642, in do_decorate
frame, getattr(f,'__name__',None), f, frame.f_locals
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 197, in
callback
register_for_class(None)
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 190, in
register_for_class
rules.add(parse_rule(engine, pred, context, cls))
File "<peak.util.decorators.wrap wrapping peak.rules.core.add at
0x029EC488>", line 14, in add
return __func(self, rule)
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 265, in
add
self._notify(added=actiondefs)
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 286, in
_notify
listener.actions_changed(added, removed)
File "<peak.util.decorators.wrap wrapping
peak.rules.core.actions_changed at 0x029F1230>", line 14, in
actions_changed
return __func(self, added, removed)
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 433, in
actions_changed
self._add_method(rule.predicate, rule)
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 518, in
_add_method
if key!=signature and implies(key, signature):
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 591, in
implies
def implies(s1,s2):
File "<peak.util.decorators.wrap wrapping
peak.rules.core._regenerate at 0x029E75F0>", line 14, in _regenerate
return __func(self)
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 392, in
_regenerate
func.func_code = self.engine._generate_code()
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 553, in
_generate_code
c.return_(call_thru(self.function, target))
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
731, in return_
return self(ob, Code.RETURN_VALUE)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
720, in __call__
last = ob(self)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
103, in __call__
return func(*(self[1:]+(code,)))
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
176, in Call
code(func, *args)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
720, in __call__
last = ob(self)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
103, in __call__
return func(*(self[1:]+(code,)))
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
176, in Call
code(func, *args)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
727, in __call__
last = f(self, ob)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
871, in gen_tuple
code(*ob)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
720, in __call__
last = ob(self)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
103, in __call__
return func(*(self[1:]+(code,)))
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
237, in Suite
code(*body)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
720, in __call__
last = ob(self)
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
103, in __call__
return func(*(self[1:]+(code,)))
File "build/bdist.linux-x86_64/egg/peak/util/assembler.py", line
221, in TryExcept
next_test.JUMP_IF_FALSE, Code.POP_TOP, # remove condition
AttributeError: 'Label' object has no attribute 'JUMP_IF_FALSE'
import pylons.templating