2023-09-17 07:21:36 -0500 | received badge |
Popular Question
(source)
|
2023-09-17 07:21:36 -0500 | received badge |
Famous Question
(source)
|
2023-09-17 07:21:36 -0500 | received badge |
Notable Question
(source)
|
2021-11-22 13:23:55 -0500 | received badge |
Notable Question
(source)
|
2017-09-12 12:34:15 -0500 | received badge |
Famous Question
(source)
|
2017-09-12 12:34:15 -0500 | received badge |
Popular Question
(source)
|
2015-02-05 19:10:14 -0500 | received badge |
Famous Question
(source)
|
2015-01-15 15:39:01 -0500 | received badge |
Notable Question
(source)
|
2015-01-15 15:39:01 -0500 | received badge |
Popular Question
(source)
|
2013-12-04 14:12:46 -0500 | received badge |
Popular Question
(source)
|
2013-11-12 15:59:31 -0500 | received badge |
Notable Question
(source)
|
2013-08-05 19:59:23 -0500 | received badge |
Popular Question
(source)
|
2013-08-05 19:59:23 -0500 | received badge |
Notable Question
(source)
|
2013-07-26 17:25:47 -0500 | received badge |
Popular Question
(source)
|
2013-02-13 10:53:37 -0500 | received badge |
Popular Question
(source)
|
2012-11-01 15:22:51 -0500 | received badge |
Nice Answer
(
source
)
|
2012-11-01 15:22:47 -0500 | received badge |
Nice Question
(source)
|
2012-11-01 11:27:22 -0500 | received badge |
Famous Question
(source)
|
2012-09-04 14:57:24 -0500 | received badge |
Famous Question
(source)
|
2012-08-28 11:54:57 -0500 | asked a question | Deployment in shared hosting Hey guys, do I need to have access to Apache's httpd.conf file to deploy Askbot? |
2012-08-28 10:58:48 -0500 | commented answer | Deploy Django |
2012-08-28 08:16:28 -0500 | commented answer | Deploy Django |
2012-08-28 07:20:11 -0500 | commented question | Deploy Django I got Askbot running on localhost. Now I'm trying to run it on my webserver. Apparently it is not as easy as upload the files through FTP. I have no idea on how to deploy Django applications, that's why I need a manual or something, as this instructions (http://askbot.org/doc/deployment.html) are not clear enough to me... |
2012-08-27 15:56:10 -0500 | asked a question | Deploy Django Could anyone please recommend me any manual about how to deploy a Django application online? Thanks. |
2012-08-27 14:54:53 -0500 | commented answer | OperationalError at /account/signin/ Current version, I think it is 5.5.27 |
2012-08-27 10:19:42 -0500 | received badge |
Self-Learner
(
source
)
|
2012-08-27 10:13:09 -0500 | answered a question | OperationalError at /account/signin/ Ok, finally I fixed this by running Postgresql instead of Mysql to create the database. ;) |
2012-08-26 08:59:26 -0500 | commented question | OperationalError at /account/signin/ Hey people, I'm still stuck with this... Any help? |
2012-08-24 15:39:15 -0500 | commented question | OperationalError at /account/signin/ Thanks for your quick response. I already did that. I've tried to run it again but it did not solve the problem. Any other suggestion? |
2012-08-24 15:25:25 -0500 | asked a question | OperationalError at /account/signin/ Hi there, I'm getting this error when trying to sign in the first user right after installing askbot. Do you know what is it about? OperationalError at /account/signin/
(1054, "Unknown column 'askbot_anonymousanswer.question_id' in 'field list'")
Request Method: GET
Request URL: http://127.0.1.1:8000/account/signin/?next=/
Django Version: 1.3.1
Exception Type: OperationalError
Exception Value:
(1054, "Unknown column 'askbot_anonymousanswer.question_id' in 'field list'")
Exception Location: /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in defaulterrorhandler, line 36
Python Executable: /usr/bin/python
Python Version: 2.7.3
|
2012-08-05 03:45:16 -0500 | received badge |
Famous Question
(source)
|
2012-07-24 23:41:21 -0500 | received badge |
Famous Question
(source)
|
2012-07-24 03:40:22 -0500 | received badge |
Famous Question
(source)
|
2012-07-05 05:36:15 -0500 | received badge |
Famous Question
(source)
|
2012-05-29 05:21:21 -0500 | asked a question | ImportError: Could not import settings 'en.settings' I'm trying to deploy askbot on my webserver, but my host provider is telling me that I get this error: ImportError: Could not import settings 'en.settings' (Is it on
sys.path?): No module named askbot
I'll show you my settings.py and my httpd.conf. Please tell me if you see something wrong: settings.py: ## Django settings for ASKBOT enabled project.
import os.path
import logging
import sys
import askbot
import site
#this line is added so that we can import pre-packaged askbot dependencies
ASKBOT_ROOT = os.path.abspath(os.path.dirname(askbot.__file__))
site.addsitedir(os.path.join(ASKBOT_ROOT, 'deps'))
DEBUG = True#set to True to enable debugging
TEMPLATE_DEBUG = False#keep false when debugging jinja2 templates
INTERNAL_IPS = ('localhost',)
ADMINS = (
('*****', '****@****.***'),
)
MANAGERS = ADMINS
DATABASE_ENGINE = 'mysql' # only postgres (>8.3) and mysql are supported so far others have not been tested yet
DATABASE_NAME = '*****' # Or path to database file if using sqlite3.
DATABASE_USER = '*****' # Not used with sqlite3.
DATABASE_PASSWORD = '******' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
#outgoing mail server settings
SERVER_EMAIL = ''
DEFAULT_FROM_EMAIL = ''
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_SUBJECT_PREFIX = ''
EMAIL_HOST=''
EMAIL_PORT=''
EMAIL_USE_TLS=False
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
#incoming mail settings
#after filling out these settings - please
#go to the site's live settings and enable the feature
#"Email settings" -> "allow asking by email"
#
# WARNING: command post_emailed_questions DELETES all
# emails from the mailbox each time
# do not use your personal mail box here!!!
#
IMAP_HOST = ''
IMAP_HOST_USER = ''
IMAP_HOST_PASSWORD = ''
IMAP_PORT = ''
IMAP_USE_TLS = False
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# On Unix systems, a value of None will cause Django to use the same
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'America/Chicago'
SITE_ID = 1
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True
LANGUAGE_CODE = 'en'
# Absolute path to the directory that holds uploaded media
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'askbot', 'upfiles')
MEDIA_URL = '/home/whatzzco/domains/whatzz.com/public_html/en/askbot/upfiles/'
STATIC_URL = '/home/whatzzco/domains/whatzz.com/public_html/en/static/'#this must be different from MEDIA_URL
PROJECT_ROOT = os.path.dirname(__file__)
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
# Make up some unique string, and don't share it with anybody.
SECRET_KEY = '**************************************'
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
#below is askbot stuff for this tuple
'askbot.skins.loaders.filesystem_load_template_source',
#'django.template.loaders.eggs.load_template_source',
)
MIDDLEWARE_CLASSES = (
#'django.middleware.gzip.GZipMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
#'django.middleware.cache.UpdateCacheMiddleware',
'django ... (more) |
2012-05-28 23:17:04 -0500 | commented question | Deployment for dummies: how to configure webserver? I'm stuck with this too... Any help? |
2012-05-28 14:40:42 -0500 | asked a question | Uploading Askbot Hi, I've got my askbot running on Ubuntu using sqlite3. Now I want it to run on my webserver. What do I have to do next? Repeat all the installation process through SSH on the webserver? Or just upload the files through FTP and configure Apache/mod_wsgi online? I'm quite confused... I think that a step-by-step tutorial would be very useful... Thanks. |
2012-05-26 19:46:04 -0500 | received badge |
Supporter
(source)
|
2012-05-23 02:35:45 -0500 | received badge |
Self-Learner
(
source
)
|
2012-05-23 02:35:45 -0500 | received badge |
Teacher
(
source
)
|
2012-05-22 21:20:47 -0500 | asked a question | mysql_exceptions.OperationalError Any idea on how to solve this?: (ENV) C:\Users\Francisko\ENV\Whatzz>python manage.py syncdb
************************
* *
* Askbot self-test *
* *
************************
Your output encoding is not UTF-8, there may be issues with the software when an
ything is printed to the terminal or log files
************************
* *
* Askbot self-test *
* *
************************
Please run command
python manage.py collectstatic
(2013, "Lost connection to MySQL server at 'reading initial communication packet
', system error: 0")
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\__init__.py", line 438, in execute_manager
utility.execute()
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\base.py", line 219, in execute
self.validate()
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\validation.py", line 102, in get_validation_errors
connection.validation.validate_field(e, opts, f)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\backends\mysql\validation.py", line 14, in validate_field
db_version = self.connection.get_server_version()
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\backends\mysql\base.py", line 338, in get_server_version
self.cursor()
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\backends\__init__.py", line 250, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\backends\mysql\base.py", line 322, in _cursor
self.connection = Database.connect(**kwargs)
File "C:\Users\Francisko\ENV\lib\site-packages\MySQLdb\__init__.py", line 81,
in Connect
return Connection(*args, **kwargs)
File "C:\Users\Francisko\ENV\lib\site-packages\MySQLdb\connections.py", line 1
87, in __init__
super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (2013, "Lost connection to MySQL server at '
reading initial communication packet', system error: 0")
|
2012-05-22 21:15:52 -0500 | answered a question | No module named psycopg2 I found this script that finally helped me to install psycopg2 on virtualenv. ;) Cheers. |
2012-05-22 21:14:32 -0500 | asked a question | No module named psycopg2 I'm still having problems initializing askbot on Windows. Look what I got whenever I ran python manage.py syncdb: (ENV) C:\Users\Francisko\ENV\Whatzz>python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\__init__.py", line 438, in execute_manager
utility.execute()
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ore\management\__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\u
tils\importlib.py", line 35, in import_module
__import__(name)
File "C:\Users\Francisko\ENV\lib\site-packages\south-0.7.5-py2.7.egg\south\man
agement\commands\__init__.py", line 10, in <module>
import django.template.loaders.app_directories
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\t
emplate\loaders\app_directories.py", line 21, in <module>
mod = import_module(app)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\u
tils\importlib.py", line 35, in import_module
__import__(name)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ontrib\admin\__init__.py", line 3, in <module>
from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ontrib\admin\helpers.py", line 3, in <module>
from django.contrib.admin.util import (flatten_fieldsets, lookup_field,
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\c
ontrib\admin\util.py", line 1, in <module>
from django.db import models
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\__init__.py", line 78, in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\utils.py", line 93, in __getitem__
backend = load_backend(db['ENGINE'])
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\utils.py", line 33, in load_backend
return import_module('.base', backend_name)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\u
tils\importlib.py", line 35, in import_module
__import__(name)
File "C:\Users\Francisko\ENV\lib\site-packages\django-1.3.1-py2.7.egg\django\d
b\backends\postgresql_psycopg2\base.py", line 24, in <module>
raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No m
odule named psycopg2
Well, so I try to install psycopg2 on Windows but it only allows me to install it on the main Python27 directory. As ... (more) |
2012-05-22 19:40:13 -0500 | answered a question | Python-daemon not found As @Evgeny said, the installation on Windows can go on by deleting requirement of Lamson library in askbot/__init__.py (line 36) before starting the installation. It didn't worked the first time because I was running askbot-setup directly. Anyway I'm not sure if this would be the best solution, as some functionalities may be lost on the way... |
2012-05-22 15:51:48 -0500 | commented question | Python-daemon not found Check this, it is the same problem... Maybe the latest version of askbot is just Windows-non compatible because of its dependence on python-daemon ... Could I download an older one? |
2012-05-22 08:15:17 -0500 | commented question | Python-daemon not found I've restarted all again and I've seen that the problem comes from the previous step, when running "python setup.py develop" it gives me an "ImportError: No module named resource." Any idea of what can it be? |
2012-05-22 06:39:49 -0500 | commented question | Python-daemon not found Yes, @zaf, I installed both Python 2.7 and setuptools on Windows correctly. The problem comes when I try to run "askbot-setup"... |