Closed colinallen closed 11 years ago
This is interfering with my ability to keep up with basic maintenance so can we bump it up to critical please? Jaimie -- please reassign to Alex if you think he's the best one to fix it.
I'll look into it this afternoon.
On 10/18/2012 07:21 AM, colinallen wrote:
This is interfering with my ability to keep up with basic maintenance so can we bump it up to critical please? Jaimie -- please reassign to Alex if you think he's the best one to fix it.
— Reply to this email directly or view it on GitHub https://github.com/inpho/inphosite/issues/82#issuecomment-9560971.
I will look into the searchpattern function of the entity controller. It is either that it is getting a bad request from the html or it is a problem with the actual controller itself.
The issue seems to be occurring at the line containing this code: c.entity.searchpatterns.append(unicode(pattern))
in inphosite/controllers/entity.py: 354
When trying to run the code <entity>.searchpatterns.append(<pattern>)
the error message specifically is:
File "<stdin>", line 1, in <module>
File "/Users/alefrost/workspace/sandbox/lib/python2.6/site-packages/SQLAlchemy-0.6.8-py2.6.egg/sqlalchemy/ext/associationproxy.py", line 441, in append
item = self._create(value)
File "/Users/alefrost/workspace/sandbox/lib/python2.6/site-packages/SQLAlchemy-0.6.8-py2.6.egg/sqlalchemy/ext/associationproxy.py", line 368, in _create
return self.creator(value)
TypeError: __init__() takes exactly 3 arguments (2 given)
Attempting to add a searchpattern to https://inpho.cogs.indiana.edu/idea/5498/view.html and getting red failure symbol.