[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GMG-Devel] New to Mediagoblin
From: |
Joar Wandborg |
Subject: |
Re: [GMG-Devel] New to Mediagoblin |
Date: |
Fri, 6 Jul 2012 17:17:10 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Tobias,
on Debian-derived systems we usually tell people to do one of two things:
1. The python-imaging way
Uninstall the PIL that python installed in the `python setup.py develop`
step either by running
pip uninstall PIL
or
rm ./lib/python2.?/site-packages/PIL* -r
Then install the `python-imaging` package
sudo apt-get install python-imaging
2. The build-your-own-PIL way
When you install PIL via any of the python packaging tools, like
pip/easy_install, it will compile the core of PIL. As always while
compiling stuff locally, you'll need the development packages for installed
locally, usually this can be done by running
sudo apt-get install zlib1g-dev libjpeg8-dev libpng-dev
When you have the development packages installed, you should run
./bin/pip install --upgrade PIL
This will recompile PIL with zip, png and jpeg support.
Joar
On Fri, Jul 06, 2012 at 02:39:09PM +0200, Tobias Platen wrote:
> Hello,
> I tried to install a local copy of Mediagoblin on my Trisquel system.
> I can create an account, but I can't add new media.
>
> When I try to upload an Ogg Vorbis file, I get the following error.
> 2012-07-03 21:56:14,944 INFO [mediagoblin.media_types] No media
> handler found by file extension. Doing it the expensive way...
> 2012-07-03 21:56:14,954 INFO [mediagoblin.media_types] Sniffing
> mediagoblin.media_types.image
>
> When I try to upload an image Medigoblin crashes, because a
> ZIP-codec is not installed.
>
> Tobias Platen
>
> _______________________________________________
> devel mailing list
> address@hidden
> http://lists.mediagoblin.org/listinfo/devel