Leeuw van der, Tim wrote: > The application is a photo-album like application which stores > directory and image info in a psql database, and creates thumbnails > using PIL. > Ah! This is my beloved threading issue :-). It's not Windows specific. What happens is Django access one connection from several threads one of which just closes it while others try to work with it.
This is all fixed in a branch which will become Django 0.92 (a "magic-removal" branch). But if you stick to trunk you can solve this in two ways: 1. Make Apache use a preforking worker. This way you eliminate threads altogether with a problem. I don't know exactly how to get a preforking Apache on Windows. 2. Apply some patches. The first patch is here: http://code.djangoproject.com/attachment/ticket/924/924.3.diff It fixes threading issues and it's enough for development purposes while waiting for 0.92. There is still a small issue with leaking open db connections which is fixed by patches from http://code.djangoproject.com/changeset/2474 They are made against magic-removal branch and may require some line-shifting but they are quite clear to even apply them by hand... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---