-
Notifications
You must be signed in to change notification settings - Fork 144
Document libjpeg/zlib etc as dependencies of PIL; add a runserver check for their presence #12
Comments
Seeing a 404 for /static/demo/css/vendor/images/bx_loader.gif Looking into some more. |
There is no bx_loader.gif anywhere in wagtaildemo:
|
Hi @btipling |
I've just added the missing image files. I'm not sure if this will solve your issue though. |
No I don't see the images. I have them in the file system, but they show up as not found:
|
Are you running it in the VM or on your host machine? If you're running it on your host machine, do you have the following packages installed? |
I didn't have those, but I am still not seeing the images after adding them. I am using a vm, but I'm not using vagrant because vagrant for Vmware Fusion is not free. I'm using Ubuntu 13.10 I dumped my database and recreated running all the ./manage.py commands again, but no luck. |
You'll need to rebuild Pillow as it was first built without those packages (so it hasn't linked to them) You can do this by running:
Let me know if that gets you anywhere |
That worked. Thank you. Some kind of check maybe when starting runserver may be helpful in the future. :) |
Maybe just update the readme for non vagrant with those requirements (and others people have had to install)? |
Adding the dependencies fixed this issue for me as well.. |
I can’t reproduce this bug. Maybe it’s a file/folder permission issue? |
It sounds like this is universally caused by missing dependencies of PIL. Have updated the issue title to address the fixes that @btipling proposes. |
So this could be closed in favor of #7 if I understand well. |
http://docs.wagtail.io/en/v1.0/getting_started/index.html now covers the fact that Pillow requires additional libraries (and this document is the current recommended route for new users, rather than wagtaildemo). Adding a runserver check is covered in wagtail/wagtail#1644. |
Is this expected?
The text was updated successfully, but these errors were encountered: