First time here? Check out the FAQ!

SocialQA's profile - activity

2022-03-03 10:50:37 -0500 received badge Popular Question (source)
2020-08-13 09:09:42 -0500 received badge Popular Question (source)
2020-08-13 09:09:42 -0500 received badge Famous Question (source)
2019-07-10 05:06:11 -0500 received badge Notable Question (source)
2019-07-10 05:06:11 -0500 received badge Popular Question (source)
2019-07-09 22:48:57 -0500 received badge Famous Question (source)
2018-06-05 11:27:11 -0500 received badge Popular Question (source)
2018-06-05 11:27:11 -0500 received badge Famous Question (source)
2018-06-05 11:27:11 -0500 received badge Notable Question (source)
2018-02-26 14:39:17 -0500 received badge Notable Question (source)
2017-12-10 14:38:07 -0500 received badge Famous Question (source)
2017-11-29 03:53:07 -0500 received badge Notable Question (source)
2017-07-25 16:09:33 -0500 received badge Notable Question (source)
2017-07-12 16:34:05 -0500 received badge Popular Question (source)
2017-05-01 16:29:02 -0500 received badge Notable Question (source)
2017-04-20 11:07:51 -0500 received badge Famous Question (source)
2017-01-22 15:41:05 -0500 received badge Notable Question (source)
2016-12-29 08:48:44 -0500 received badge Famous Question (source)
2016-12-29 08:39:45 -0500 received badge Famous Question (source)
2016-10-26 15:56:04 -0500 received badge Famous Question (source)
2016-10-09 02:04:35 -0500 received badge Popular Question (source)
2016-06-29 06:58:22 -0500 received badge Notable Question (source)
2016-06-16 03:03:36 -0500 received badge Famous Question (source)
2016-03-25 09:57:34 -0500 received badge Notable Question (source)
2016-02-01 21:03:44 -0500 received badge Famous Question (source)
2016-02-01 04:47:23 -0500 received badge Popular Question (source)
2015-10-22 03:56:19 -0500 received badge Popular Question (source)
2015-10-05 10:58:41 -0500 marked best answer how to set {{app_name}} to other than "Askbot"

Whats the best way we can programmatically set the different value for {{app_name}} we have clearly mentioned in the site that the site is supported by askbot framework but we want to make sure user is not confuse so how can we set our own name.

2015-10-05 10:58:41 -0500 marked best answer Migrate other than askbot and django_authopenid

After running python manage.py syncdb following models don't get migrate:

Not synced (use migrations):
 - longerusername
 - askbot.deps.django_authopenid
 - robots
 - djcelery
 - group_messaging
 - askbot

the installation instructions in doc (http://askbot.org/doc/initialize-database-tables.html) only tells to migrate askbot and django_authoopenid,

If we do python manage.py migrate, will migrate all the models. Is there a reason not to do? What tables should we do migrate before putting it in a production server.

2015-10-05 10:58:41 -0500 marked best answer Introduce new variables in settings.py

How can I add new variables and their defaults values to settings.py such that they get created in settings file during the installation time.

example:

show_widget = False
2015-10-05 10:58:41 -0500 marked best answer Postgres Migration Issue and relation "askbot_thread" does not exist

I am using postgres, but looks like migration fails on auth_user table, and due to that when I run the server I get the following error:

DatabaseError at /questions/
relation "askbot_thread" does not exist
LINE 1: SELECT COUNT(DISTINCT "askbot_thread"."id") FROM "askbot_thr...
                                                         ^
Request Method: GET
Request URL:    http://localhost:8002/questions/
Django Version: 1.4.8
Exception Type: DatabaseError
Exception Value:    
relation "askbot_thread" does not exist
LINE 1: SELECT COUNT(DISTINCT "askbot_thread"."id") FROM "askbot_thr...

Here is the result from migration.

$python manage.py syncdb
Please run command

    python manage.py collectstatic
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

current transaction is aborted, commands ignored until end of transaction block

Syncing...
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table south_migrationhistory
Creating table livesettings_setting
Creating table livesettings_longsetting
Creating table djkombu_queue
Creating table djkombu_message
Creating table followit_followuser

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'anu'): 
E-mail address: auduwage@gmail.com
Password: 
Password (again): 
Askbot Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.staticfiles
 > django.contrib.admin
 > django.contrib.humanize
 > django.contrib.sitemaps
 > south
 > askbot.deps.livesettings
 > keyedcache
 > django_countries
 > djkombu
 > followit
 > tinymce

