GithubHelp home page GithubHelp logo

askbot / askbot-devel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osqa/osqa

1.6K 1.6K 625.0 89.06 MB

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com

License: Other

Python 56.54% Shell 0.02% Makefile 0.10% HTML 7.63% CSS 4.68% JavaScript 22.94% PLSQL 0.34% Batchfile 0.09% Dockerfile 0.06% SCSS 7.07% Jinja 0.53%
django forums python questions-and-answers

askbot-devel's People

Contributors

b1uebyte avatar boxydog avatar byroncorrales avatar chagel avatar czpython avatar dekomote avatar evgenyfadeev avatar fitoria avatar garetjax avatar hrcerqueira avatar jbofill avatar keto avatar mamoutkine avatar martin-bts avatar n3ssi3 avatar ratson avatar razum2um avatar rickross avatar rosihorrorshow avatar sagarun avatar sailingcai avatar sebastian-philipp avatar tomaszzielinski avatar tszynalski avatar turian avatar vvangelovski avatar vxsx avatar xponrails avatar yuttadhammo avatar zulupro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

askbot-devel's Issues

Google OpenID 2.0 authentication deprecated

Google has closed its OpenID 2.0 implementation to new hosts, which breaks the ability to use it for new installations of Askbot: https://developers.google.com/+/api/auth-migration#timetable

I believe the necessary action is to change to using the Google+ sign-in system: https://developers.google.com/+/api/auth-migration#oid2

Or apparently without using the Google+ system which they allude to by saying "You can still hand roll your integration to Google using the OpenID Connect protocol if you prefer" here: http://googledevelopers.blogspot.co.uk/2014/02/welcome-openid-connect.html

Askbot with Django 1.5 SESSION_SERIALIZER issue

Hello, I managed to run the askbot within my application run by django 1.5.4
the issue am having is whenever I try to add a question, I get an error
unless I comment the line :
ESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
in settings,

Error:

Request Method: GET
Request URL: http://127.0.0.1:8000/support/question/2/dddddddddddddddddddddddddddddddd/

Django Version: 1.5.4
Python Version: 2.7.2
Installed Applications:
['longerusername',
'account',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_admin_bootstrapped',
'django.contrib.admin',
'django.contrib.humanize',
'shared',
'website',
'compressor',
'askbot',
'askbot.deps.django_authopenid',
'south',
'askbot.deps.livesettings',
'keyedcache',
'robots',
'django_countries',
'djcelery',
'djkombu',
'followit',
'tinymce',
'group_messaging']
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware',
'askbot.middleware.forum_mode.ForumModeMiddleware',
'askbot.middleware.cancel.CancelActionMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'askbot.middleware.view_log.ViewLogMiddleware',
'askbot.middleware.spaceless.SpacelessMiddleware')

Traceback:
File "/Users/hacko/Documents/workspace/env/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1.             response = middleware_method(request, response)
    
    File "/Users/hacko/Documents/workspace/env/lib/python2.7/site-packages/django/contrib/sessions/middleware.py" in process_response
  2.                 request.session.save()
    
    File "/Users/hacko/Documents/workspace/env/lib/python2.7/site-packages/django/contrib/sessions/backends/db.py" in save
  3.         session_data=self.encode(self._get_session(no_load=must_create)),
    
    File "/Users/hacko/Documents/workspace/env/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py" in encode
  4.     serialized = self.serializer().dumps(session_dict)
    
    File "/Users/hacko/Documents/workspace/env/lib/python2.7/site-packages/django/core/signing.py" in dumps
  5.     return json.dumps(obj, separators=(',', ':')).encode('latin-1')
    
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py" in dumps
  6.     **kw).encode(obj)
    
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py" in encode
  7.     chunks = self.iterencode(o, _one_shot=True)
    
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py" in iterencode
  8.     return _iterencode(o, 0)
    
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py" in default
  9.     raise TypeError(repr(o) + " is not JSON serializable")
    

Exception Type: TypeError at /support/question/2/dddddddddddddddddddddddddddddddd/
Exception Value: datetime.datetime(2013, 10, 21, 9, 51, 17, 453020) is not JSON serializable

Jinja2 required ?

Hi,
Is it me or this error:

ImportError: cannot import name open_if_exists

can be fixed with an installation of Jinja2?

Database error since tag.py have been changed

Using branch master, here's the traceback:

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/questions/

