First time here? Check out the FAQ!

Edur's profile - activity

2015-04-07 11:07:32 -0500 received badge Popular Question (source)
2015-04-07 11:07:32 -0500 received badge Famous Question (source)
2015-04-07 11:07:32 -0500 received badge Notable Question (source)
2014-12-13 21:13:30 -0500 received badge Popular Question (source)
2013-05-29 14:53:18 -0500 received badge Famous Question (source)
2012-10-18 03:26:25 -0500 received badge Famous Question (source)
2012-10-16 07:40:03 -0500 received badge Nice Question (source)
2012-09-29 17:32:23 -0500 commented answer delete user from askbot?

A really "delete" option is for German Askbot Installations a big need, is it possible to add a feature for users to delete themself in the profileview or so?. (Delete of all personal data like Realname, Mailaddress and so on, old postings are ok) It's a German Law. :(

2012-09-24 07:00:27 -0500 asked a question Login page reloads many times, and gives after that a "Forbidden"

Today we want to release a askbot site for a very big community ... the last 2 weeks I tested the script, but today I can't login.

Every time I goes to the login page: http://domain.tld/account/signin/

The site reloads ~5-6 times in one or two seconds, and gives me then a 403 HTTP Forbidden page, in my apache logfile stands for every try:

[error] [client 95.117.xxx.xxx] client denied by server configuration: /srv/mydjangosite/django.wsgi, referer: http://domain.tld/account/signin/

I deleted my whole site cookies, restart the database, the memcached, apache, tried to "manage.py collectstatic" "manage.py migrate" "manage.py syncdb", nothing helps.

The path to the django.wsgi is correct in the apache vhost, this is the file:

import os
import sys

current_directory = os.path.dirname(__file__)
parent_directory = os.path.dirname(current_directory)
module_name = os.path.basename(current_directory)

sys.path.append(parent_directory)
sys.path.append(current_directory)
os.environ['DJANGO_SETTINGS_MODULE'] = '%s.settings' % module_name
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

The path to the urls.py is correct, this is the file:

"""
main url configuration file for the askbot site
"""
from django.conf.urls.defaults import patterns, include, handler404, handler500, url
from django.conf import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'%s' % settings.ASKBOT_URL, include('askbot.urls')),
    (r'^admin/', include(admin.site.urls)),
    #(r'^cache/', include('keyedcache.urls')), - broken views disable for now
    (r'^settings/', include('askbot.deps.livesettings.urls')),
    (r'^followit/', include('followit.urls')),
    (r'^robots.txt$', include('robots.urls')),
    url( # TODO: replace with django.conf.urls.static ?
        r'^%s(?P<path>.*)$' % settings.MEDIA_URL[1:],
        'django.views.static.serve',
        {'document_root': settings.MEDIA_ROOT.replace('\\','/')},
    ),
)

if 'rosetta' in settings.INSTALLED_APPS:
    urlpatterns += patterns('',
                    url(r'^rosetta/', include('rosetta.urls')),
                )

my settings.py looks like:

## Django settings for ASKBOT enabled project.
import os.path
import logging
import sys
import askbot
import site

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 = ('127.0.0.1',)

ADMINS = (
    ('xxxxx', 'xxxxx@xxxxx.xxxxx'),
)

MANAGERS = ADMINS

DATABASE_ENGINE = 'postgresql_psycopg2' # only postgres (>8.3) and mysql are supported so far others have not been tested yet
DATABASE_NAME = 'xxxxx'             # Or path to database file if using sqlite3.
DATABASE_USER = 'xxxxx'             # Not used with sqlite3.
DATABASE_PASSWORD = 'xxxxx'         # 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 = 'xxxxx@xxxxx.xxxxx'
DEFAULT_FROM_EMAIL = 'xxxxx@xxxxx.xxxxx'
EMAIL_HOST_USER = 'xxxxx'
EMAIL_HOST_PASSWORD = 'xxxxx'
EMAIL_SUBJECT_PREFIX = '[xxxxx] '
EMAIL_HOST='mail.xxxxx.xxxxx'
EMAIL_PORT='25'
EMAIL_USE_TLS=True
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

IMAP_HOST = ''
IMAP_HOST_USER = ''
IMAP_HOST_PASSWORD = ''
IMAP_PORT = ''
IMAP_USE_TLS = False

TIME_ZONE = 'Europe/Berlin'

SITE_ID = 1

USE_I18N = True
LANGUAGE_CODE = 'de'

MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'askbot', 'upfiles')
MEDIA_URL = '/upfiles/'
STATIC_URL = '/m/'#this must be different from MEDIA_URL

PROJECT_ROOT = os.path.dirname(__file__)
STATIC_ROOT = os.path ...
(more)
2012-09-21 18:24:41 -0500 answered a question Adding Facebook login provider

Sure, go to your Askbot page, login with your Admin Account, go into the 'settings' => 'login providers (Login, Users & Communication)' and check "Activate Facebook login".

Don't forget the Facebook public&secret keys (in the settings, 'external services')

Facebook API key and Facebook secret allow to use Facebook Connect login method at your site. Please obtain these keys at facebook create app site

2012-09-19 08:55:56 -0500 received badge Teacher ( source )
2012-09-19 08:30:13 -0500 commented answer My users are not getting update by email

