Ask Your Question

Nigini A. Oliveira's profile - activity

2019-08-10 12:22:44 -0600 marked best answer How to limit account creation to invited-only users?

Hi there,

Suppose I am deploying a community with ASKBOT. But because the site is still in the beginning, I would like to restrict the creation of accounts based on invitation until the site has enough content and information organization.

Is this implemented? I cannot find anything like that on the site settings page.

Thanks.

2019-04-01 07:27:19 -0600 received badge  Notable Question (source)
2019-03-25 23:44:31 -0600 received badge  Notable Question (source)
2019-02-20 02:23:49 -0600 received badge  Famous Question (source)
2019-02-20 02:23:49 -0600 received badge  Popular Question (source)
2019-02-13 19:58:20 -0600 received badge  Famous Question (source)
2019-02-13 19:58:20 -0600 received badge  Popular Question (source)
2019-02-12 19:30:39 -0600 asked a question How to limit account creation to invited-only users?

Is there a way to block self-created account? Hi there, Suppose I am deploying a community with ASKBOT. But because the

2018-12-23 20:10:03 -0600 asked a question Django templates vs Macros

Django templates vs Macros I have recently started examining how to implement design changes to some parts of the site a

2018-09-08 03:27:10 -0600 received badge  Notable Question (source)
2018-09-02 18:20:19 -0600 received badge  Self-Learner (source)
2018-09-02 18:18:54 -0600 received badge  Self-Learner (source)
2018-09-02 18:13:07 -0600 received badge  Popular Question (source)
2018-08-18 23:00:42 -0600 received badge  Famous Question (source)
2018-08-17 14:15:14 -0600 edited answer Can't make ASKBOT work with uWSGI

I got it: First I saw I should be executing the uWSGI with the option --wsgi-file and not --module. That got rid of th

2018-08-17 13:58:41 -0600 answered a question Can't make ASKBOT work with uWSGI

I got it: The recommended .INI file in previous posts here was this: [uwsgi] socket = /var/uwsgi/askbot.sock user = w

2018-08-15 19:43:06 -0600 marked best answer Problems running "collectstatic" on Mac OS

I'm using a Mac OS(El Capitan), Python 2.7 and AskBot source code from the master branch (last commit was this)!

I run into the following problem when executing python manage.py collectstatic for the first time after setting the system up as described HERE.

Traceback (most recent call last):
File "manage.py", line 10, in <module>
(...)
ImportError: dlopen([MY_PATH]/python2.7/site-packages/PIL/_imaging.so, 2): Symbol not found: _clock_gettime
Referenced from: [MY_PATH]/python2.7/site-packages/PIL/.dylibs/liblzma.5.dylib (which was built for Mac OS X 10.12)

After going crazy about it, I found HERE that there is a problem with the Pillow 5.1.0 version that is installed by default (it is not specified in the current requirements file). I'll post the solution in an answer just to make it easier for people to propose other solutions in the future.

2018-08-15 19:43:06 -0600 received badge  Scholar (source)
2018-08-15 19:29:43 -0600 asked a question Can't make ASKBOT work with uWSGI

Can't make ASKBOT work with uWSGI I'm trying to run ASKBOT using uWSGI but I can't figure how. Everything looks right on

2018-06-28 12:51:21 -0600 received badge  Popular Question (source)
2018-06-28 12:51:21 -0600 received badge  Notable Question (source)
2018-06-15 01:34:57 -0600 received badge  Famous Question (source)
2018-06-12 11:47:47 -0600 received badge  Enthusiast
2018-06-11 01:22:27 -0600 commented question Logout directing to white page

Hey @iffs - Can you edit your question with more info about this "bad request" you are referring to? Do you have any err

2018-06-10 20:23:12 -0600 received badge  Editor (source)
2018-06-10 20:23:12 -0600 edited question Problems running "collectstatic" on Mac OS