Django Version: 1.5
Python Version: 2.7.6
Installed Applications:
('longerusername',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.humanize',
 'django.contrib.sitemaps',
 'django.contrib.messages',
 'compressor',
 'askbot',
 'askbot.deps.django_authopenid',
 'south',
 'askbot.deps.livesettings',
 'keyedcache',
 'robots',
 'django_countries',
 'djcelery',
 'djkombu',
 'followit',
 'tinymce',
 'group_messaging')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware',
 'askbot.middleware.forum_mode.ForumModeMiddleware',
 'askbot.middleware.cancel.CancelActionMiddleware',
 'django.middleware.transaction.TransactionMiddleware',
 'askbot.middleware.view_log.ViewLogMiddleware',
 'askbot.middleware.spaceless.SpacelessMiddleware')


Traceback:
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/core/handlers/base.py" in get_response
  115.                         response = callback(request, *callback_args, **callback_kwargs)
File "/media/home/ben/Documents/Ordi/Webdev/DjangoAskbot/askbot-devel-pull-request/foundation/askbot/views/readers.py" in questions
  112.                         ignored_tag_names=meta_data.get('ignored_tag_names',[])
File "/media/home/ben/Documents/Ordi/Webdev/DjangoAskbot/askbot-devel-pull-request/foundation/askbot/models/tag.py" in get_related_to_search
  170.         return list(tags[:50])
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/models/query.py" in __len__
  92.             self._result_cache.extend(self._iter)
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/models/query.py" in _safe_iterator
  344.             for item in iterator:
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/models/query.py" in iterator
  301.         for row in compiler.results_iter():
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/models/sql/compiler.py" in results_iter
  775.         for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/models/sql/compiler.py" in execute_sql
  840.         cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/backends/util.py" in execute
  41.             return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py" in execute
  58.             six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2])
File "/usr/local/lib/python2.7/dist-packages/Django-1.5.5-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py" in execute
  54.             return self.cursor.execute(query, args)

Exception Type: DatabaseError at /questions/
Exception Value: column tag.language_code does not exist
LINE 1: ... "tag"."id", "tag"."name", "tag"."created_by_id", "tag"."lan...
                                                             ^

Translation in django.po doesn't match string in models/__init__.py

In the file https://github.com/ASKBOT/askbot-devel/blob/master/askbot/locale/en/LC_MESSAGES/django.po#L3987 there's the string

#: models/__init__.py:2056
#, python-format
msgid ""
"New users must wait %(days)s before answering their own question.  You can "
"post an answer %(left)s"
msgstr ""

Which seems to should translate the according line models/init.py. But that string is out of date since 414a8ee and therefore is not translated correctly in not-english languages.

I have also seen some other cases where I think the translation files are some levels behind the actual code. But since the translation work is done in transifex and I suppose that transifex somehow relies on the english strings, I don't know what to do.
Is it enough to just edit the django.pofile and send a merge request?

Typical Askbot deployment contains three copies of tinymce, two of which are not used

This...seems sub-optimal. See https://bugzilla.redhat.com/show_bug.cgi?id=1000735#c10 .

Why does askbot ship with a copy of tinymce in one place, and then use the django staticfiles mechanism to copy it somewhere else when collectstatic is run? If you're going to bundle a modified copy of tinymce, why not just put it in the correct location in the first place, so you don't have to have it copied from the 'wrong' place to the 'right' place as part of 'collectstatic'? And it would probably be a good idea to stop including python-django-tinymce's own copy of tinymce and then doing nothing at all with it.

Add tracking(visual notification) of personally viewed questions

This is convenient when browsing questions either to find one you remember viewing in the past, or if you're looking to answer questions to find new ones if you've resorted.

Right now you can't even rely on your browser to highlight links you have previously visited with purple instead of blue.

Extra <p> tags in the profile page

Hi,
On the Askbot instance I run (master branch of askbot-devel), <p> tags surround the description that users write on their profile page. See here:
http://qr.microalg.info/utilisateurs/1/profgra/
The <p> tags are visible because they are escaped &lt;p&gt;. Stange.

I asked a question here:
http://askbot.org/en/question/12604/extra-p-html-tags-added-in-the-profile-page/
And then another user told his story: he faced a quite similar problem, but with links. a closing </p> tag is appended and makes the link unusable.

Thanks for your attention!

MANDATORY_TAGS is limited to 255 characters

Since ´MANDATORY_TAGS´ is stored in ´livesettings_setting´ and the ´value´ column of that table is ´character varying(255)´, you can only set mandatory tags until 255 character limit is reached. No warning about this is provided in settings UI, and Django returns an error.

I think this setting should be moved to ´livesettings_longsetting´ since 255 chars is way too low.

User editing broken in admin

When attempting to make any changes to a user account from the admin an exception with a message similar to the following occurs:

update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_e728db87" on table "askbot_groupmembership"
DETAIL: Key (id)=(1) is still referenced from table "askbot_groupmembership".

According to Evgeney:

The askbot_groupmembership table contains "membership level" and a link to a row in the auth_user_groups - which is the bridge table between the auth_user and auth_group. The auth_user_groups does not correspond to any model in the countrib.auth app, but is created for the ManyToMany User.groups field.

That issue may be addressed on handling the "m2m_changed" signal with the "pre_delete" argument, but it is hard to guarantee without trying by deleting the membership and simply editing the user record via the django admin.

http://askbot.org/en/question/9813/integrityerror-when-updating-user/
http://askbot.org/en/question/11959/unable-to-add-a-user-as-a-moderator-using-the-admin-portal/
http://askbot.org/en/question/11848/anyone-else-see-update-user-in-admin-causing-errors/

Sessions not invalidated after password reset.

This vulnerability can cause problems if an account is compromised and
the user requests a new password to protect his data and account.

Because after changing the password, using the recovery form, all
existing sessions aren't destroyed or invalidated, the attacker can
still use the victim's account, even if he doesn't know the password
anymore.

In this situation, the scenario where for an account can exist two
different sessions created with two different passwords can be possible.

If you consider this issue important, we'll try to send a pull request quickly.

Yours respectfully,
Alex

Cannot translate "Save" button in settings

I'm not able to translate the Save button visible in the bottom of settings screen (i.e. in http://example.com/settings/MIN_REP/)
I've translated all occurrences of "Save" string in django.po and djangojs.po, compiled messages, cleared cache, restarted webserver and I still see "Save" button instead of localized name.
Translation of other strings works good.

Add the ability to flag a comment

This is a hole in the reporting mechanism for spam such that if a spammer just starts adding links in comments they cannot be flagged w/o flagging a valid answer or question.

Can't connect to askbot when language is set to french

I've just installed the askbot app from pypi, it works fine when I'm using it in english, but when I set in settings.py:

LANGUAGE_CODE = 'fr'

Nothing happens when I try to connect my user(connection via google accounts), if I come back to english, evreything works fine.

localized urls

Currently if i am switching askbot to russian language - all URLs become russian, for example "mysite.com/вопросы"

how can i disable this part of localisation? i want it to stay "mysite.com/questions"

Unvalidated redirect

On the login page in URL we can see the parameter next which has default value /.
But if I send you the following link: askbot/account/signin/?next=//google.ro and you log in you will be redirected to google.ro

This vulnerability is called Unvalidated redirect and it can be used to send the users to a fake page, which can look exactly like askbot/account/signin/ in order to steal the password. More information here: https://www.owasp.org/index.php/Unvalidated_Redirects_and_Forwards_Cheat_Sheet

If you consider this issue important, we'll try to send a pull request quickly.

Yours respectfully,
Alex

duplicate text on closed questions

The explanation of a closed question has duplicate text. E.g., the text on a recently closed question at ask.sagemath.org is:

Closed for the following reason spam or advertising by Closed for the following reason "spam or advertising" by calc314
close date 2014-07-22 07:34:40.192207

If-missing else in template

In commit 7ee5ff9 in file askbot/templates/question/closed_question_info.html there is was an if deleted but the companion-else remained there. Thus, when I closed a question, the template couldn't be rendered and django exploded.

My hotfix was to replace the else with an if False, but I don't think that anybody else should do this.

Authentication issue when deploy askbot to subdirectory and enable private mode at the sametime

