Changes between Initial Version and Version 1 of Ticket #7910


Ignore:
Timestamp:
Jul 23, 2008, 6:37:04 AM (16 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7910 – Description

    initial v1  
    11To put it in a nutshell someone should add :
    2 from django.core.management.base import CommandError
     2{{{from django.core.management.base import CommandError}}}
    33At the top of the file called "compilemessages.py"
    44
    55Traceback :
    6 """
     6{{{
    77django-survey\examples>django-admin.py compilemessages  --setings="examples.settings"
    88Usage: C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\bin\django-admin.py compilemessages [options]
     
    1010Compiles .po files to .mo files for use with builtin gettext support.
    1111
    12 C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\bin\django-admin.py: error: no such option: -
    13 -setings
     12C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\bin\django-admin.py: error: no such option: --setings
    1413
    15 C:\yml\_myScript_\dj_things\web_development\django-survey\examples>django-admin.py compilemessages  --settings="examples
    16 .settings"
     14C:\yml\_myScript_\dj_things\web_development\django-survey\examples>django-admin.py compilemessages  --settings="examples.settings"
    1715Traceback (most recent call last):
    18   File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\bin\django-admin.py", line 5, in <mod
    19 ule>
     16  File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\bin\django-admin.py", line 5, in <module>
    2017    management.execute_from_command_line()
    21   File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\__init__.py", line 29
    22 2, in execute_from_command_line
     18  File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\__init__.py", line 292, in execute_from_command_line
    2319    utility.execute()
    24   File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\__init__.py", line 24
    25 8, in execute
     20  File "C:\yml\_myScript_\dj_things\web_development\svn_viewsexternal_libs\django\core\management\__init__.py", line 248, in execute
    2621    self.fetch_command(subcommand).run_from_argv(self.argv)
    27   File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\base.py", line 77, in
    28  run_from_argv
     22  File "C:\yml\_myScript_\dj_things\web_development\svn_viewsexternal_libs\django\core\management\base.py", line 77, in run_from_argv
    2923    self.execute(*args, **options.__dict__)
    30   File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\base.py", line 91, in
    31  execute
     24  File "C:\yml\_myScript_\dj_things\web_development\svn_viewsexternal_libs\django\core\management\base.py", line 91, in execute
    3225    output = self.handle(*args, **options)
    33   File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\commands\compilemessa
    34 ges.py", line 58, in handle
     26  File "C:\yml\_myScript_\dj_things\web_development\svn_viewsexternal_libs\django\core\management\commands\compilemessages.py", line 58, in handle
    3527    compile_messages(locale)
    3628  File "C:\yml\_myScript_\dj_things\web_development\svn_views\external_libs\django\core\management\commands\compilemessages.py", line 22, in compile_messages
    37     raise CommandError("This script should be run from the Django SVN tree or your project or app tree, or with the sett
    38 ings module specified.")
     29    raise CommandError("This script should be run from the Django SVN tree or your project or app tree, or with the settings module specified.")
    3930NameError: global name 'CommandError' is not defined
    40 
    41 """
     31}}}
Back to Top