Not synced (use migrations):
 - longerusername
 - askbot.deps.django_authopenid
 - robots
 - djcelery
 - group_messaging
 - askbot
(use ./manage.py migrate to migrate these)
[1]+  Done                    open -a /Applications/Emacs.app $1 settings.py
(vGA_Migration)anu@cmbmac:[~/code/vGA_Migration/gopheranswers]$python manage.py migrate askbot
Please run command

    python manage.py collectstatic
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

relation "askbot_badgedata" does not exist
LINE 1: ..."."slug", "askbot_badgedata"."awarded_count" FROM "askbot_ba...
                                                             ^

Running migrations for askbot:
 - Migrating forwards to 0164_update_postgres_user_search.
 > askbot:0001_initial
FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "website" varchar(200) NULL;
The error was: column "website" of relation "auth_user" already exists

FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "about" text NULL;
The error was: column "about" of relation "auth_user" already exists

FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "gold" smallint NOT NULL DEFAULT ...
(more)
2015-10-05 10:58:39 -0500 marked best answer Login PNG Location

I have added my new login png file just like google, twitter etc under /askbot/media/jquery-openid/images, in addition to that I edited the util.py file in django_authopenid but I still don't see the image on the login page. Do I need to do anything addition for just the image to showup

2015-10-05 10:58:39 -0500 marked best answer skins issue: warnings.warn('Cannot translate loader: %s' % loader)

I am getting following error and due to this site is actually not getting loaded correctly.

Here is the error:

[Wed Mar 20 14:11:07 2013] [error] /export/scratch/code/myVirtualEnv/local/lib/python2.7/site-packages/Coffin-0.3.7-py2.7.egg/coffin/common.py:73: UserWarning: Cannot translate loader: askbot.skins.loaders.Loader
[Wed Mar 20 14:11:07 2013] [error]   warnings.warn('Cannot translate loader: %s' % loader)

I tried both my virtualenv python and regular python and import coffin and in both environment I manage to import coffin successfully.

2015-10-05 10:58:39 -0500 marked best answer unable to find askbot-setup file

I just clone the repository and ran python setup.py develop command, Then I was going to follow the instructions given at configuration page (Dont have karma to publish links) but I am unable to find the that file in the folder that I install.

Based on the information on git hub clone, I gave a project name when I cloned and so I have myaskbot/askbot

This is what mentioned in the configuration page:

When installing Askbot for the first time, you will need to initialize the project setup files by typing:

askbot-setup
2015-08-18 19:36:07 -0500 received badge Notable Question (source)
2015-08-17 15:44:19 -0500 received badge Famous Question (source)
2015-08-17 15:43:15 -0500 received badge Popular Question (source)
2015-07-29 15:21:29 -0500 received badge Famous Question (source)
2015-07-29 00:13:47 -0500 received badge Popular Question (source)
2015-06-25 15:32:30 -0500 received badge Famous Question (source)
2015-06-17 14:42:38 -0500 received badge Popular Question (source)
2015-06-17 14:42:38 -0500 received badge Notable Question (source)
2015-02-05 18:51:54 -0500 received badge Good Question (source)
2015-02-03 08:17:13 -0500 received badge Popular Question (source)
2015-02-01 09:29:26 -0500 received badge Notable Question
2015-01-14 01:29:47 -0500 received badge Popular Question (source)
2014-12-13 19:40:10 -0500 received badge Nice Question (source)
2014-12-13 19:28:34 -0500 received badge Famous Question (source)
2014-12-08 02:31:05 -0500 received badge Popular Question (source)
2014-11-27 12:13:04 -0500 received badge Famous Question (source)