First time here? Check out the FAQ!

saumishr's profile - activity

2014-09-11 17:28:10 -0500 received badge Famous Question (source)
2014-05-26 16:49:25 -0500 received badge Scholar ( source )
2014-05-26 16:33:21 -0500 commented answer Email Notification issues

Thanks Evgeny. I'm new to Askbot and still confused why in my case whenever an activity happens the notifications are being sent to the site admin rather than to the person who asked the question anonymously. In second question by all the users i meant only the users who have contributed in the thread by submitting an answer or a comment. What is the setting to enable the alerts for them. also, can we send notifications when an answer is accepted/upvoted or a comment is upvoted.

2014-05-26 16:29:23 -0500 commented question Error in reloading the post object from database

User commented on one of the answers and a task to send notification was scheduled. When the task was supposed to be executed, I got this error. Tried it again but couldn't reproduce it. Looks like some inconsistency was there between the post object passed to the celery task and actual object in the DB.

2014-05-26 16:20:36 -0500 commented question Error in reloading the post object from database

Code is downloaded from the repository: https://github.com/ASKBOT/askbot-devel Database used is PostgreSQL

2014-05-26 04:10:56 -0500 asked a question Email Notification issues

Email notifications are going only to the Admin and not to the user who has posted the question. Is it because the question was asked anonymously? Is there some setting which I need to set so that all the users who are involved in the discussion should get activity notification?

2014-05-24 12:53:08 -0500 received badge Editor (source)
2014-05-24 12:52:07 -0500 asked a question Error in reloading the post object from database

I have setup Celery to send notifications asynchronously.

In send_instant_notifications_about_activity_in_post Post object is reloaded and got this error.

2014-05-24 22:35:47,659: ERROR/MainProcess] Task askbot.tasks.send_instant_notifications_about_activity_in_post[3c31870b-14f0-4d9a-9429-6c8040f5426d] raised unexpected: DoesNotExist("Post matching query does not exist. Lookup parameters were {'id': 8}",) Traceback (most recent call last):

File "/home/ubuntu/.virtualenvs/lawayo/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task R = retval = fun(args, *kwargs)

File "/home/ubuntu/.virtualenvs/lawayo/local/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__ return self.run(args, *kwargs)

File "/home/ubuntu/public_html/lawayo.com/lawayo/askbot/tasks.py", line 216, in send_instant_notifications_about_activity_in_post post = Post.objects.get(id=post.id)

File "/home/ubuntu/.virtualenvs/lawayo/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/db/models/manager.py", line 143, in get return self.get_query_set().get(args, *kwargs)

File "/home/ubuntu/.virtualenvs/lawayo/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/db/models/query.py", line 401, in get (self.model._meta.object_name, kwargs))

Exception: Post matching query does not exist. Lookup parameters were {'id': 8

ID is being retrieved from the object itself just to reload the object, still fetch failed. Please help.