Ask Your Question

kate_r's profile - activity

2019-07-09 00:50:34 -0500 received badge  Popular Question (source)
2018-06-17 23:36:23 -0500 received badge  Notable Question (source)
2018-04-06 13:20:16 -0500 received badge  Popular Question (source)
2018-02-05 00:02:38 -0500 received badge  Famous Question (source)
2017-12-19 11:25:51 -0500 asked a question Sign in via oauth2 and API

Sign in via oauth2 I'm trying to give Askbot support for signing in via API. I guess it'd be via oauth2. My take is that

2017-12-19 11:25:51 -0500 asked a question Can both password and oauth2 be supported simultaneously?

Can both password and oauth2 be supported simultaneously? I wonder if 'password' and oauth2 can be supported simultaneou

2017-12-19 11:25:49 -0500 commented answer Does Askbot support Python 3?

@Evgeny Is there any plan to support Python 3?

2017-12-03 06:19:45 -0500 received badge  Critic (source)
2017-06-19 19:29:19 -0500 received badge  Notable Question (source)
2017-04-23 11:03:04 -0500 received badge  Famous Question (source)
2017-04-23 11:02:19 -0500 received badge  Popular Question (source)
2017-04-23 11:02:19 -0500 received badge  Famous Question (source)
2017-03-20 06:30:09 -0500 received badge  Popular Question (source)
2017-03-09 14:02:47 -0500 received badge  Nice Question (source)
2016-02-01 21:47:40 -0500 received badge  Notable Question (source)
2015-10-05 10:58:40 -0500 marked best answer Why "must add revision before saving the answer"?

Hi

In models.post, there's the following:

    #must add revision before saving the answer
    self.add_revision(
        author = edited_by,
        revised_at = edited_at,
        text = text,
        comment = comment,
        by_email = by_email
    )

How come the revision has to be saved before the answer?

Thanks

2015-10-05 10:58:40 -0500 marked best answer How scalable is askbot nowadays?

A similar question was asked before in 2011 http://askbot.org/en/question/3249/how-scalable-is-askbot/ and it seems back then caching support was rather weak. Has the caching support been improved since then? Can Askbot handle 40 pageviews per second now?

2015-10-05 10:58:37 -0500 marked best answer How come user-following doesn't work?

I'm trying to follow someone on askbot.org, but clicking on 'follow X' doesn't give a response. The user doesn't appear in my network either. Is user-following supposed to work here?

Thanks

2015-10-05 10:58:36 -0500 marked best answer Is user-following a new feature?

I see that this site supports user-following. Is a new feature in 0.7.39? Was it available in 0.7.22?

Thanks

2015-10-05 10:58:31 -0500 marked best answer Removing footer messages

Hi

If I amend the code, can I remove from the footer "Powered by Askbot version 0.7.39" and the license message?

Thanks

2014-12-21 03:08:14 -0500 marked best answer Why does Askbot use South?

Hi

How come Askbot uses South? Would it be better off without it?

Thanks!

2014-11-27 02:51:02 -0500 received badge  Enthusiast
2014-11-25 10:02:30 -0500 asked a question How come there's create() and create_new()?

Hi

I'm somewhat confused about the naming scheme for instance creation. In ThreadManager, create() raises NotImplementedError whereas there's a method create_new() which creates a new thread. In TagManager, there's create() but no create_new(). So what are the intended differences between create() and create_new()?

Thanks

2014-11-25 09:58:57 -0500 asked a question How come there's create() and create_new()?

Hi

I'm somewhat confused about the naming scheme for instance creation. In ThreadManager, create() raises NotImplementedError whereas there's a method create_new() which creates a new thread. In TagManager, there's create() but no create_new(). So what are the intended differences between create() and create_new()?

Thanks

2014-09-11 13:31:39 -0500 asked a question Can users send private messages?

I believe this feature was talked about some years ago, but is it available currently? If so, is it enabled here?

