First time here? Check out the FAQ!

kristof's profile - activity

2018-02-27 12:51:36 -0500 received badge Popular Question (source)
2018-02-27 12:51:36 -0500 received badge Notable Question (source)
2017-09-12 03:45:04 -0500 received badge Popular Question (source)
2017-09-11 12:50:03 -0500 received badge Notable Question (source)
2016-06-02 16:39:45 -0500 received badge Popular Question (source)
2016-05-24 15:05:04 -0500 received badge Popular Question (source)
2016-05-24 15:05:04 -0500 received badge Notable Question (source)
2016-04-23 13:44:29 -0500 received badge Famous Question (source)
2016-03-31 04:19:35 -0500 received badge Famous Question (source)
2016-03-24 16:15:55 -0500 asked a question can I add users from command line to a group?

I need to add 1000 users for this schoolyear. I want to add them to the group "grp2016." I want to do this from commandline. I tried the following, but it doesn't work

python manage.py add_askbot_user --user-name abc --email abc@abc.com --password 123 --group XYZ

If it is not possible. And let's assume that person1 has userid 1000. Can I do some SQL command loop with postgresql that loops over (userid1000 -> userid1234) and adds them under group "grp2016"?

Thanks in advance

2016-03-10 00:01:13 -0500 received badge Nice Question (source)
2016-03-09 04:36:51 -0500 asked a question SQL command to delete all users with karma 1

I have more than 2000 user accounts which need to be deleted. In the /admin/ page I cannot filter these users out.

Is there perhaps an SQL command that allows me to delete all the users with karma 1 (or users without any posts).

To be sure -- because I am not very technical -- what is an SQL to backup the database first. And what would be to a SQL command that lists all the users satisfying my criteria. Just want to be sure that I don't delete all users.

Thanks :)

2016-03-08 13:33:26 -0500 received badge Enthusiast
2016-02-24 15:29:26 -0500 received badge Popular Question (source)
2015-07-16 03:46:01 -0500 received badge Popular Question (source)
2015-05-14 12:19:40 -0500 received badge Famous Question (source)
2015-04-03 09:48:05 -0500 received badge Notable Question (source)
2015-03-06 03:53:50 -0500 received badge Popular Question (source)
2015-03-01 16:15:15 -0500 received badge Famous Question (source)
2015-03-01 05:27:57 -0500 asked a question how to disable registration of new users?

how to disable registration of new users? Every day there are more than 100 new spam users being registered. How to avoid this?

2015-02-24 13:14:27 -0500 commented answer Spambot registrered 1000 users - command to delete last 1000 users?

postgresql

2015-02-24 04:00:20 -0500 asked a question Spambot registrered 1000 users - command to delete last 1000 users?

Some spambot has registrered 1000 users over the last month, is there some command to delete the last 1000 users at once? For example, a SQL command that deletes the content after some date?

2014-10-15 21:33:50 -0500 received badge Famous Question (source)
2014-08-01 12:58:34 -0500 received badge Famous Question (source)
2014-07-29 13:43:51 -0500 received badge Famous Question (source)
2014-07-23 04:27:21 -0500 received badge Famous Question (source)
2014-07-22 06:46:30 -0500 answered a question facebook login - ssl error

Problem solved. After some years, facebook wanted to re-confirm my email.

The validation of the email is connected to the working of the facebook apps.

2014-07-22 04:53:46 -0500 asked a question facebook login - ssl error

My askbot website has been working fine for a long time. Now, suddenly I got the following error

urlopen error _ssl.c:489: The handshake operation timed out

Does someone know the reason, and how I can fix it?

====

Request Method: GET
Request URL: http://XXXXX.COM/account/signin/complete-oauth2/?code=AQCpHNetj-i7kqMahAgunhyxQR1DdhIhkFTNEqwbZUUD9ioW7yqlZHEkGMHecEAJRHkNEOEUbp1D0goj8GIKeYhpympuaG3ApV3eftNHr3wc25VVdKBssY_yVk_rqZaK00i51jsRH13aW-QpQne42F4GHDFvx834bezcnI8xD7YhDN5DTpI6PzWDMHYcdky9TA4OItQI6pgYkalts8xAXEyqCa-vfpbrCPlNcHULfveOMImZe-nqVjxQNtvTiQf9Nh5ynp4tdJVvqMzxk_K7JFF7KBMgKrk12YJ27NrdJhaUPOwuuvQZRDPojip0CVxVfOmEwRkfUc6nSN0rk1FqXeml&state=e0ccd65d5ee4d2ad13081c9f2685c02c6a65b2712ee81ba17137699b5b9ec1a6