Hi, maybe an other problem here, instant mails are ok, no problem with that, thats the test for the smtp connection and mailserver is correct configured, too. But the daily/weekly updates doesn't go out, I don't know why. "python manage.py send_email_alerts" brings me the standard DeprecationWarning about the settings.DATABASE_* things, but no Mails are sent. The hourly cron job is active ... waiting two days now, no daily update mails, I think same problem with weekly mails will come. Any Ideas @Evgeny

2012-09-19 08:07:45 -0500 commented answer Disabling social network login providers

But why? You can switch it off in the admin interface, its simple and clean. :)

2012-09-19 08:07:45 -0500 received badge Commentator
2012-09-19 04:40:59 -0500 answered a question Disabling social network login providers

Hm, you mean Facebook, Twitter, AOL etc.?

Go to your Askbot page, login with your Admin Account, go into the 'settings' => 'login providers (Login, Users & Communication)' and uncheck all providers like "Activate AOL login", "Activate Facebook login" and so on.

Greetings.

2012-09-18 17:26:11 -0500 received badge Supporter (source)
2012-09-18 05:52:45 -0500 commented answer Any plans for askbot to have widgets?

Just for Info. In the release 0.7.43 the embeddable widgets shows deleted questions, too. Not so good. :)

2012-09-18 05:52:11 -0500 answered a question Any plans for askbot to have widgets?

Just for Info. In the release 0.7.43 the embeddable widgets shows deleted questions, too. Not so good. :)

2012-09-18 05:48:31 -0500 commented answer Can we have an embed tag?

Just for Info. The old embed method (objects) is no more visible on the youtube video pages, (in germany) are only the new iframe method available from the embed code generator (html5 function included). The iframe codes doesn't work, in the live-preview windows it works, in the post itself the "<" and ">" are encoded, so you see only the embed code, not the video. :)

2012-09-18 02:09:12 -0500 commented question URL /load-tag-wiki-text/ causes 500 error

@todofixthis I'm using Askbot version 0.7.43 (I installed yesterday a new Project with the same version, too. Same problem)

2012-09-18 01:29:25 -0500 received badge Student (source)
2012-09-17 11:34:40 -0500 commented answer We've edited django.po files but translations do not work. Why?

OK, after some trys with "manage.py collectstatic" "manage.py compilemessages" and "manage.py migrate" it works again. :)

2012-09-17 10:52:37 -0500 commented answer We've edited django.po files but translations do not work. Why?

@Evgeny I translate atm the German language files. I downloaded from Transiflex the *.po Mainfile moved it to /usr/local/lib/python2.6/dist-packages/askbot/locale/de/LC_MESSAGES (renamed it to django.po). Then I run "python setup_templates/manage.py compilemessages" in "/usr/local/lib/python2.6/dist-packages/askbot", all *.po files are processing ... restart the webserver (apache with mod_wsgi) ... akbot is fully broken (500er http errors, all sites). I move my backup files back, recompile, restart webserver, still broken. Any Ideas? (Is the dev-version OK for a production usage?)

2012-09-17 02:48:46 -0500 asked a question URL /load-tag-wiki-text/ causes 500 error

Originally found via Google crawler, but also occurs when I open /load-tag-wiki-text/ in my browser.

Askbot errorlog:

    /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py TIME: 2012-09-17 05:27:16,030 MSG: base.py:handle_uncaught_exception:209 Internal Server Error: /load-tag-wiki-text/
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.6/dist-packages/askbot/utils/decorators.py", line 65, in wrapper
    return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/askbot/views/commands.py", line 488, in load_tag_wiki_text
    tag = get_object_or_404(models.Tag, id = request.GET['tag_id'])
  File "/usr/local/lib/python2.6/dist-packages/django/utils/datastructures.py", line 256, in __getitem__
    raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))
MultiValueDictKeyError: "Key 'tag_id' not found in <QueryDict: {}>"
2012-09-16 14:43:35 -0500 commented answer Any plans for askbot to have widgets?

@Evgeny Can you please accept my transifex.com request (German Team)?

2012-09-16 09:14:29 -0500 commented answer Any plans for askbot to have widgets?

There is a problem with the encoding maybe. German "Umlaute" (öüä) don't works in the widget view. no utf-8 charset used? (sry, but i don't find a bug reporting page here :))

2012-09-16 08:08:53 -0500 commented question Self-hosted Wordpress Integration dont works?

sry, doublepost

2012-09-16 08:08:51 -0500 commented question Self-hosted Wordpress Integration dont works?

Looks buggy, if the self-hosted wordpress auth is enabled, and i try to login with an unknown userlogin, a fake login like "asdsadjl", and press login, then i become an 500 http error, everytime. With an valid wordpress userlogin, same 500 http error. (VariableDoesNotExist: Failed lookup for key [request] in u'[{}]') I searched for the 500 failure, my urls.py is ok, and i have the "django.core.context_processors.request" entry in my settings.py. At the moment I disabled the self-hosted wordpress auth, and have no problems. But any Ideas about this problem? :)

2012-09-15 07:59:50 -0500 asked a question Self-hosted Wordpress Integration dont works?

Hi,

Is the Wordpress Integration at the moment not possible?

I installed the python_wordpress_xmlrpc, activated the xml-rpc thing in Wordpress (and checked the url), activated in my Askbot the "Activate to allow login with self-hosted wordpress site" under the "Login Provider" settings and put my xml-rpc url in there, too.

The Button on the Login Form is OK, But when I try to click it, nothing happens.

My Askbot version is 0.7.43.

Is there a hint or a problem? Any Ideas? Thanks