First time here? Check out the FAQ!
0

django-avatar

I used the old instructions but after installation when I turn on the avatar option site completely breaks. I was wondering if I can use following instructions to setup the avatar instead of the instructions given in the askbot site.

http://django-avatar.readthedocs.org/en/latest/

SocialQA's avatar
265
SocialQA
asked 2014-05-03 16:27:18 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Lately I've also noticed an issue with that, caused by the changes in pip and how installation of the Python Imaging Library PIL works. With additional parameters to pipthe imaging library can be installed http://stackoverflow.com/questions/21242107/pip-install-pil-dont-install-into-virtualenv:

pip install PIL --allow-external PIL --allow-unverified PIL

These parameters may have some security issues you might look into.

Evgeny's avatar
13.2k
Evgeny
answered 2014-05-03 16:31:36 -0600
edit flag offensive 0 remove flag delete link

Comments

so I should re-install PIL as you have mentioned and try it? you still didn't mention if I can follow the instructions of the site that I linked :)

SocialQA's avatar SocialQA (2014-05-03 16:37:15 -0600) edit

Yes, run that in your environment, then try to install askbot dependencies again. I have not tested the latest `django-avatar`, some work may need to be done in the Askbot code base to support it.

Evgeny's avatar Evgeny (2014-05-03 16:40:12 -0600) edit

@Evgeny I tried what you had put but ended up with following: error: no such option: --allow-external I am also running django 1.4

SocialQA's avatar SocialQA (2014-05-06 13:35:19 -0600) edit

@SocialQA that command works in my virtualenv on pip 1.5.6.

zheli's avatar zheli (2014-08-03 11:07:56 -0600) edit

FWIW - I am also having problems with getting the avatar module to work. I used the github link from the install docs on askbot.com and also followed the above recommendation for PIL (which installed just fine). I continue to get import errors when accessing my site. @Evgeny, do you happen to know of anything else on your hosted sites (at askbot.com) that would be allowing this to function? It obviously works there so that tells me that we are obviously missing a library or setting on our internal sites. Just curious.

dharrah's avatar dharrah (2015-08-17 16:33:13 -0600) edit
add a comment see more comments