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/

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
asked 11 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago
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 (11 years ago)

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 (11 years ago)

@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 (10 years ago)

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

zheli's avatar zheli (10 years ago)

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 (9 years ago)
see more comments