First time here? Check out the FAQ!

albrnick's profile - activity

2019-06-10 09:41:42 -0500 received badge Nice Question (source)
2019-02-27 12:26:03 -0500 received badge Notable Question (source)
2019-02-13 19:47:51 -0500 received badge Famous Question (source)
2019-02-13 19:47:51 -0500 received badge Popular Question (source)
2019-01-09 09:10:50 -0500 asked a question Documentation 404?

Documentation 404? Hello! Looks like the documentation is throwing a 404 error code? Thanks! :)

2017-06-19 23:01:52 -0500 received badge Famous Question (source)
2016-07-13 02:29:12 -0500 received badge Nice Question (source)
2016-07-13 02:15:59 -0500 received badge Popular Question (source)
2016-07-13 02:15:59 -0500 received badge Famous Question (source)
2016-07-13 02:15:59 -0500 received badge Notable Question (source)
2016-07-11 13:38:29 -0500 received badge Famous Question (source)
2016-06-30 14:24:54 -0500 received badge Editor (source)
2016-06-30 14:24:25 -0500 asked a question Connection Refused when viewing question


I'm sorry to ask this, as it has to be simple thing I'm missing/user error. But I'm getting a "Connection refused" error when viewing a question. It looks like I don't have the rabbitMQ / celery setup correctly.

The highlights of the stack:

askbot/models/ record_question_visit


Then it goes through celery, to kombu, to amqp to where it bombs out in ampq/ create_transport

        if not self.sock:
            # Didn't connect, return the most recent error message
                        raise socket.error(last_err) 

And raises the exception:

[Errno 111] Connection refused

trying to connect to host:


I'm using the default settings from the repo, including the lines:

BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"

import djcelery

I'm assuming I just don't have something running on the backend to handle those requests, though looks like CELERY_ALWAYS_EAGER = True should do local processing/not require a backend?

Any pointers/suggestions on where to look would be most appreciated! Thanks!

2016-06-30 08:51:10 -0500 commented answer does askbot support django 1.8?

Thanks! = )

2016-06-30 08:33:43 -0500 commented answer Error when posting - Can't find personal group (into existing site Django 1.8)

Oh perfect! Thanks! = ) I'll pull the latest!

2016-06-30 08:33:09 -0500 received badge Scholar ( source )
2016-06-30 08:33:06 -0500 received badge Supporter ( source )
2016-06-30 02:57:07 -0500 received badge Student (source)
2016-06-29 10:47:10 -0500 asked a question Error when posting - Can't find personal group (into existing site Django 1.8)


I'm trying to add askbot into an existing site running Django 1.8. I've just got things up and running, but ran into an error when trying out my first test post. It bombs on the last line here:

def user_get_personal_group(self):
  group_name = format_personal_group_name(self)
  return Group.objects.get(name=group_name)  # bombs here with Group.DoesNotExist error

Looking around, it looks like the function 'add_user_to_personal_group' wasn't called because the user model was never saved/existed before I integrated askbot. I'm tempted to change the code to:

def user_get_personal_group(self):
  group_name = format_personal_group_name(self)
    return Group.objects.get(name=group_name)  
  except Group.DoesNotExist:
    add_user_to_personal_group( None, self, True ) # Add the group if not here.
    return Group.objects.get(name=group_name)

But don't know if that is the right way to go about this. Would there be a better way for me to do?


2016-06-29 10:47:08 -0500 asked a question does askbot support django 1.8?

We are looking to integrate this into our website which is running django 1.8. I was wondering if master currently runs on 1.8?

Thanks! = )