On 17/11/2011 9:55am, Gchorn wrote:
Weird, when I navigate to that folder, it hangs as though it's having
to load up a ton of files, and then after a lengthy pause it shows 0
items. I don't know how I could have erased the contents of this
folder as I have never opened it (or why it's hanging every time I try
to open it). The only significant activity on my computer recently is
that I have begun using Mac's Time Machine program to make backups.
Could that have done anything? Otherwise I have just been doing basic
scripting exercises in IDLE. There isn't some way I could have
accidentally emptied that folder from the interpreter is there?
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>
…
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/site-packages/django/utils/log.py", line 1, in<module>
import logging
ImportError: No module named logging
Has anyone ever seen this? I have no idea what it means. I haven't
messed with my installation of Django so I don't know why it wouldn't
be able to find all of the modules it previously could. Any ideas?
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
--
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.