First time here? Check out the FAQ!

AlexP's profile - activity

2018-01-31 20:54:24 -0500 received badge Famous Question (source)
2017-07-31 13:03:49 -0500 received badge Popular Question (source)
2015-08-09 17:55:08 -0500 received badge Popular Question (source)
2014-07-16 11:30:47 -0500 received badge Notable Question (source)
2014-02-20 15:26:52 -0500 received badge Taxonomist
2013-07-17 13:01:15 -0500 received badge Famous Question (source)
2013-03-01 10:03:15 -0500 received badge Popular Question (source)
2012-10-14 22:31:06 -0500 received badge Famous Question (source)
2012-08-14 13:37:22 -0500 received badge Famous Question (source)
2011-09-14 05:53:46 -0500 received badge Nice Question (source)
2011-09-11 11:03:55 -0500 received badge Autobiographer
2011-09-11 09:46:07 -0500 commented answer Updating settings

No, it's a standard installation (just updated to version 0.7.22 today). The only changes I made are on the template.

2011-09-11 09:43:54 -0500 answered a question Choosing login provider

I clicked on save button, but there is no change on signin page. The only think working for me is "Always display local login form and hide "Askbot" button.".

I've noticed that if I leave and come back on the settings page, sometimes the checkbox are checked, sometimes not. But all providers are still visible on signin page.

I also tried on different navigator (in cas it's a cache problem or something else related to the browser), and it doesn't change anything. I tried on Chrome and Firefox.

2011-09-11 09:40:10 -0500 commented answer Updating settings

I don't really need a command to manage the settings, but when using the web Interface, I get this error :

IntegrityError at /settings/LOGIN_PROVIDERS/
(1062, "Duplicate entry '1-LOGIN_PROVIDERS-SIGNIN_IDENTI.CA_ENABLED' for key 2")

If I update an existing value.

2011-09-11 09:26:50 -0500 answered a question Updating settings

I update them from MySQL command prompt.

But I was talking about updating the settings from the settings panel.

2011-09-11 09:05:18 -0500 commented answer How to change askbot skin ?

Hey, is it possible to mark a comment as favorite? So I can mark this problem as solved

2011-09-11 09:03:35 -0500 asked a question Updating settings

Hello,

If I want to change the value of a field already stored in the database, I get an error for duplicate key. I think it tries to insert the value instead of updating it if it is already in the database.

What can I do ?

2011-09-11 09:02:03 -0500 asked a question Choosing login provider

Hello,

I wanted to disable some of the many login providers under settings/LOGIN_PROVIDERS/, but when I submit the form it doesn't apply my change (no entry are added in the database either by the way).

How can I fix that ?

Thanks

2011-09-05 07:57:59 -0500 commented answer How to change askbot skin ?

I just had to restart the server with "service httpd restart" and the skin appears in the list and the media are correctly loaded.

Thank you for your help !

2011-09-05 03:58:51 -0500 commented answer How to change askbot skin ?

I've check directory structure, and as it's base on default, it has the exact same one. I also checked the CHMOD of the directory structure, and it seems good for me (apache:apache). I don't know what may cause the problem now ...

Do I have to restart server after doing a change ? If yes, how ?

2011-09-04 07:25:56 -0500 answered a question How to change askbot skin ?

I've defined ASKBOT_EXTRA_SKINS_DIR as follow :

ASKBOT_EXTRA_SKINS_DIR = '/home/name'

with and without trailling slash, but myskin still doesn't appear in settings. I've check the folder syntax, and it has the required folders.

2011-09-04 07:18:05 -0500 received badge Student (source)
2011-09-04 06:20:43 -0500 received badge Editor (source)
2011-09-04 05:46:52 -0500 asked a question How to change askbot skin ?

Hey,

I've modified Askbot skin and place it in an other foler (/home/name/myskin) and created a symbolic link (ln -s) from this folder to askbot/skins/myskins.

Now I would like to know how to use this new skin by default ?

Thank you :)

Edit : in settings, under Skins tab, myskin doesn't appear in the select menu to choose skin.

2011-05-24 13:39:16 -0500 received badge Scholar ( source )
2011-05-24 13:39:16 -0500 marked best answer No module named askbot_stm.urls

Hi, it's either because you do not have __init__.py (even empty) in the askbot_stm directory, or this directory is not on the python system path.

There is an environment variable that you can use, called PYTHONPATH.

PYTHONPATH=/path/to_dir_above_askbot_stm
export PYTHONPATH
2011-05-24 13:37:45 -0500 commented answer No module named askbot_stm.urls
It gives me the same result.
2011-05-24 13:37:43 -0500 commented answer No module named askbot_stm.urls
It gives me the same result. But I juste notice that my wsgi was not the same as the one in the documentation. So I replace it, and now it work perfectly ! My bad ... I'm sorry for wasting your time. And thank you for your help !
2011-05-24 13:23:35 -0500 answered a question No module named askbot_stm.urls

The __init__.py file is there.

And I just wrote the two commands you gave me in a terminal, but I still have the error. Or should I put them in a file ?

Thank you for your help !

2011-05-24 12:17:31 -0500 asked a question No module named askbot_stm.urls

I just tried to put my askbot site online, but I get the following error :

Environment:


Request Method: GET
Request URL: ___

Django Version: 1.3
Python Version: 2.6.4
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.humanize',
 'django.contrib.sitemaps',
 'askbot',
 'askbot.deps.django_authopenid',
 'south',
 'askbot.deps.livesettings',
 'keyedcache',
 'robots',
 'django_countries',
 'djcelery',
 'djkombu']
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware',
 'askbot.middleware.pagesize.QuestionsPageSizeMiddleware',
 'askbot.middleware.cancel.CancelActionMiddleware',
 'askbot.deps.recaptcha_django.middleware.ReCaptchaMiddleware',
 'django.middleware.transaction.TransactionMiddleware',
 'askbot.middleware.view_log.ViewLogMiddleware',
 'askbot.middleware.spaceless.SpacelessMiddleware')


Traceback:
File "/opt/python2.6/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
  101.                             request.path_info)
File "/opt/python2.6/lib/python2.6/site-packages/django/core/urlresolvers.py" in resolve
  250.             for pattern in self.url_patterns:
File "/opt/python2.6/lib/python2.6/site-packages/django/core/urlresolvers.py" in _get_url_patterns
  279.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/opt/python2.6/lib/python2.6/site-packages/django/core/urlresolvers.py" in _get_urlconf_module
  274.             self._urlconf_module = import_module(self.urlconf_name)
File "/opt/python2.6/lib/python2.6/site-packages/django/utils/importlib.py" in import_module
  35.     __import__(name)

Exception Type: ImportError at /
Exception Value: No module named askbot_stm.urls

askbot_stm in my project name, and there is definitely a file names urls.py in the root folder. Does anyone have an idea on how to solve this ?

Thank you !