Reported via error monitor:
Wed Sep 21 18:45:43 2011 Exception when processing https://karl.soros.org/communities/ct-abuse-in-africa/blog/fw-documents-from-kampala-terrorism-case-1/comments/add_comment.html Referer: Traceback (most recent call last): File "/srv/osfkarl/production/30/eggs/karl-3.71-py2.6.egg/karl/errorlog.py", line 18, in middleware return app(environ, start_response) File "/srv/osfkarl/production/30/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__ app_iter = self.application(environ, replace_start_response) File "/srv/osfkarl/production/30/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__ result = self.next_app(environ, start_response) File "/srv/osfkarl/production/30/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__ result = self.application(environ, save_status_and_headers) File "/srv/osfkarl/production/30/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__ app_iter = app(environ, wrapper.wrap_start_response) File "/srv/osfkarl/production/30/eggs/repoze.urchin-0.1-py2.6.egg/repoze/urchin/__init__.py", line 20, in __call__ resp = req.get_response(self.app) File "/srv/osfkarl/production/30/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 920, in get_response application, catch_exc_info=False) File "/srv/osfkarl/production/30/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 888, in call_application app_iter = application(self.environ, start_response) File "/srv/osfkarl/production/30/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/router.py", line 130, in __call__ response = view_callable(context, request) File "/srv/osfkarl/production/30/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/configuration.py", line 1520, in __call__ return view(context, request) File "/srv/osfkarl/production/30/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/configuration.py", line 1753, in _secured_view return view(context, request) File "/srv/osfkarl/production/30/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/configuration.py", line 1704, in _rendered_view response = view(context, request) File "/srv/osfkarl/production/30/eggs/repoze.bfg.formish-0.3-py2.6.egg/repoze/bfg/formish/zcml.py", line 171, in __call__ return controller() File "/srv/osfkarl/production/30/eggs/karl-3.71-py2.6.egg/karl/content/views/commenting.py", line 161, in __call__ raise HTTPExpectationFailed(u'This is not a self-posting form. ' HTTPExpectationFailed: 417 Expectation Failed Content-Type: text/html; charset=UTF-8 Content-Length: 0
I believe this is something we just accept "shouldn't be possible but can happen". Namely, someone cuts-and-pastes the URL to the form.
Chris, I think this should be Invalid?
--Paul
On Sep 21, 2011, at 8:05 PM, JimPGlenn wrote:
> Public bug reported: /karl.soros. org/communities /ct-abuse- in-africa/ blog/fw- documents- terrorism- case-1/ comments/ add_comment. html Referer: production/ 30/eggs/ karl-3. 71-py2. 6.egg/karl/ errorlog. py", production/ 30/eggs/ repoze. retry-0. 9.4-py2. 6.egg/repoze/ retry/_ _init__ .py", n(environ, start_response) File production/ 30/eggs/ repoze. zodbconn- 0.11-py2. 6.egg/repoze/ zodbconn/ connector. py", app(environ, start_response) production/ 30/eggs/ repoze. tm2-1.0a5- py2.6.egg/ repoze/ tm/__init_ _.py", n(environ, and_headers) File production/ 30/eggs/ repoze. who-1.0. 15-py2. 6.egg/repoze/ who/middleware. py", wrap_start_ response) File production/ 30/eggs/ repoze. urchin- 0.1-py2. 6.egg/repoze/ urchin/ __init_ _.py", response( self.app) File production/ 30/eggs/ WebOb-0. 9.8.0_osi1- py2.6.egg/ webob/request. py", info=False) File production/ 30/eggs/ WebOb-0. 9.8.0_osi1- py2.6.egg/ webob/request. py", self.environ, production/ 30/eggs/ repoze. bfg-1.2- py2.6.egg/ repoze/ bfg/router. py", context, request) File production/ 30/eggs/ repoze. bfg-1.2- py2.6.egg/ repoze/ bfg/configurati on.py", production/ 30/eggs/ repoze. bfg-1.2- py2.6.egg/ repoze/ bfg/configurati on.py", production/ 30/eggs/ repoze. bfg-1.2- py2.6.egg/ repoze/ bfg/configurati on.py", production/ 30/eggs/ repoze. bfg.formish- 0.3-py2. 6.egg/repoze/ bfg/formish/ zcml.py" , production/ 30/eggs/ karl-3. 71-py2. 6.egg/karl/ content/ views/commentin g.py", Failed( u'This is not a self- Failed: 417 Expectation Failed Content- archimedeanco) archimedeanco)
>
> Reported via error monitor:
>
> Wed Sep 21 18:45:43 2011 Exception when processing
> https:/
> from-kampala-
> Traceback (most recent call last): File
> "/srv/osfkarl/
> line 18, in middleware return app(environ, start_response) File
> "/srv/osfkarl/
> line 88, in __call__ app_iter = self.applicatio
> replace_
> "/srv/osfkarl/
> line 21, in __call__ result = self.next_
> File
> "/srv/osfkarl/
> line 23, in __call__ result = self.applicatio
> save_status_
> "/srv/osfkarl/
> line 107, in __call__ app_iter = app(environ,
> wrapper.
> "/srv/osfkarl/
> line 20, in __call__ resp = req.get_
> "/srv/osfkarl/
> line 920, in get_response application, catch_exc_
> "/srv/osfkarl/
> line 888, in call_application app_iter = application(
> start_response) File
> "/srv/osfkarl/
> line 130, in __call__ response = view_callable(
> "/srv/osfkarl/
> line 1520, in __call__ return view(context, request) File
> "/srv/osfkarl/
> line 1753, in _secured_view return view(context, request) File
> "/srv/osfkarl/
> line 1704, in _rendered_view response = view(context, request) File
> "/srv/osfkarl/
> line 171, in __call__ return controller() File
> "/srv/osfkarl/
> line 161, in __call__ raise HTTPExpectation
> posting form. ' HTTPExpectation
> Type: text/html; charset=UTF-8 Content-Length: 0
>
> ** Affects: karl3
> Importance: Medium
> Assignee: Chris Rossi (chris-
> Status: New
>
> ** Changed in: karl3
> Importance: Undecided => Medium
>
> ** Changed in: karl3
> Assignee: (unassigned) => Chris Rossi (chris-
>
> ** Changed i...