Re: Unexpected OSError when deleting an image

2009-11-26 Thread philip.bar...@impaerospace.com
On Nov 26, 11:19 am, David De La Harpe Golden <david.delaharpe.gol...@ichec.ie> wrote: > philip.bar...@impaerospace.com wrote: > > -rwxrwxrwt 1 ase idmsaccess 480836 2009-09-29 09:45 J0484_- > > _2009-03-04_006.jpg > > drwsrwsrwt 3 ase idmsaccess  12288 2009-09-11 02:

Re: Unexpected OSError when deleting an image

2009-11-26 Thread philip.bar...@impaerospace.com
are set to give everyone (owner, group, and others) write access. On Nov 26, 7:26 am, David De La Harpe Golden <david.delaharpe.gol...@ichec.ie> wrote: > philip.bar...@impaerospace.com wrote: > > I tried editing django/core/files/storage.py to output the results of > > an os.a

Re: Module ho.pis can not be found when running on apache

2009-11-26 Thread philip.bar...@impaerospace.com
As it turned out, I hadn't managed to get mod_python to work with Python 2.5 properly. I found these instructions http://www.briggs.net.nz/log/2007/04/20/mod_python-and-python25/ for going from 2.4 to 2.5 and adapted them for going from 2.6 to 2.5. After that, the python version began showing

Unexpected OSError when deleting an image

2009-11-26 Thread philip.bar...@impaerospace.com
I'm using Django 1.0.3, Apache 2.2, Python 2.5 and Ubuntu 9.04 (a recent upgrade). When I try to delete an image (specifically I'm deleting an instance of a photo model that contains an imagefield) I get an OSError, "[Errno 1] Operation not permitted" The first thing I tried was checking the

Module ho.pis can not be found when running on apache

2009-11-24 Thread philip.bar...@impaerospace.com
When I try running my project via Apache I get a "No module named ho.pisa" error message. However, when I run the same project from django's built-in dev server, it works just fine. Similarly, when I access python, or go through python manage.py shell, I can import ho.pisa without error. I've

Re: Why does Django think my browser doesn't except cookies?

2009-10-28 Thread philip.bar...@impaerospace.com
Starting with that premise, I looked into what circumstances lead to IE rejecting cookies unread. As it turned out, the VM System clock was six weeks behind the times and IE was throwing out what appeared to be six week old cookies. After adjusting the VM system clock the problem went away.

Why does Django think my browser doesn't except cookies?

2009-10-27 Thread philip.bar...@impaerospace.com
This morning I started running a project using Django 1.03 on Apache2 on Ubuntu 9.10, which is running as a Virtual Machine on a Windows XP system. I have run the same Django project successfully on a Ubuntu 9.10 system. However, the VM version insists that IE does not accept cookies. Firefox