Changes between Version 2 and Version 3 of InstallationGuide


Ignore:
Timestamp:
21/07/10 22:11:01 (3 years ago)
Author:
nicoechaniz
Comment:

added django-registration install step and known PIL problems/solutions

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuide

    v2 v3  
    4646}}} 
    4747 
     48And install django-registration too 
     49{{{ 
     50 # pip install -e hg+http://bitbucket.org/ubernostrum/django-registration#egg=django-registration 
     51}}} 
     52 
    4853Then install Cyclope. All other python dependencies will be pulled in automatically 
    4954{{{ 
    5055  # pip install -e hg+http://bitbucket.org/nicoechaniz/django-cyclope#egg=cyclope 
    5156}}} 
    52  
    53 If the PIL installation stops  with an error saying: "expected ‘{’ at end of input", 
    54 then you are missnig the python-dev (or your distro equivalent) package. Install it and repeat the previous step. 
    5557 
    5658You may get warnings during the dependencies installation, but they are not relevant to our purposes. 
     
    98100 
    99101---- 
     102 
     103== Frequent problems and workarounds == 
     104 
     105=== PIL / image processing  === 
     106 
     107If the PIL installation stops  with an error saying: "expected ‘{’ at end of input", 
     108then you are missnig the python-dev (or your distro equivalent) package. Install it and repeat the previous step. 
     109 
     110When installing PIL you should look at the first lines of the compilation output. It should read something like: 
     111 
     112{{{ 
     113--- JPEG support available 
     114--- ZLIB (PNG/ZIP) support available 
     115--- FREETYPE2 support available 
     116}}} 
     117 
     118If support for jpeg, png or freetype are not available PIL will install all the same but Cyclope will fail to process images properly. 
     119 
     120If you are getting errors when displaying captchas or thumbnails this is probably your problem. You need to install the missing libraries for PIL to work properly. 
     121After installing the libraries (for jpeg, zlib and freetype2) you will need to uninstall PIL: 
     122{{{ 
     123 # pip uninstall PIL  
     124}}} 
     125 
     126And re-install again. Don't forget to check for the correct compilation output. 
     127 
     128{{{ 
     129 # pip install PIL  
     130}}} 
     131 
     132 
     133---- 
    100134  If you find any problems following these instructions please [mailto:nicoechaniz@codigosur.org drop us an email] so we can make the proper fixes.