admin/doc not working

36 views
Skip to first unread message

Thomas Lionel Smets

unread,
Jul 22, 2012, 5:36:24 PM7/22/12
to django...@googlegroups.com
The admin/doc was not working as I did not installed in my virtual_env docutils.
So a few commands later :
(env1)Thomas-SMETSs-MacBook-Pro:mmf tsmets$ easy_install docutils
Searching for docutils
Best match: docutils 0.9.1
Processing docutils-0.9.1.tar.gz
Running docutils-0.9.1/setup.py -q bdist_egg --dist-dir /var/folders/aj/ajWxX+uAH+GwVYy18H9T7++++TI/-Tmp-/easy_install-yJvLVG/docutils-0.9.1/egg-dist-tmp-ydaSpK
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
Adding docutils 0.9.1 to easy-install.pth file
Installing rst2html.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2latex.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2man.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2odt.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2odt_prepstyles.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2pseudoxml.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2s5.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2xetex.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rst2xml.py script to /Users/tsmets/Documents/python/MMF/env1/bin
Installing rstpep2html.py script to /Users/tsmets/Documents/python/MMF/env1/bin

Installed /Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages/docutils-0.9.1-py2.6.egg
Processing dependencies for docutils
Finished processing dependencies for docutils
(env1)Thomas-SMETSs-MacBook-Pro:mmf tsmets$ ./manage.py runserver 

Validating models...

0 errors found
Django version 1.4, using settings 'mmf.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[22/Jul/2012 21:54:42] "GET /admin/doc/ HTTP/1.1" 500 196996

Now everything seems out of order :

ValueError at /

unknown locale: UTF-8
Request Method:GET
Request URL:http://localhost:8000/
Django Version:1.4
Exception Type:ValueError
Exception Value:
unknown locale: UTF-8
Exception Location:/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/locale.py in _parse_localename, line 391
Python Executable:/Users/tsmets/Documents/python/MMF/env1/bin/python
Python Version:2.6.1
Python Path:
['/Users/tsmets/Documents/python/MMF/mmf.svn/server/trunk/mmf',
 '/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
 '/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages/pip-1.1-py2.6.egg',
 '/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages/Django-1.4-py2.6.egg',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages/django_extensions-0.9-py2.6.egg',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages/docutils-0.9.1-py2.6.egg',
'/Users/tsmets/Documents/python/MMF/env1/lib/python26.zip',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/plat-darwin',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/plat-mac',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/plat-mac/lib-scriptpackages',
'/Users/tsmets/Documents/python/MMF/env1/Extras/lib/python',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/lib-tk',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/lib-old',
'/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/Users/tsmets/Documents/python/MMF/env1/lib/python2.6/site-packages']
Server time:Sun, 22 Jul 2012 23:01:36 +0200



????
All pages are now broken ...



\T,

OS : Mac 10.6
Installed package in my Virtual env.
(env1)Thomas-SMETSs-MacBook-Pro:mmf tsmets$ yolk -l
Django          - 1.4          - active 
Python          - 2.6.1        - active development (/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload)
django-extensions - 0.9          - active 
docutils        - 0.9.1        - active 
pip             - 1.1          - active 
setuptools      - 0.6c11       - active 
wsgiref         - 0.1.2        - active development (/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6)
yolk            - 0.4.3        - active 


Thomas Lionel Smets

unread,
Jul 22, 2012, 6:01:06 PM7/22/12
to django...@googlegroups.com
Fixed ...

Sorry for posting too early :(

\T,
Reply all
Reply to author
Forward
0 new messages