Hi.
I'm trying to work on ticket #116 and I'm having some issues with fas
sources.
I did clone from git and follow all INSTALL steps. When a do
a ./start-fas a get a error :
AttributeError: 'module' object has no attribute 'ResultProxy'
Sorry for a silly question like this, but I'm not too experienced with
Python and it appears to be a missing module or other problem with my
python installation.
Bellow, the full traceback.
Traceback (most recent call last):
File "./start-fas", line 16, in <module>
start()
File "/home/edgar/git/fedorahosted/fas/fas/commands.py", line 82, in
start
from fas.controllers import Root
File "/home/edgar/git/fedorahosted/fas/fas/controllers.py", line 37,
in <module>
from fas.user import User
File "/home/edgar/git/fedorahosted/fas/fas/user.py", line 72, in
<module>
from fas.model import PeopleTable, PersonRolesTable, GroupsTable
File "/home/edgar/git/fedorahosted/fas/fas/model/__init__.py", line 3,
in <module>
from fasmodel import *
File "/home/edgar/git/fedorahosted/fas/fas/model/fasmodel.py", line
48, in <module>
from fedora.tg.json import SABase
File "/usr/lib/python2.7/site-packages/fedora/tg/json.py", line 120,
in <module>
@jsonify.when('isinstance(obj, sqlalchemy.orm.query.Query)')
File "/usr/lib/python2.7/site-packages/peak/util/decorators.py", line
642, in do_decorate
frame, getattr(f,'__name__',None), f, frame.f_locals
File "/usr/lib/python2.7/site-packages/peak/rules/core.py", line 197,
in callback
register_for_class(None)
File "/usr/lib/python2.7/site-packages/peak/rules/core.py", line 190,
in register_for_class
rules.add(parse_rule(engine, pred, context, cls))
File "/usr/lib/python2.7/site-packages/peak/rules/core.py", line 65,
in parse_rule
def parse_rule(engine, predicate, context, cls):
File "/usr/lib/python2.7/site-packages/peak/rules/core.py", line 153,
in __call__
return self.body(*args, **kw)
File "/usr/lib/python2.7/site-packages/peak/rules/predicates.py", line
517, in _parse_string
expr = parse_expr(predicate, b)
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 424, in parse_expr
return build(builder, parser.expr(expr).totuple(1)[1])
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 419, in build
return production[nodelist[0]](builder,nodelist)
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 217, in atom
return build(builder,nodelist[2])
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 419, in build
return production[nodelist[0]](builder,nodelist)
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 178, in power
return com_call_function(builder,nodelist,node[2])
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 284, in com_call_function
return builder.CallFunc(primaryNode, args, kw, star_node,
dstar_node)
File "/usr/lib/python2.7/site-packages/peak/rules/predicates.py", line
199, in CallFunc
meta_functions[target.value], args, kw, star_node, dstar_node
File "/usr/lib/python2.7/site-packages/peak/rules/predicates.py", line
233, in apply_meta
extra.extend([parse(varargs, node) for node in args[varargpos:]])
File "/usr/lib/python2.7/site-packages/peak/rules/predicates.py", line
213, in parse
return parsers.get(arg, build)(self.expr_builder, node)
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 419, in build
return production[nodelist[0]](builder,nodelist)
File "/usr/lib/python2.7/site-packages/peak/rules/ast_builder.py",
line 181, in power
return builder.Getattr(nodelist, node[2][1])
File "/usr/lib/python2.7/site-packages/peak/rules/codegen.py", line
368, in Getattr
return Getattr(build(self,expr), attr)
File "/usr/lib/python2.7/site-packages/peak/util/assembler.py", line
91, in __new__
result = func(*args, **kw)
File "/usr/lib/python2.7/site-packages/peak/util/assembler.py", line
161, in Getattr
return fold_args(Getattr, ob, name)
File "/usr/lib/python2.7/site-packages/peak/util/assembler.py", line
1226, in fold_args
return Const(eval(c.code()))
File "<generated code>", line 0, in <lambda>
AttributeError: 'module' object has no attribute 'ResultProxy'
Thank you for your time.