logging is a core part of python itself since python 2.3, have you
accidentally trashed your python site directory? What is in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/
?
http://docs.python.org/library/logging.html
Cheers
Tom
Sounds to me like a trashed disk on a Windows machine. I suppose OSX
might behave like that too - although I would hope to see an error
message of some sort. Do you have any disk analysis utilities?
Mike
>
> thanks,
> Guillaume
>
> On Nov 16, 11:32 pm, Tom Evans<tevans...@googlemail.com> wrote:
>> On Wed, Nov 16, 2011 at 3:01 PM, Gchorn<guillaumech...@gmail.com> wrote:
>>> Hi All,
>>
>>> So I haven't used Django in a while (like three months), and when I
>>> tried firing up a project in dev from Terminal (in OSX) today using
>>> the "python manage.py runserver" command, I got the following
>>> Traceback:
>>
>>> File "manage.py", line 14, in<module>
>>> �
Thanks,
Guillaume
I think it *might* be damaged. One cannot be sure without exercising it
with a utility designed to discover such problems. If it is damaged it
will need to be repaired if possible so you can recover data before it
gets lost. I have used Spinwrite for this in the past successfully.
On the other hand if you have a backup you might be quite relaxed if
whatever utility you choose actually does report a bad disk.
I'm basing this on your earlier comment that you didn't empty the
directory yourself and it is taking a long time to display. An empty
directory should display pretty promptly.
Mike
>
> Thanks, Guillaume
>
Actually, the more important question I have (and one which I know this list isn't really the best forum for, so my apologies), is how might something like this have happened? Is hard drive corruption like this a common occurrence, and can it be avoided?
Either way thanks to everyone for the helpful comments.
http://en.wikipedia.org/wiki/Hard-disk_failure
ymmv
mike