Thanks

2014-07-30 12:10:57 -0500 received badge  Popular Question (source)
2014-06-23 17:03:29 -0500 received badge  Notable Question (source)
2014-04-14 02:16:14 -0500 received badge  Famous Question (source)
2014-01-22 18:18:28 -0500 received badge  Nice Question (source)
2014-01-22 18:18:24 -0500 marked best answer What is the default Celery broker?

Hi

I see that Celery is used to handle slow tasks, but BROKER_URL doesn't seem to be set in settings.py. Does anyone know what is the default broker? There's a variable called DOMAIN_NAME in settings.py, but what is its purpose? Is it related to Celery?

Thanks

2013-12-05 22:50:10 -0500 received badge  Famous Question (source)
2013-12-05 15:05:52 -0500 received badge  Famous Question (source)
2013-09-13 12:32:50 -0500 received badge  Famous Question (source)
2013-06-17 16:58:57 -0500 commented question MaybeEncodingError when RabbitMQ is used

I've figured out the problem: TransactionMiddleware is enabled, which makes each view function commit_on_response. Basically, nothing gets committed if a response is not created. I think the task should only be fired off after a response.

2013-06-17 08:41:28 -0500 commented question MaybeEncodingError when RabbitMQ is used

This comes from the non-modified version of askbot-devel's master branch. I can't quite see why the post matching ID doesn't exist though. The "post_updated" signal is sent after post.parse_and_save() in models.post, so the post ID should already exists by the time the task kicks off.

2013-06-16 17:16:08 -0500 asked a question MaybeEncodingError when RabbitMQ is used

Hi

The task record_post_update_celery_task always gives a MaybeEncodingError when RabbitMQ is used. It seems to work fine for djkombu though. Is it potentially a problem with race conditions? Here's my celery.log:

[2013-06-16 17:09:57,603: INFO/MainProcess] Got task from broker: askbot.tasks.record_post_update_celery_task[68e380d4-2ad4-4025-a8ff-0287933072eb]
[2013-06-16 17:09:57,794: ERROR/MainProcess] Task askbot.tasks.record_post_update_celery_task[68e380d4-2ad4-4025-a8ff-0287933072eb] raised exception: <MaybeEncodingError: Error sending result: '"<ExceptionInfo: ObjectDoesNotExist('Post matching query does not exist.',)>"'. Reason: ''PicklingError("Can\'t pickle <class \'askbot.models.post.DoesNotExist\'>: attribute lookup askbot.models.post.DoesNotExist failed",)''.>
Traceback (most recent call last):
  File "/home/projects/askbot-test/local/lib/python2.7/site-packages/billiard-2.7.3.28-py2.7-linux-x86_64.egg/billiard/pool.py", line 317, in worker
    put((READY, (job, i, result)))
  File "/home/projects/askbot-test/local/lib/python2.7/site-packages/billiard-2.7.3.28-py2.7-linux-x86_64.egg/billiard/queues.py", line 353, in put
    return send(obj)
MaybeEncodingError: Error sending result: '"<ExceptionInfo: ObjectDoesNotExist('Post matching query does not exist.',)>"'. Reason: ''PicklingError("Can\'t pickle <class \'askbot.models.post.DoesNotExist\'>: attribute lookup askbot.models.post.DoesNotExist failed",)''.

Could anyone reproduce it? The problem arises whether it's a question or an answer that is submitted.

2013-06-15 21:06:54 -0500 commented answer Why "must add revision before saving the answer"?

Thanks. I agree that it all works, and works brilliantly. However, just for education, since the post object already exists, the comment "#must add revision before saving the answer" above the call is too strong though. There's no reason for it to not work if the revision is added after saving the answer, as the post object already exists. Just for education. :)

2013-06-15 20:54:36 -0500 commented answer Why "must add revision before saving the answer"?

Sure. Thanks for the pointers. So does that mean that comment in the edit function doesn't actually hold?