(I posted this on the forum but got no answer, so I'm trying to fire an issue ticket here)

Recently I've moved my Askbot instance to a subdirectory of Apache (myhost.com/qa). However, when I enable private forum mode ( Admin > Access control settings > Allow only registered user to access the forum = True ). I couldn't access the website.

For every page I tried to access, it redirects me to 404 not found page. It seems to me that the login page /qa/account/signin/?next=/qa/ is somehow protected from unauthorized users. My guest is when develop the subdirectory mode, somehow the login page is not taken into account.

Is this an issues? Is there any workaround?
My Askbot version is 0.7.48

Askbot sets TINYMCE_URL, but python-django-tinymce expects TINYMCE_JS_URL

I may be missing something here, but I don't think so.

Askbot's sample configs specify a Django config setting "TINYMCE_URL", and there's a (fairly idiotic) check in startup_procedures.py which checks that this is set to what Askbot believes is the One True Value It Can Possibly Be and complains if it isn't.

However, AFAICT, python-django-tinymce does not use this setting at all. It expects a setting TINYMCE_JS_URL , which points not to the directory but to the file tiny_mce.js . It then derives a JS_BASE_URL setting from this. But AFAICS it doesn't do anything with a setting called TINYMCE_URL.

I think this has probably been hidden in most deployments because you also turn the compressor on and specify TINYMCE_JS_ROOT, and I think in that case, the setting is unimportant so long as python-django-tinymce's compressor function works. But it's still wrong and will lead to the wrong thing happening if the compressor doesn't work for any reason, I think - python-django-tinymce's bundled tinymce, assuming the copy installed on the server has one, will be used instead of askbot's.

RFE: Support video answers

Video answers from an external source like Youtube would be useful. Many Q&A sites could enrich their content with nice videotutorials addressing questions. Embedded HTML would work, but it would only allow to embed Youtube code. A button in the editor prompting for video URL may suffice.

Note: This has not to be a default, just needed (or wanted) for some sites.

Latest master allows case-variant tags

I've got the latest master checked out, with the sqlite3 backend (for convenience), using runserver in debug mode. I'm able to ask a question and create tags that are case-variants. Currently I have one question tagged with both 'excitement' and 'EXCITEMENT', and another tagged with both 'tag' and 'TAG'.

Reputation limit for editing wiki posts is not respected by render_post_controls()

The javascript function render_post_controls on question page only checks if user reputation is less than settings.MIN_REP_TO_EDIT_OTHERS_POSTS before removing the edit button. So if user has enough reputation to edit wiki posts, but not enough to edit any post, the edit button is still removed from a wiki post.

I have a simple patch for this, but before I make the pull request I'd like to know what is the actual point of that javascript function? Wouldn't it be easier and cleaner to just do those checks on the template layer?

Activity.receiving_users

There is a ManyToManyField on Activity to User called receiving_users. It is completely unused. A search for it in the code base outside of the migrations yields no results. Its related_name, received_activity, also yields no results.

Activity also has a ManyToManyField to User called recipients, which has presumably taken its place.

Unless receiving_users has a function I'm not aware of, it should be removed.

Add validator to title thread

If you create a thread and this title does not contain any letter, something like this:

"?????????"

When you click in "View on site", you get a redirection error.

The title of the thread needs check the slugify of the title is not a empty string.

403 error on personal message form

Hello,

I uncommented the lines for the personal message form in this line.

When composing a message, I get a 403 error. This is due to the form not passing the csrf token to the view, I would submit a pr but my js skills are don't seem to cut it here 😄

OAuth Authentication

I have deployed my own Askbot instance, after created the admin account I have looked into the "Login provider setting" and found lots of authentication providers with uses OAuth.

But did not find anywhere a generic setting for my private OAuth system.
If possible I would like to know if Askbot support OAuth or I have to implement it in the code?

Appreciate, in advance, your help! Thanks

"undefined must have > 10 characters" in master branch.

On my Askbot site, entering fewer than ten characters in the "Please enter your question" form field results in an error message reading, "undefined must have > 10 characters."

This problem exists in the master branch, not in the latest tagged release (0.7.49). In the latest tagged release, the string "question must have > %s characters" is hardcoded. In the master branch, however, the string reads "%(question)s must have > %(length)s characters". The code attempts to draw the value of "question" from from askbot['messages']['questionSingular'], which is injected into the context via the WORDS_QUESTION_SINGULAR livesetting. The problem is, askbot['messages']['questionSingular'] is defined in the "endjs" block of the "main_page.html" template, and the "ask.html" template neither extends nor includes "main_page.html," so it doesn't have access to this value - hence, "undefined must have > 10 characters."

Unhandeled Exception on large Karma values

If a site admin wants to give a user 10000000000 karma points, there comes

Unhandled Exception
An unhandled exception was thrown by the application.

(in production).

Race condition in instant notification sending.

I might be wrong about this, because this particular code path is obfuscated under so much old, half-transitioned legacy junk, but the sending of instant update notification emails seems to create a race condition.

On Post save, the post_updated signal is received by record_post_update_activity in models.__init__, which then queues a celery task, record_post_update_celery_task. record_post_update_celery_task calls Post.get_updated_activity_data, which may call Post.get_latest_revision... which just returns the most recently created PostRevision object for the Post in question.

What if record_post_update_celery_task gets queued, then another revision is created before it has a chance to run? When it eventually calls Post.get_latest_revision, it will be working with the wrong PostRevision object.

assert(login_provider_name is not None) when LANGUAGE_CODE=es

I'm getting an AssertError when trying to register locally at

http://localhost:1234/cuenta/registrar/?login_provider=local

ONLY WHEN THE LANGUAGE_CODE IS NOT ENGLISH. It works fine in english but not in spanish.

AssertionError at /cuenta/registrar/
No exception supplied
Request Method: GET
Request URL: http://localhost:1234/cuenta/registrar/?login_provider=local
Django Version: 1.4.5
Exception Type: AssertionError
Exception Location: /Library/Python/2.7/site-packages/askbot/deps/django_authopenid/views.py in register, line 973
Python Executable: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python Version: 2.7.3
Python Path:
['/Users/gaba/Code/data/charla_dev',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.2-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/South-0.8.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Coffin-0.3.8-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lamson-1.3.4-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_celery-3.0.11-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Unidecode-0.04.13-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/markdown2-2.1.0-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_threaded_multihost-1.4_1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Jinja2-2.7-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pytz-2013b-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_compressor-1.2-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_robots-0.9.2-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_picklefield-0.3.0-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_openid-2.2.5-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/akismet-0.2.0-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_countries-1.0.5-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_kombu-0.9.4-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_tinymce-1.5.1b2-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_followit-0.0.3-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/html5lib-0.90-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_recaptcha_works-0.3.4-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/longerusername-0.4-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sanction-0.3.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pystache-0.3.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/beautifulsoup4-4.2.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_modargs-1.7-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_daemon-1.6-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/chardet-2.1.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/celery-3.0.21-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/MarkupSafe-0.18-py2.7-macosx-10.8-x86_64.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_appconf-0.6-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/six-1.3.0-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lockfile-0.9.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kombu-2.5.12-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_dateutil-2.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/billiard-2.7.3.31-py2.7-macosx-10.8-x86_64.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/amqp-1.0.12-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/anyjson-0.3.3-py2.7.egg',
'/Library/Python/2.7/site-packages/PyYAML-3.10-py2.7-macosx-10.8-intel.egg',
'/Library/Python/2.7/site-packages/feedparser-5.1.3-py2.7.egg',
'/Library/Python/2.7/site-packages/pyshp-1.1.4-py2.7.egg',
'/Library/Python/2.7/site-packages',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/askbot-0.7.48-py2.7.egg',
'/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages',
'/Library/Python/2.7/site-packages/askbot/deps']
Server time: Vie, 26 Jul 2013 19:01:38 -0500
Traceback Switch to copy-and-paste view

/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py in get_response
response = callback(request, _callback_args, *_callback_kwargs) ...
▶ Local vars
/Library/Python/2.7/site-packages/askbot/deps/django_authopenid/views.py in decorated
return func(request, _args, _kwargs) ...
▶ Local vars
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/utils/decorators.py in _wrapped_view
response = view_func(request, _args, _kwargs) ...
▼ Local vars
Variable Value
e
AssertionError()
middleware
<django.middleware.csrf.CsrfViewMiddleware object at 0x10af34bd0>
args
()
request
'<WSGIRequest\npath:/cuenta/registrar/,\nGET:<QueryDict: {u'login_provider': [u'local']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'_chartbeat2': 'zcky8901cpyh57u1.1374527668484.1374621592786.11',\n 'csrf': 'TzrlhRmHmsQdntXUlCzY8eDDiS589F7J',\n 'politwoops_session': 'BAh7ByIQX2NzcmZfdG9rZW4iMWxKTjB3eEw0Y29ON084N21lSk95em0yQlJXMW5UV2dIbUc2Yk1GVmFaNzQ9Ig9zZXNzaW9uX2lkIiVhOTcyMmJlOTU2NWI5ZTcwMTdhZmQzMTMzY2JlYmE5OA%3D%3D--3d800d41c607584ce343d0a12922db7cbd31f021',\n 'askbot_visitor': 'False',\n 'sessionid': '565bfc40d18498a7d3787ef337df989e'},\nMETA:{'Apple_PubSub_Socket_Render': '/tmp/launch-pLj9j1/Render',\n 'Apple_Ubiquity_Message': '/tmp/launch-VAlyJw/Apple_Ubiquity_Message',\n 'CDPATH': '.:/Users/gaba:/Users/gaba/Code',\n 'CELERY_LOADER': 'djcelery.loaders.DjangoLoader',\n 'COLORFGBG': '7;0',\n 'COMMAND_MODE': 'unix2003',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'CSRF_COOKIE': 'TzrlhRmHmsQdntXUlCzY8eDDiS589F7J',\n 'DISPLAY': '/tmp/launch-nUmHmt/org.macosforge.xquartz:0',\n 'DJANGO_SETTINGS_MODULE': 'charla_dev.settings',\n 'EDITOR': 'vim',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'GEM_HOME': '/Users/gaba/.rvm/gems/ruby-1.9.3-p194',\n 'GEM_PATH': '/Users/gaba/.rvm/gems/ruby-1.9.3-p194:/Users/gaba/.rvm/gems/ruby-1.9.3-p194@global',\n 'GIT_PS1_SHOWDIRTYSTATE': '1',\n 'HISTIGNORE': '&:[bf]g:c:exit',\n 'HOME': '/Users/gaba',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': '_politwoops_session=BAh7ByIQX2NzcmZfdG9rZW4iMWxKTjB3eEw0Y29ON084N21lSk95em0yQlJXMW5UV2dIbUc2Yk1GVmFaNzQ9Ig9zZXNzaW9uX2lkIiVhOTcyMmJlOTU2NWI5ZTcwMTdhZmQzMTMzY2JlYmE5OA%3D%3D--3d800d41c607584ce343d0a12922db7cbd31f021; _chartbeat2=zcky8901cpyh57u1.1374527668484.1374621592786.11; askbot_visitor=False; sessionid=565bfc40d18498a7d3787ef337df989e; csrf=TzrlhRmHmsQdntXUlCzY8eDDiS589F7J',\n 'HTTP_HOST': 'localhost:1234',\n 'HTTP_REFERER': 'http://localhost:1234/cuenta/sign-in/?next=/\',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36',\n 'IRBRC': '/Users/gaba/.rvm/rubies/ruby-1.9.3-p194/.irbrc',\n 'ITERM_PROFILE': 'Default',\n 'ITERM_SESSION_ID': 'w0t0p0',\n 'LANG': 'en_US.UTF-8',\n 'LC_ALL': 'en_GB.UTF-8',\n 'LC_CTYPE': 'en_GB.UTF-8',\n 'LOGNAME': 'gaba',\n 'MANPAGER': 'bash -c "vim -MRn -c \"set ft=man nomod nolist nospell nonu\" \\n-c \"nm q :qa!\" -c \"nm G\" -c \"nm gg\"</dev/tty <(col -b)"',\n 'MY_RUBY_HOME': '/Users/gaba/.rvm/rubies/ruby-1.9.3-p194',\n 'OLDPWD': '/Users/gaba/Code/data/askbot-devel',\n 'PATH': '/Users/gaba/.rvm/gems/ruby-1.9.3-p194/bin:/Users/gaba/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/gaba/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/gaba/.rvm/bin:/Users/gaba/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Users/gaba/bin',\n 'PATH_INFO': u'/cuenta/registrar/',\n 'PS1': '\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1) - \[\033[01;34m\]\$\[\033[00m\] ',\n 'PWD': '/Users/gaba/Code/data/charla_dev',\n 'QUERY_STRING': 'login_provider=local',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUBYLIB': '/Users/gaba/lib/ruby:/Users/gaba/lib/site_ruby/1.8',\n 'RUBYOPT': 'rubygems Ilib Itest Ispec',\n 'RUBY_GC_MALLOC_LIMIT': '50000000',\n 'RUBY_HEAP_MIN_SLOTS': '500000',\n 'RUBY_HEAP_SLOTS_GROWTH_FACTOR': '1',\n 'RUBY_HEAP_SLOTS_INCREMENT': '250000',\n 'RUBY_VERSION': 'ruby-1.9.3-p194',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '1.0.0.127.in-addr.arpa',\n 'SERVER_PORT': '1234',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/zsh',\n 'SHLVL': '3',\n 'SSH_AUTH_SOCK': '/tmp/launch-BT5no8/Listeners',\n 'TERM': 'screen-256color',\n 'TERM_PROGRAM': 'iTerm.app',\n 'TMPDIR': '/var/folders/1n/mtylypx96nv6l0hrzc3mwcvh0000gn/T/',\n 'TMUX': '/var/folders/1n/mtylypx96nv6l0hrzc3mwcvh0000gn/T//tmux-501/default,1418,0',\n 'TMUX_PANE': '%9',\n 'TZ': 'America/Chicago',\n 'USER': 'gaba',\n 'VISUAL': 'vim',\n '': '/usr/local/bin/python',\n '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',\n '__array_start': '0',\n '_first': '0',\n 'second': '1',\n 'escape_flag': '1',\n 'rfind': '() { local target="$1" cwd="$PWD";\n [[ -n "$target" ]] || { \n echo "ERROR: missing target" 1>&2;\n return 1\n };\n while [[ -n "$cwd" ]]; do\n if [[ -e "$cwd"/"$target" ]]; then\n echo "$cwd"/"$target";\n return 0;\n fi;\n cwd="${cwd%/}";\n done;\n return 1\n}',\n 'rvm_alias_expanded': '',\n 'rvm_bin_path': '/Users/gaba/.rvm/bin',\n 'rvm_docs_type': '',\n 'rvm_gemstone_package_file': '',\n 'rvm_gemstone_url': '',\n 'rvm_niceness': '',\n 'rvm_nightly_flag': '',\n 'rvm_path': '/Users/gaba/.rvm',\n 'rvm_prefix': '/Users/gaba',\n 'rvm_proxy': '',\n 'rvm_quiet_flag': '',\n 'rvm_ruby_file': '',\n 'rvm_ruby_make': '',\n 'rvm_ruby_make_install': '',\n 'rvm_ruby_mode': '',\n 'rvm_script_name': '',\n 'rvm_sdk': '',\n 'rvm_silent_flag': '',\n 'rvm_version': '1.15.8 (stable)',\n 'rvm_wrapper_name': '',\n 'wsgi.errors': <open file '', mode 'w' at 0x10a268270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x10ace7b48>,\n 'wsgi.input': <socket._fileobject object at 0x10cbaba50>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>'
result
None
kwargs
{}
view_func
<function register at 0x10c9a32a8>
/Library/Python/2.7/site-packages/askbot/deps/django_authopenid/views.py in register
assert(login_provider_name is not None) ...
▼ Local vars
Variable Value
username
''
request
'<WSGIRequest\npath:/cuenta/registrar/,\nGET:<QueryDict: {u'login_provider': [u'local']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'_chartbeat2': 'zcky8901cpyh57u1.1374527668484.1374621592786.11',\n '_csrf': 'TzrlhRmHmsQdntXUlCzY8eDDiS589F7J',\n 'politwoops_session': 'BAh7ByIQX2NzcmZfdG9rZW4iMWxKTjB3eEw0Y29ON084N21lSk95em0yQlJXMW5UV2dIbUc2Yk1GVmFaNzQ9Ig9zZXNzaW9uX2lkIiVhOTcyMmJlOTU2NWI5ZTcwMTdhZmQzMTMzY2JlYmE5OA%3D%3D--3d800d41c607584ce343d0a12922db7cbd31f021',\n 'askbot_visitor': 'False',\n 'sessionid': '565bfc40d18498a7d3787ef337df989e'},\nMETA:{'Apple_PubSub_Socket_Render': '/tmp/launch-pLj9j1/Render',\n 'Apple_Ubiquity_Message': '/tmp/launch-VAlyJw/Apple_Ubiquity_Message',\n 'CDPATH': '.:/Users/gaba:/Users/gaba/Code',\n 'CELERY_LOADER': 'djcelery.loaders.DjangoLoader',\n 'COLORFGBG': '7;0',\n 'COMMAND_MODE': 'unix2003',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'CSRF_COOKIE': 'TzrlhRmHmsQdntXUlCzY8eDDiS589F7J',\n 'DISPLAY': '/tmp/launch-nUmHmt/org.macosforge.xquartz:0',\n 'DJANGO_SETTINGS_MODULE': 'charla_dev.settings',\n 'EDITOR': 'vim',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'GEM_HOME': '/Users/gaba/.rvm/gems/ruby-1.9.3-p194',\n 'GEM_PATH': '/Users/gaba/.rvm/gems/ruby-1.9.3-p194:/Users/gaba/.rvm/gems/ruby-1.9.3-p194@global',\n 'GIT_PS1_SHOWDIRTYSTATE': '1',\n 'HISTIGNORE': '&:[bf]g:c:exit',\n 'HOME': '/Users/gaba',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,/
;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': '_politwoops_session=BAh7ByIQX2NzcmZfdG9rZW4iMWxKTjB3eEw0Y29ON084N21lSk95em0yQlJXMW5UV2dIbUc2Yk1GVmFaNzQ9Ig9zZXNzaW9uX2lkIiVhOTcyMmJlOTU2NWI5ZTcwMTdhZmQzMTMzY2JlYmE5OA%3D%3D--3d800d41c607584ce343d0a12922db7cbd31f021; _chartbeat2=zcky8901cpyh57u1.1374527668484.1374621592786.11; askbot_visitor=False; sessionid=565bfc40d18498a7d3787ef337df989e; csrf=TzrlhRmHmsQdntXUlCzY8eDDiS589F7J',\n 'HTTP_HOST': 'localhost:1234',\n 'HTTP_REFERER': 'http://localhost:1234/cuenta/sign-in/?next=/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36',\n 'IRBRC': '/Users/gaba/.rvm/rubies/ruby-1.9.3-p194/.irbrc',\n 'ITERM_PROFILE': 'Default',\n 'ITERM_SESSION_ID': 'w0t0p0',\n 'LANG': 'en_US.UTF-8',\n 'LC_ALL': 'en_GB.UTF-8',\n 'LC_CTYPE': 'en_GB.UTF-8',\n 'LOGNAME': 'gaba',\n 'MANPAGER': 'bash -c "vim -MRn -c \"set ft=man nomod nolist nospell nonu\" \\n-c \"nm q :qa!\" -c \"nm G\" -c \"nm gg\"</dev/tty <(col -b)"',\n 'MY_RUBY_HOME': '/Users/gaba/.rvm/rubies/ruby-1.9.3-p194',\n 'OLDPWD': '/Users/gaba/Code/data/askbot-devel',\n 'PATH': '/Users/gaba/.rvm/gems/ruby-1.9.3-p194/bin:/Users/gaba/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/gaba/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/gaba/.rvm/bin:/Users/gaba/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Users/gaba/bin',\n 'PATH_INFO': u'/cuenta/registrar/',\n 'PS1': '\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1) - \[\033[01;34m\]\$\[\033[00m\] ',\n 'PWD': '/Users/gaba/Code/data/charla_dev',\n 'QUERY_STRING': 'login_provider=local',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUBYLIB': '/Users/gaba/lib/ruby:/Users/gaba/lib/site_ruby/1.8',\n 'RUBYOPT': 'rubygems Ilib Itest Ispec',\n 'RUBY_GC_MALLOC_LIMIT': '50000000',\n 'RUBY_HEAP_MIN_SLOTS': '500000',\n 'RUBY_HEAP_SLOTS_GROWTH_FACTOR': '1',\n 'RUBY_HEAP_SLOTS_INCREMENT': '250000',\n 'RUBY_VERSION': 'ruby-1.9.3-p194',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '1.0.0.127.in-addr.arpa',\n 'SERVER_PORT': '1234',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/zsh',\n 'SHLVL': '3',\n 'SSH_AUTH_SOCK': '/tmp/launch-BT5no8/Listeners',\n 'TERM': 'screen-256color',\n 'TERM_PROGRAM': 'iTerm.app',\n 'TMPDIR': '/var/folders/1n/mtylypx96nv6l0hrzc3mwcvh0000gn/T/',\n 'TMUX': '/var/folders/1n/mtylypx96nv6l0hrzc3mwcvh0000gn/T//tmux-501/default,1418,0',\n 'TMUX_PANE': '%9',\n 'TZ': 'America/Chicago',\n 'USER': 'gaba',\n 'VISUAL': 'vim',\n '': '/usr/local/bin/python',\n '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',\n '__array_start': '0',\n '_first': '0',\n '_second': '1',\n 'escape_flag': '1',\n 'rfind': '() { local target="$1" cwd="$PWD";\n [[ -n "$target" ]] || { \n echo "ERROR: missing target" 1>&2;\n return 1\n };\n while [[ -n "$cwd" ]]; do\n if [[ -e "$cwd"/"$target" ]]; then\n echo "$cwd"/"$target";\n return 0;\n fi;\n cwd="${cwd%/
}";\n done;\n return 1\n}',\n 'rvm_alias_expanded': '',\n 'rvm_bin_path': '/Users/gaba/.rvm/bin',\n 'rvm_docs_type': '',\n 'rvm_gemstone_package_file': '',\n 'rvm_gemstone_url': '',\n 'rvm_niceness': '',\n 'rvm_nightly_flag': '',\n 'rvm_path': '/Users/gaba/.rvm',\n 'rvm_prefix': '/Users/gaba',\n 'rvm_proxy': '',\n 'rvm_quiet_flag': '',\n 'rvm_ruby_file': '',\n 'rvm_ruby_make': '',\n 'rvm_ruby_make_install': '',\n 'rvm_ruby_mode': '',\n 'rvm_script_name': '',\n 'rvm_sdk': '',\n 'rvm_silent_flag': '',\n 'rvm_version': '1.15.8 (stable)',\n 'rvm_wrapper_name': '',\n 'wsgi.errors': <open file '', mode 'w' at 0x10a268270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x10ace7b48>,\n 'wsgi.input': <socket._fileobject object at 0x10cbaba50>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>'
register_form
<askbot.deps.django_authopenid.forms.OpenidRegisterForm object at 0x10cdc3850>
user_identifier
None
user
None
login_provider_name
None
next_url
'/'
email
''
form_class
<class 'askbot.deps.django_authopenid.forms.OpenidRegisterForm'>

[bug] Link at the end of comment & @ user

Hi, I am using askbot and find some small bugs.


When comment using the Plain Text Editor

if you comment www.google.com at the end, the link will lead to www.google.com</p>


And i feel confused about the @ thing, which do not work everytime, is there some magic? :)


BTW, thx for your great job. 👍

askbot-setup command line switch for database_name doesn't work for sqlite

When running askbot-setup using command line switches with database_engine sqlite the -d/--db-name command line switch for the database_name isn't applied to the database_file_name variable.
This makes it impossible to automate askbot-setup with sqlite.

This was fixed in PR #103, but the actual fix doesn't seem to be applied to the ASKBOT/askbot-devel repo.
It's enough to add lines 205 and 206 in __init__.py in the PR.

Should I create a new PR or can you somehow apply the fix from @rukeba to give credit where credit is due?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.