Problems running "collectstatic" on Mac OS I'm using a Mac OS(El Capitan), Python 2.7 and AskBot source code from the ma

2018-06-10 20:21:52 -0600 answered a question Problems running "collectstatic" on Mac OS

The solution it to force installing the previous version of the Pillow package: pip install --force-reinstall Pillow==5

2018-06-10 20:20:40 -0600 asked a question Problems running "collectstatic" on Mac OS

Problems running "collectstatic" on Mac OS I'm using a Mac OS(El Capitan), Python 2.7 and AskBot source code from the ma

2018-06-10 16:30:44 -0600 commented question Django 1.10 support

Any news on this? I imagine it is time to update the question to versions 1.11 and 2, right? Is there any roadmap we can

2017-10-08 02:49:12 -0600 received badge  Nice Question (source)
2016-09-19 08:04:18 -0600 received badge  Notable Question (source)
2016-09-06 21:20:10 -0600 received badge  Student (source)
2016-09-06 21:03:01 -0600 received badge  Popular Question (source)
2016-08-31 22:23:05 -0600 commented answer How can I configure the Google+ login?

That's an awesome resource @gopalraha thanks! But this somewhat goes beyond "configuration" steps and touch "developing" level, do you agree? Have you executed that for ASKBOT? If so, do you think these dependencies and changes to settings.py should be included in ASKBOT's code repository?

2016-08-31 22:02:43 -0600 received badge  Famous Question (source)
2016-08-25 18:18:42 -0600 asked a question How can I configure the Google+ login?

Hey there,

I saw that that recently a commit fixed the Google+ login system. So I tried it but I'm having a problem. Here is what I've tried to do:

  1. Created the credential for Google+ API and inserted both public and secret API keys at the "settings/EXTERNAL_KEYS/" URL. (Q: Why are there 2 boxes for each of those?)
  2. Then I tried to setup the "Google Plus Login" box at "settings/LOGIN_PROVIDERS/"
  3. Strangely the box for that service was already marked (together with a couple of others). Then I went to confirm at the database, and everything was set to FALSE. I set the one for G+ to TRUE and then the button appeared!
  4. I tried to login with it and initially I got a configuration error, because I didn't know what URL to insert at the "Authorization redirect URI" at the Google+ API configuration. I used "<my_server_domain>/account/signin/complete-oauth2/" and it went through.
  5. But now I have the following error and I don't know what to do...

Request Method: GET
Django Version: 1.8.13
Exception Type: KeyError
Exception Value:    u'google-plus'
Exception Location: /var/lib/.../askbot/deps/django_authopenid/views.py in complete_oauth2_signin, line 256
Python Version: 2.7.8

Can anyone help? Is this something related to "django_authopenid" library version? I don't know how to check that as it is part of the settings of the django project.

2016-07-29 11:38:02 -0600 commented question Feature to provide tags descriptions

This is indeed a cool feature. Interestingly, it seems that the code for the `Tag` entity is already prepared for that, as it declares the following variable: `tag_wiki = models.OneToOneField( 'Post', null=True, related_name = 'described_tag')`. Does someone know what's the next step for that? I searched the issues at GitHub and could not find a discussion about that!

2016-07-13 02:32:32 -0600 received badge  Nice Answer (source)
2016-07-11 15:19:22 -0600 answered a question I want to modify the askbot front pages???

You might be searching for the page templates folder.

2016-06-14 18:06:59 -0600 received badge  Supporter (source)
2016-01-08 04:10:05 -0600 received badge  Teacher (source)
2015-10-30 14:14:57 -0600 answered a question Askbot self-test keeps failing

I'm having the same problem. It seems that a new version of python setuptools is adding this "0" at the end of the version name. I've tested to change the required version, but it seems that the requirement file is not read to execute "manage.py" tasks.

While we don't have a solution, you can add this line to you "settings.py" file: ASKBOT_SELF_TEST = False

This will skip the tests!