Django Version: 1.5
Python Version: 2.7.3
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',
 'avatar')
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/core/handlers/base.py" in get_response
  115.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/askbot/deps/django_authopenid/views.py" in complete_oauth2_signin
  311.         parser=params['response_parser']
File "/usr/local/lib/python2.7/dist-packages/sanction/client.py" in request_token
  113.             'utf-8'))
File "/usr/lib/python2.7/urllib2.py" in urlopen
  127.     return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py" in open
  401.         response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py" in _open
  419.                                   '_open', req)
File "/usr/lib/python2.7/urllib2.py" in _call_chain
  379.             result = func(*args)
File "/usr/lib/python2.7/urllib2.py" in https_open
  1219.             return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py" in do_open
  1181.             raise URLError(err)

Exception Type: URLError at /account/signin/complete-oauth2/
Exception Value: <urlopen error _ssl.c:489: The handshake operation timed out>
2014-04-05 09:43:10 -0500 answered a question Does askbot support bounty?

^bump (had similar question)

2014-04-05 09:42:46 -0500 received badge Supporter (source)
2014-03-28 14:12:30 -0500 commented question "add comment" stopped working

is it possible my database is broken or something? if so, how to repair it?

2014-03-28 13:01:47 -0500 asked a question "add comment" stopped working

Suddenly the "add comment" function stopped working. I have not changed anything in the control panel. Even as adminstrator I cannot post comments.

What would be a good way to trace back the error?

Which static files on the system are related to this function/page?

2014-03-22 07:04:39 -0500 asked a question time/dates are not correct

time/dates are not correct.

How can I fix this? Or is this a problem with the date/time of the server I am hiring (which I doubt)?

2014-03-19 08:33:58 -0500 asked a question email does not work

I don't receive email notifications. In particular, I checked

IOError at /account/recover/

[Errno 5] Input/output error

Request Method: POST Request URL: http://website.com/account/recover/ Django Version: 1.5 Exception Type: IOError Exception Value:

[Errno 5] Input/output error

Exception Location: /usr/local/lib/python2.7/dist-packages/askbot/mail/__init__.py in send_mail, line 146 Python Executable: /usr/bin/python

What can be the reason that it doesn't work? I also installed some email programs (like dovecot).

my server is also hosted at a company. it is possible the ports are blocked? But I assume they just use basic ports (22, etc.)

thanks in advance

2014-03-19 08:33:10 -0500 asked a question email does not work

I don't receive email notifications. In particular, I checked

IOError at /account/recover/

[Errno 5] Input/output error

Request Method: POST Request URL: http://website.com/account/recover/ Django Version: 1.5 Exception Type: IOError Exception Value:

[Errno 5] Input/output error

Exception Location: /usr/local/lib/python2.7/dist-packages/askbot/mail/__init__.py in send_mail, line 146 Python Executable: /usr/bin/python

What can be the reason that it doesn't work? I also installed some email programs (like dovecot).

my server is also hosted at a company. it is possible the ports are blocked? But I assume they just use basic ports (22, etc.)

thanks in advance

2014-03-11 18:20:05 -0500 received badge Student (source)
2014-03-07 11:43:43 -0500 asked a question main and subtags?

Is it possible for automatic sub-tagging, perhaps by editing the part of the hard-code myself?

physics

  1. magnetism
  2. gravitity
  3. electicity

math

  1. calculus
  2. geometry
  3. algebra

What I want to accomplish. For every "manual tag" automatically retag with maintag.

e.g. "calculus" => "calculus, math"

e.g. "gravity" => "gravity, physics"

e.g. "gravity, physics" => "gravity, physics"

2014-02-28 11:19:58 -0500 edited question other language? compile, build... something more?

I followed the info at this @ the page "askbot.org/en/question/2480/how-to-translate-django-applications/".

The commands worked without error. However, I don't see anything changed.

In addition to,

python ../manage.py jinja2_makemessages -l ru -e html,py,txt

python manage.py compilemessages

is there something else you need to do? Like give some parameters when starting askbot (something like "runserver --language=ru"?)

Or what could be the possible reason why it does not work?

2014-02-28 11:19:58 -0500 received badge Editor (source)