General Error When User tries to Submit Blog Post

Bug #1775198 reported by Nat Katin-Borland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL4
Fix Released
Medium
Carlos de la Guardia

Bug Description

User “eeagen” (https://karl.soros.org/profiles/eeagen/) is getting a general error when she’s trying to post to a community blog. I’m posted a test message to the same blog and didn’t have any issues, so I think the problem might be specific to her. I know in the past we’ve seen strange cases where users were in password expired states and had access issues. Can you check her profile and see if she has anything strange going on? Community: https://karl.soros.org/communities/applied-data-technology-community-of-practice/blog.

Thanks,
Nat

Traceback:

Traceback (most recent call last):
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/tweens.py", line 17, in excview_tween
 response = handler(request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 107, in tm_tween
 return response
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 75, in __exit__
 return self._retry_or_raise(t, v, tb)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 60, in _retry_or_raise
 reraise(t, v, tb) # otherwise reraise the exception
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 100, in tm_tween
 response = handler(request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/router.py", line 153, in handle_request
 response = view_callable(context, request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 523, in __call__
 return view(context, request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 266, in attr_view
 return view(context, request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 239, in predicate_wrapper
 return view(context, request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 186, in _secured_view
 return view(context, request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 292, in rendered_view
 result = view(context, request)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_formish-0.2a1-py2.7.egg/pyramid_formish/zcml.py", line 171, in __call__
 return submitted(request, form, controller, self.action, controller)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_formish-0.2a1-py2.7.egg/pyramid_formish/zcml.py", line 210, in submitted
 result = getattr(controller, handler)(converted)
 File "/srv/osfkarl/production/121/karl/content/views/blog.py", line 429, in handle_submit
 alerts.emit(blogentry, request)
 File "/srv/osfkarl/production/121/karl/utilities/alerts.py", line 57, in emit
 preference = profile.get_alerts_preference(community.__name__)
 File "/srv/osfkarl/production/121/karl/models/profile.py", line 142, in get_alerts_preference
 return self._alert_prefs.get(community_name,
 File "/srv/osfkarl/.buildout/eggs/cp27mu/ZODB-5.2.0-py2.7.egg/ZODB/Connection.py", line 796, in setstate
 p, serial = self._storage.load(oid)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/perfmetrics-2.0-py2.7.egg/perfmetrics/__init__.py", line 127, in call_with_metric
 return f(*args, **kw)
 File "/srv/osfkarl/.buildout/eggs/cp27mu/RelStorage-2.1a2-py2.7-linux-i686.egg/relstorage/storage.py", line 587, in load
 raise POSKeyError(oid)
 POSKeyError: 0x037455f2

 -->

 </div>
 </div>
 </body>
 </html>

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Any update on this? I just a user from the same community report another general error when trying to post.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 1775198] Re: General Error When User tries to Submit Blog Post
Download full text (4.6 KiB)

We thought we fixed this on this ticket:

  https://bugs.launchpad.net/karl4/+bug/1775451 <https://bugs.launchpad.net/karl4/+bug/1775451>

…but it seems to have another related thing to fix.

I’m glad you mentioned this ticket. It fell through the cracks, I didn’t assign a milestone. Dang.

It’s all revolving around that community so far.

—Paul

> On Jun 18, 2018, at 5:00 PM, Nat Katin-Borland <email address hidden> wrote:
>
> Any update on this? I just a user from the same community report
> another general error when trying to post.
>
> --
> You received this bug notification because you are subscribed to KARL4.
> Matching subscriptions: KARL4
> https://bugs.launchpad.net/bugs/1775198
>
> Title:
> General Error When User tries to Submit Blog Post
>
> Status in KARL4:
> New
>
> Bug description:
> User “eeagen” (https://karl.soros.org/profiles/eeagen/) is getting a
> general error when she’s trying to post to a community blog. I’m
> posted a test message to the same blog and didn’t have any issues, so
> I think the problem might be specific to her. I know in the past
> we’ve seen strange cases where users were in password expired states
> and had access issues. Can you check her profile and see if she has
> anything strange going on? Community:
> https://karl.soros.org/communities/applied-data-technology-community-
> of-practice/blog.
>
> Thanks,
> Nat
>
> Traceback:
>
> Traceback (most recent call last):
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/tweens.py", line 17, in excview_tween
> response = handler(request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 107, in tm_tween
> return response
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 75, in __exit__
> return self._retry_or_raise(t, v, tb)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 60, in _retry_or_raise
> reraise(t, v, tb) # otherwise reraise the exception
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 100, in tm_tween
> response = handler(request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/router.py", line 153, in handle_request
> response = view_callable(context, request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 523, in __call__
> return view(context, request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 266, in attr_view
> return view(context, request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 239, in predicate_wrapper
> return view(context, request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 186, in _secured_view
> return view(context, request)
> File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/config/views.py", line 292, in rendered_view
> result = view(context, request)...

Read more...

Changed in karl4:
milestone: none → 044
assignee: nobody → Carlos de la Guardia (cguardia)
importance: Undecided → Medium
Revision history for this message
Nat Katin-Borland (nborland) wrote :

Some additional testing info - if you uncheck the "send alert" option, then the post goes through. If you leave the "send alert" box checked, then you get a general error...

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Thanks for the testing info. This was related to the POSKey error issues with the sriordan profile. I believe this is fixed. Please test when it's convenient.

Changed in karl4:
status: New → In Progress
Revision history for this message
Nat Katin-Borland (nborland) wrote :

Thanks Carlos!

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Nat, I think Carlos was looking for a test from you before marking this closed. If you're ok without a test, though, we can close it.

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Sorry, I should have specified that I have tested and users in the community can post again. Thanks.

Changed in karl4:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.