brycenesbitt's profile - activity

11 years ago received badge Notable Question (source)
11 years ago received badge Famous Question (source)
12 years ago received badge Popular Question (source)
12 years ago received badge Famous Question (source)
12 years ago received badge Great Answer ( source )
12 years ago received badge Famous Question (source)
13 years ago commented answer What is the state of documentation for askbot project?

I'd rather have askbot be self-evident, than documented. That said the installation procedure and documentation are neither.

13 years ago received badge Necromancer ( source )
13 years ago received badge Self-Learner ( source )
13 years ago answered a question Bug: title disappears if your tag is rejected. [patch]

Solution patch: in writers.py add the following in the case of 'form not valid':

else:
    form.initial['title']= request.POST.get('title')
13 years ago received badge Commentator
13 years ago commented answer Bug: SocketServer.py timed out errors on console

I get it everywhere I run askbot. It appears in the console or on the command line that started askbot -- not the askbot logs.

13 years ago commented answer Bug: SocketServer.py timed out errors on console

I get it everywhere I run askbot. It appears in the console or on the command line that started askbot -- not the askbot logs.

13 years ago received badge Good Answer ( source )
13 years ago received badge Nice Answer ( source )
13 years ago received badge Nice Question (source)
13 years ago asked a question Bug: Maximum length of tag

If I use the defaults and enter a long tag I get error:

each tag must be shorter than 20 characters

If I change the setting "Maximum length of tag (number of characters)" to 30, and enter a long tag I get:

each tag must be shorter than 22 characters

Where did the 22 come from?

13 years ago answered a question What to improve in the askbot theme?

Make it fluid instead of fixed width. Everything else could be fixed width, but make the actual Q&A flow properly no matter the text size.

13 years ago received badge Necromancer ( source )
13 years ago commented answer Need step by step installation procedure in WebFaction

Please upvote the answer if it has been useful to you.

13 years ago commented answer Need step by step installation procedure in WebFaction

I think askbot-setup does that. It's all pretty dang confusing: i wish the askbot setup script did less, it would make setup less confusing. The paths end up all wacky.

13 years ago commented question why is mysql required? [fixed]

FYI: I'm using askbot on Django 1.3 without trouble, as of now.

13 years ago commented question customize askbot

I did this by adding a separate directory below manage.py (after laboriously moving askbot to that level), and adding a models.py there. It worked. Askbot's install script makes this all a bit harder though.

13 years ago commented answer Karma thresholds always reset to default when edited

Do you need to add a cache-control header there to keep this from happening?

13 years ago asked a question Bug: wmd editor blows it on bullets

Aghg. I thought it was my browser, but it seems pretty universal: buullets don't work right in wmd (the wysiwyg editing tool askbot uses for text areas);

I enter three rows:

Row one
Row two
Row three

And press "bullets" and they all collapse together:

  1. Row one Row two Row three

Manually entering the table is needed, though even then the spacing is large:

  1. Row one
  2. Row two
  3. Row three

External link: http://code.google.com/p/wmd/ or http://code.google.com/p/pagedown/

13 years ago asked a question Karma thresholds always reset to default when edited

If I visit the admin page askbot/settings/MIN_REP/ on my own site, I see the Karma thresholds. But if I change a number and resubmit, the page refreshes with the defaults. Is there trick to getting this to work?

Karma thresholds
Upvote Default value: 15
13 years ago asked a question Bug: title disappears if your tag is rejected. [patch]

Bug: title disappears if your tag is rejected.

If one of your tags fails the "use-these-chars-in-tags" check, the title of your question gets erased.

1) Ask question
2) Write a title
3) Put "&" or "%" in a tag name
4) Submit, observe error    "use-these-chars-in-tags".
5) Observe    title is now blank

(I used preformatted text, because on Chrome, number and bullet lists are broken)

13 years ago received badge Supporter (source)
13 years ago commented answer Django error: VariableDoesNotExist: Failed lookup for key [request] in u'[{}]'

I had the same problem here, it "went away" mysteriously.

13 years ago received badge Student (source)
13 years ago asked a question Bug: SocketServer.py timed out errors on console

When running askbot, I get the dozens of the following. What's up?

[25/Jan/2012 01:06:18] "GET /m/common/media/js/wmd/images/wmd-buttons.png HTTP/1.1" 200 11480
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 37436)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/bnesbitt/PycharmProjects/virtualenvs/dj13/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 570, in __init__
    BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/SocketServer.py", line 639, in __init__
    self.handle()
  File "/home/bnesbitt/PycharmProjects/virtualenvs/dj13/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 610, in handle
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out
----------------------------------------
13 years ago commented answer alwaysdata help installation - python newbie

The more you show you tried, the more people tend to want to help you.

13 years ago answered a question Need step by step installation procedure in WebFaction

This answers the same question as in http://askbot.org/en/question/445/how-to-install-askbot-on-webfaction

Here's what I did on WebFaction:

In webfaction control panel installed app "Python 2.7/Django 1.3" as askbot_webapp
In webfaction control panel created postgres database and remembered password
cd ~/webapps/askbot_webapp
git clone git://github.com/ASKBOT/askbot-devel.git myaskbot 
cd myaskbot/
ls
python-2.7 setup.py develop
askbot-setup 
Where deploy the forum (directory)? askbot2
Edit myproject.wsgi to point to 'myaskbot2.settings'
Create a second webapp for the static files
Attach this to /m within your domain.
Soft link askbot/skins/common and askbot/skins/default into the static files directory
Login: the first user to create and account becomes superuser.

Please edit this answer if you have more to add, or find something I missed.

13 years ago received badge Necromancer ( source )
13 years ago received badge Teacher ( source )
13 years ago received badge Editor ( source )
13 years ago answered a question How to install askbot on webfaction?

This is a duplicate of http://askbot.org/en/question/686/need-step-by-step-installation-procedure-in

Someone could contribute a setup script. WebFaction offers a series of such scripts: https://wiki.webfaction.com/wiki/InstallScripts

There a script present for osqa, but none for webfaction. With webfaction you have 1 click setup for django of any flavor you like (e.g. you select the python version and the django version).