Great !!!
It's the point and now successful
helloworld ➤ tree
.
|-- helloworld
| |-- __init__.py
| |-- __init__.pyc
| |-- settings.py
| |-- settings.pyc
| |-- urls.py
| `-- wsgi.py
`-- manage.py
1 directory, 7 files
thanks a lot
2013/10/15 Leonardo Giordani <giordani.leonardo@gmail.com>
Try and post the resultsThis should hopefully show us what logging is working behind the scenes.As I suspected, there is a problem with the logging module, which is probably shadowed, i.e. when Django performs "import logging" it imports a different module.Try the following: exactly where you execute the manage.py open an interactive Python shell and do
>>> import logging
>>> print logging.__file__
Leo
Leonardo GiordaniAuthor of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile
2013/10/15 Darion Yaphet <darion.yaphet@gmail.com>To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOHWcCJusuOn5ccorgLdTAAk9_Z5aEdBrmvD-Kj-6n3r3Y2oWw%40mail.gmail.com.the output exception info as following :~ ➤ python /usr/bin/django-admin.py startproject hello --tracebackTraceback (most recent call last):File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 222, in run_from_argvself.execute(*args, **options.__dict__)File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 255, in executeoutput = self.handle(*args, **options)File "/usr/lib/python2.7/site-packages/django/core/management/commands/startproject.py", line 31, in handlesuper(Command, self).handle('project', project_name, target, **options)File "/usr/lib/python2.7/site-packages/django/core/management/templates.py", line 123, in handlesettings.configure()File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 98, in configureself._configure_logging()File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 77, in _configure_logginglogging_config_func(DEFAULT_LOGGING)File "/usr/lib/python2.7/site-packages/django/utils/dictconfig.py", line 555, in dictConfigdictConfigClass(config).configure()File "/usr/lib/python2.7/site-packages/django/utils/dictconfig.py", line 323, in configuredel logging._handlerList[:]AttributeError: 'module' object has no attribute '_handlerList'and is something missing or any package is missing2013/10/15 Leonardo Giordani <giordani.leonardo@gmail.com>To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEhE%2BO%3DRQd%2BP%3DBZ%2B1jWduS_SQ4riXcWX9gr8YWhSSyZa8xR3mg%40mail.gmail.com.Ok, can you please try to traceback the command and post the results?
python django-admin.py startproject hello --traceback
Leonardo GiordaniAuthor of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile
2013/10/15 Darion Yaphet <darion.yaphet@gmail.com>To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOHWcCLGk_MTSTd%2BLXPdu90kYva%3D5v2Gmgp85QxGtU%2BE4EH%2B8A%40mail.gmail.com.ok I built Django 1.5.3 on fedora 18 and don't use virtualenv2013/10/14 Leonardo Giordani <giordani.leonardo@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEhE%2BO%3D-D_WzBa4_Lis4Bppak-czSKG9D60b91b7GFSWvnWM%2Bw%40mail.gmail.com.Please give me the information I asked you, otherwise I cannot figure out what kind of problem you have.
Are you using a virtualenv? In that case, can you post the list of packages you installed? If not, can you give details about the OS you are working on?Leonardo GiordaniAuthor of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile
2013/10/14 Darion Yaphet <darion.yaphet@gmail.com>To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOHWcC%2BjyqOZBjqSYVHYNZm7vbixRiWtBQ2dvteYLdv%3DNhyi6w%40mail.gmail.com.Python 2.7.3 and Django is 1.5.3 ..2013/10/14 Leonardo Giordani <giordani.leonardo@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEhE%2BO%3Dr_nPHCA4T3N1hX8--be1R9SMtB%3Deaa_5cFsPCravawg%40mail.gmail.com.Hi, are you using a virtualenv? In that case, can you post the list of packages you installed? If not, can you give details about the OS you are working on, Django version, and so on?Regards,
LeoLeonardo GiordaniAuthor of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile
2013/10/14 Darion Yaphet <darion.yaphet@gmail.com>Hi all :--when I use django-admin.py to init django projectdjango-admin.py startproject helloGot a exception ..AttributeError: 'module' object has no attribute '_handlerList'
what is it ????
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a6024b53-9203-4e25-9202-d2cdf017e5a0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.--long is the way and hard that out of Hell leads up to light--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.--long is the way and hard that out of Hell leads up to light--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.--long is the way and hard that out of Hell leads up to light--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.--To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEhE%2BO%3DvL2bDBQtBEYbojr%2BzFV9SYYoB5dJZteaVhSytF5kpMg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
long is the way and hard that out of Hell leads up to light
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOHWcCJGN6vtjRA8yi492_11pECUsYsSFrfn6c1YUa9X5Dz4dQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment