> You can try to reproduce it on alpha.widelands.org

Over there the error occurs. I didn't found an article with newly uploaded 
images, so i tried to create a new one and to upload an image. But then the 
same failure happens as when i try to set up the website on my maschine:

No such file or directory: 
u'/var/www/django_projects/alpha/wlwebsite/code/widelands/media//wlimages/widelands_by_night.jpg'

This is because the folder "/media/wlimages/" is missing. On my maschine i 
created this folder and everything is fine.

The related change was imho in revision 55 (year2009) in wlimages/models.py, 
lines 40/41:

http://bazaar.launchpad.net/~widelands-dev/widelands-website/trunk/revision/55#wlimages/models.py

I couldn't see when the other images are uploaded, maybe they are in a 
different folder than newly uploaded images and therefore the error occurs (no 
file = no permission)?

If you whish to retrive the datasets for wlimages and compare the stored paths, 
try:

./manage.py dumpdata wlimages --indent=2

(the indent makes it look more readable)
-- 
https://code.launchpad.net/~franku/widelands-website/handle_big_images/+merge/247235
Your team Widelands Developers is subscribed to branch lp:widelands-website.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to