2019-06-24 05:14:21 -0500 | received badge |
Famous Question
(source)
|
2019-06-24 05:14:21 -0500 | received badge |
Notable Question
(source)
|
2019-06-24 05:14:21 -0500 | received badge |
Popular Question
(source)
|
2017-11-28 06:26:58 -0500 | received badge |
Famous Question
(source)
|
2013-12-04 09:00:30 -0500 | received badge |
Famous Question
(source)
|
2013-11-14 08:10:16 -0500 | asked a question | multilingual=true crashes On askbot 0.7.49 , we are seeing this crash on turning multilingual=true in settings.py [Thu Nov 14 14:05:49 2013] [error]
mod_wsgi (pid=31744): SystemExit exception raised by WSGI script '/usr/sbin/askbot.wsgi' ignored.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
self.load_middleware()
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 45, in load_middleware
mod = import_module(mw_module)
File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/lib/python2.6/site-packages/askbot/middleware/view_log.py", line 7, in <module>
from askbot.models import signals
File "/usr/lib/python2.6/site-packages/askbot/models/__init__.py", line 2, in <module>
startup_procedures.run()
File "/usr/lib/python2.6/site-packages/django/db/transaction.py", line 224, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/askbot/startup_procedures.py", line 1061, in run
sys.exit(1)
SystemExit: 1
Please check. |
2013-11-10 03:56:59 -0500 | commented answer | object.__init__() takes no parameters hi, the problem is pystache 0.3.1 is outdated and deprecated for latest fedora. Present stable pystache is 0.5.3-2 for fedora. I will see if I can patch askbot to work with the the newer pystache. Any specific reason to freeze the version? |
2013-11-07 13:53:22 -0500 | received badge |
Famous Question
(source)
|
2013-11-04 15:10:27 -0500 | received badge |
Teacher
(
source
)
|
2013-11-04 15:10:27 -0500 | received badge |
Self-Learner
(
source
)
|
2013-11-02 03:14:32 -0500 | answered a question | ImportError: cannot import name strip_tags @Evgeny : resolved the issue. It was a polluted staging env + puppet + rpm. Basically rpm upgrade did not upgrade the utils/html.py properly. Removing the old rpm and installing askbot 0.7.49 rpm fixed the issue. Thanks for the help! |
2013-10-27 13:22:31 -0500 | commented question | ImportError: cannot import name strip_tags didn't realise I had the question "deleted" for a while. Meant to delete another duplicate question. |
2013-10-27 08:43:04 -0500 | commented question | ImportError: cannot import name strip_tags |
2013-10-27 08:38:51 -0500 | received badge |
Commentator
|
2013-10-27 08:38:51 -0500 | commented question | object.__init__() takes no parameters pyliblzma==0.5.3
pystache==0.5.3
python-daemon==1.6
python-dateutil==1.5
python-openid==2.2.5
python-wordpress-xmlrpc==1.5
pytz==2012d
pyxattr==0.5.1
recaptcha-client==1.0.6
rpm-python==4.11.1
sanction==0.1.4
sepolicy==1.1
simplejson==3.2.0
six==1.4.1
urlgrabber==3.9.1
versiontools==1.9.1
wsgiref==0.1.2
yum-metadata-parser==1.1.4 |
2013-10-27 08:38:30 -0500 | commented question | object.__init__() takes no parameters <mock-chroot>[root@apps-fp-oi-00000340 /]# pip freeze
Babel==1.3
Coffin==0.3.7
Django==1.4.8
IPy==0.75
Jinja2==2.7.1
MarkupSafe==0.18
Pillow==2.2.1
Pygments==1.4
South==0.8.2
Sphinx==1.1.3
Unidecode==0.04.13
akismet==0.2.0
amqp==1.2.1
amqplib==1.0.2
askbot==0.7.49
beautifulsoup4==4.3.1
billiard==2.7.3.32
chardet==2.0.1
django-appconf==0.6
django-authenticator==0.1.5
django-avatar==2.0a2
django-compressor==1.3
django-countries==1.3
django-extra-form-fields==0.0.1
django-followit==0.0.3
django-keyedcache==1.4-6
django-kombu==0.9.4
django-picklefield==0.3.0
django-recaptcha-works==0.3.4
django-registration==0.8
django-robots==0.8.1
django-threaded-multihost==1.4-1
django-tinymce==1.5.1b4
docutils==0.11
html5lib==1.0b2
httplib2==0.7.7
import-utils==0.0.1
iniparse==0.4
kombu==2.5.14
lockfile==0 ... (more) |
2013-10-27 08:37:52 -0500 | answered a question | object.__init__() takes no parameters Adding this as an answer as I cannot put it all in a single comment.. <mock-chroot>[root@apps-fp-oi-00000340 /]# pip freeze
Babel==1.3
Coffin==0.3.7
Django==1.4.8
IPy==0.75
Jinja2==2.7.1
MarkupSafe==0.18
Pillow==2.2.1
Pygments==1.4
South==0.8.2
Sphinx==1.1.3
Unidecode==0.04.13
akismet==0.2.0
amqp==1.2.1
amqplib==1.0.2
askbot==0.7.49
beautifulsoup4==4.3.1
billiard==2.7.3.32
chardet==2.0.1
django-appconf==0.6
django-authenticator==0.1.5
django-avatar==2.0a2
django-compressor==1.3
django-countries==1.3
django-extra-form-fields==0.0.1
django-followit==0.0.3
django-keyedcache==1.4-6
django-kombu==0.9.4
django-picklefield==0.3.0
django-recaptcha-works==0.3.4
django-registration==0.8
django-robots==0.8.1
django-threaded-multihost==1.4-1
django-tinymce==1.5.1b4
docutils==0.11
html5lib==1.0b2
httplib2==0.7.7
import-utils==0.0.1
iniparse==0.4
kombu==2.5.14
lockfile==0.9.1
longerusername==0.4
lxml==3.2.3
markdown2==2.1.0
multi-registry==0.0.2
nose==1.3.0
oauth2==1.5.211
policycoreutils-default-encoding==0.1
psycopg2==2.5.1
pycrypto==2.6
pycurl==7.19.0
pygpgme==0.3
pyliblzma==0.5.3
pystache==0.5.3
python-daemon==1.6
python-dateutil==1.5
python-openid==2.2.5
python-wordpress-xmlrpc==1.5
pytz==2012d
pyxattr==0.5.1
recaptcha-client==1.0.6
rpm-python==4.11.1
sanction==0.1.4
sepolicy==1.1
simplejson==3.2.0
six==1.4.1
urlgrabber==3.9.1
versiontools==1.9.1
wsgiref==0.1.2
yum-metadata-parser==1.1.4
Some of the package version restrictions in askbot have been removed for rpm packaging. |
2013-10-27 07:40:56 -0500 | commented question | object.__init__() takes no parameters @Fitoria : sorry, was tied up, will get you a pip freeze. @Evgeny nope, am running it in a fresh chroot, no other installs. |
2013-10-27 07:40:37 -0500 | answered a question | object.__init__() takes no parameters @Fitoria : sorry, was tied up, will get you a pip freeze. @Evgeny nope, am running it in a fresh chroot, no other installs. |
2013-10-15 09:11:40 -0500 | received badge |
Organizer
(source)
|
2013-10-15 08:43:19 -0500 | commented question | ImportError: cannot import name strip_tags rpm -qa |grep Django
Django14-1.4.8-1.el6.noarch |
2013-10-15 08:36:13 -0500 | asked a question | ImportError: cannot import name strip_tags hi, I am trying to package askbot 0.7.49 for epel/fedora. I get the following error while running.. cannot import name strip_tags
Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x2877650>>
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/core/management/commands/runserver.py", line 91, in inner_run
self.validate(display_num_errors=True)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.6/site-packages/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line 67, in _populate
self.load_app(app_name)
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/lib/python2.6/site-packages/askbot/models/__init__.py", line 39, in <module>
from askbot.models.question import Thread
File "/usr/lib/python2.6/site-packages/askbot/models/question.py", line 27, in <module>
from askbot.models.post import Post, PostRevision
File "/usr/lib/python2.6/site-packages/askbot/models/post.py", line 35, in <module>
from askbot.utils import markup
File "/usr/lib/python2.6/site-packages/askbot/utils/markup.py", line 11, in <module>
from askbot.utils.html import strip_tags
ImportError: cannot import name strip_tags
|
2013-10-15 06:47:56 -0500 | received badge |
Enthusiast
|
2013-10-14 12:49:16 -0500 | asked a question | object.__init__() takes no parameters hi, I am trying to do a build of 0.7.49 in fedora rpm. I get the following error when running setup after the rpm build.. <mock-chroot>[root@apps-fp-oi-00000340 /]# askbot-setup
Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org
To CANCEL - hit Ctr-C at any time
Enter directory path (absolute or relative) to deploy
askbot. To choose current directory - enter "."
> /opt
Please select database engine:
1 - for postgresql, 2 - for sqlite, 3 - for mysql, 4 - oracle (type 1/2/3/4)
> 2
Please enter database file name
> w
Copying files:
* __init__.py
* manage.py
* urls.py
* django.wsgi
Creating settings file
Traceback (most recent call last):
File "/usr/bin/askbot-setup", line 9, in <module>
load_entry_point('askbot==0.7.49', 'console_scripts', 'askbot-setup')()
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 126, in askbot_setup
deploy_askbot(options_dict)
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 186, in deploy_askbot
context=options
File "/usr/lib/python2.7/site-packages/askbot/deployment/path_utils.py", line 192, in deploy_into
settings_contents = SettingsTemplate(context).render()
File "/usr/lib/python2.7/site-packages/askbot/deployment/template_loader.py", line 13, in __init__
super(SettingsTemplate, self).__init__(context=context, **kwargs)
TypeError: object.__init__() takes no parameters
The same works fine on epel-6 build. is it a python2.6 vs 2.7 issue? reference srpm - http://koji.fedoraproject.org/koji/taskinfo?taskID=6059424 |
2013-10-14 12:47:44 -0500 | asked a question | object.__init__() takes no parameters (deployment) hi, I am trying to do a build of 0.7.49 in fedora rpm. I get the following error when running setup after the rpm build.. <mock-chroot>[root@apps-fp-oi-00000340 /]# askbot-setup
Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org
To CANCEL - hit Ctr-C at any time
Enter directory path (absolute or relative) to deploy
askbot. To choose current directory - enter "."
> /opt
Please select database engine:
1 - for postgresql, 2 - for sqlite, 3 - for mysql, 4 - oracle (type 1/2/3/4)
> 2
Please enter database file name
> w
Copying files:
* __init__.py
* manage.py
* urls.py
* django.wsgi
Creating settings file
Traceback (most recent call last):
File "/usr/bin/askbot-setup", line 9, in <module>
load_entry_point('askbot==0.7.49', 'console_scripts', 'askbot-setup')()
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 126, in askbot_setup
deploy_askbot(options_dict)
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 186, in deploy_askbot
context=options
File "/usr/lib/python2.7/site-packages/askbot/deployment/path_utils.py", line 192, in deploy_into
settings_contents = SettingsTemplate(context).render()
File "/usr/lib/python2.7/site-packages/askbot/deployment/template_loader.py", line 13, in __init__
super(SettingsTemplate, self).__init__(context=context, **kwargs)
TypeError: object.__init__() takes no parameters
The same works fine on epel-6 build. is it a python2.6 vs 2.7 issue? |
2013-09-28 08:02:59 -0500 | commented question | there is a bug in askbot, if you press f5 key the view count increment indefinitely? @suhail like @apg said, you should open a separate question for that issue. |
2013-09-28 07:56:07 -0500 | commented answer | Three different domains for js,css and images @Fitoria if there could be something like STATIC_JS_URL , STATIC_CSS_URL and STATIC_IMG_URL with default values being STATIC_URL, makes sense? |
2013-09-28 07:54:19 -0500 | commented question | there is a bug in askbot, if you press f5 key the view count increment indefinitely? @apg agreed. Don't know if askbot has any such abuse prevention.. |
2013-09-26 22:32:36 -0500 | commented answer | feedback causing error 500 @Fitoria great, will try this out. Thanks! |
2013-09-26 12:44:43 -0500 | commented answer | Three different domains for js,css and images @Fitoria I am using STATIC_URL but that sets all static urls to just one another domain. I want something like js being loaded from a.com and css from b.com and images from c.com |
2013-09-26 08:20:56 -0500 | received badge |
Student
(source)
|
2013-09-26 06:39:04 -0500 | commented question | there is a bug in askbot, if you press f5 key the view count increment indefinitely? well, f5 is refreshing the page and each page refresh is a new view, ain't it? |
2013-09-26 05:55:32 -0500 | asked a question | Three different domains for js,css and images hi, I want to host my different types of static files on different domains. I have all the static files from domain other than the main askbot domain but I want to break it down to three different domains by type to increase parallel download. How can I do it in django / askbot settings.py ? |
2013-09-24 23:42:57 -0500 | received badge |
Editor
(source)
|
2013-09-24 16:04:34 -0500 | asked a question | feedback causing error 500 hi, https ask fedoraproject org/feedback/ gives an internal server error when submitted, it works fine on staging though. ( https ask stg fedoraproject org/feedback/ ) The server logs give the following: mod_wsgi (pid=23966): Exception occurred processing WSGI script '/usr/sbin/askbot.wsgi'.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 272, in __call__
response = self.get_response(request)
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 218, in handle_uncaught_exception
return callback(request, **param_dict)
File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/django/views/defaults.py", line 31, in server_error
return http.HttpResponseServerError(t.render(Context({})))
File "/usr/lib/python2.6/site-packages/coffin/template/__init__.py", line 54, in render
return super(Template, self).render(**context)
File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 669, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python2.6/site-packages/askbot/templates/500.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/usr/lib/python2.6/site-packages/askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/usr/lib/python2.6/site-packages/askbot/templates/base.html", line 4, in top-level template code
<title>{% block title %}{% endblock %} - {{ settings.APP_TITLE|escape }}</title>
File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 350, in getattr
return getattr(obj, attribute)
UndefinedError: 'settings' is undefined
The settings are all same in staging and prod as much as I can say. Any insight into it will be appreciated. https fedorahosted org/fedora-infrastructure/ticket/4012 |