[Fedora Infrastructure] #2366: Hotfix - fas /usr/lib/python2.6/site-packages/fas/templates/user/view.htmlw

Fedora Infrastructure trac at fedorahosted.org
Tue Aug 31 23:29:05 UTC 2010


#2366: Hotfix - fas /usr/lib/python2.6/site-packages/fas/templates/user/view.htmlw
-------------------------+--------------------------------------------------
 Reporter:  ricky        |        Owner:  webmaster 
     Type:  change       |       Status:  new       
 Priority:  major        |    Milestone:            
Component:  Web Content  |      Version:  Production
 Severity:  Normal       |   Resolution:            
 Keywords:  hotfix       |  
-------------------------+--------------------------------------------------
Changes (by toshio):

 * cc: lmacken, toshio (added)
  * version:  => Production

Comment:

 This also affects the json return values which is problematic for
 fedoracommunity and probably python-fedora.  lmacken, any ideas on what
 this could be?

 {{{
 [Tue Aug 31 22:54:01 2010] [error] Traceback (most recent call last):
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/CherryPy-2.3.0-py2.6.egg/cherrypy/_cphtt
 ptools.py", line 121, in _run
 [Tue Aug 31 22:54:01 2010] [error]     self.main()
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/CherryPy-2.3.0-py2.6.egg/cherrypy/_cphtt
 ptools.py", line 264, in main
 [Tue Aug 31 22:54:01 2010] [error]     body = page_handler(*virtual_path,
 **self.params)
 [Tue Aug 31 22:54:01 2010] [error]   File "<string>", line 3, in list
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/identity/conditions.py", line
  210, in require
 [Tue Aug 31 22:54:01 2010] [error]     return fn(self, *args, **kwargs)
 [Tue Aug 31 22:54:01 2010] [error]   File "<string>", line 3, in list
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/controllers.py", line 360, in expose
 [Tue Aug 31 22:54:01 2010] [error]     *args, **kw)
 [Tue Aug 31 22:54:01 2010] [error]   File "<string>", line 5, in
 run_with_transaction
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/database.py", line 411, in sa_rwt
 [Tue Aug 31 22:54:01 2010] [error]     retval = func(*args, **kw)
 [Tue Aug 31 22:54:01 2010] [error]   File "<string>", line 5, in _expose
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/controllers.py", line 252, in <lambda>
 [Tue Aug 31 22:54:01 2010] [error]     None, False, args, kw))
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/controllers.py", line 420, in _execute_func
 [Tue Aug 31 22:54:01 2010] [error]     return _process_output(output,
 template, format, content_type, mapping, fragment)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/controllers.py", line 88, in _process_output
 [Tue Aug 31 22:54:01 2010] [error]     fragment=fragment)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbogears/view/base.py", line 159, in render
 [Tue Aug 31 22:54:01 2010] [error]     return engine.render(**kw)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbojson/jsonsupport.py", line 40, in render
 [Tue Aug 31 22:54:01 2010] [error]     output = self.encoder.encode(info)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/simplejson/encoder.py", line 200, in encode
 [Tue Aug 31 22:54:01 2010] [error]     chunks = self.iterencode(o,
 _one_shot=True)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/simplejson/encoder.py", line 260, in iterencode
 [Tue Aug 31 22:54:01 2010] [error]     return _iterencode(o, 0)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/turbojson/jsonify.py", line 163, in default
 [Tue Aug 31 22:54:01 2010] [error]     return jsonify(obj)
 [Tue Aug 31 22:54:01 2010] [error]   File "<generated code>", line 0, in
 jsonify
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/peak/rules/core.py", line 153, in __call__
 [Tue Aug 31 22:54:01 2010] [error]     return self.body(*args, **kw)
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/fedora/tg/json.py", line 156, in jsonify_salist
 [Tue Aug 31 22:54:01 2010] [error]     return [jsonify(element) for
 element in  obj]
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/sqlalchemy/ext/associationproxy.py", line 380, in __iter__
 [Tue Aug 31 22:54:01 2010] [error]     for member in self.col:
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/sqlalchemy/ext/associationproxy.py", line 300, in <lambda>
 [Tue Aug 31 22:54:01 2010] [error]     col = property(lambda self:
 self.lazy_collection())
 [Tue Aug 31 22:54:01 2010] [error]   File "/usr/lib/python2.6/site-
 packages/sqlalchemy/ext/associationproxy.py", line 158, in lazy_collection
 [Tue Aug 31 22:54:01 2010] [error]     "stale association proxy, parent
 object has gone out of "
 [Tue Aug 31 22:54:01 2010] [error] InvalidRequestError: stale association
 proxy, parent object has gone out of scope
 [Tue Aug 31 22:54:01 2010] [error]
 [Tue Aug 31 22:54:01 2010] [error] turbogears.access INFO  - toshio "GET
 /accounts/user/list/U*?tg_format=json&_csrf_token=3b593877564f86ebda28d23d46a1a3c0a70e3d22
 HTTP/1.0" 500 791 "" "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
 rv:1.9.2.7) Gecko/20100723 Fedora/3.6.7-1.fc13 Firefox/3.6.7"
 }}}

-- 
Ticket URL: <https://fedorahosted.org/fedora-infrastructure/ticket/2366#comment:3>
Fedora Infrastructure <http://fedoraproject.org/wiki/Infrastructure>
Fedora Infrastructure Project for Bugs, feature requests and access to our source code.


More information about the websites mailing list