Ticket #345 (closed defect: invalid)

Opened 5 years ago

Last modified 4 years ago

ImportError: No module named parser

Reported by: anonymous Owned by: andrew
Priority: major Milestone: 0.7
Component: commands Version: 0.6.2
Keywords: Cc:

Description

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
Django version 1.1.1

Traceback (most recent call last):

File "manage.py", line 11, in <module>

execute_manager(settings)

File "/usr/local/jython2.5.1/Lib/site-packages/django/core/management/init.py", line 362, in execute_manager

utility.execute()

File "/usr/local/jython2.5.1/Lib/site-packages/django/core/management/init.py", line 303, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)

File "/usr/local/jython2.5.1/Lib/site-packages/django/core/management/init.py", line 257, in fetch_command

klass = load_command_class(app_name, subcommand)

File "/usr/local/jython2.5.1/Lib/site-packages/django/core/management/init.py", line 257, in fetch_command

klass = load_command_class(app_name, subcommand)

File "/usr/local/jython2.5.1/Lib/site-packages/django/core/management/init.py", line 67, in load_command_class

module = import_module('%s.management.commands.%s' % (app_name, name))

File "/usr/local/jython2.5.1/Lib/site-packages/django/utils/importlib.py", line 35, in import_module

import(name)

File "/home/js/work/orgsite/../orgsite/lib/south/management/commands/startmigration.py", line 27, in <module>

from south import migration, modelsinspector

File "/home/js/work/orgsite/../orgsite/lib/south/modelsinspector.py", line 9, in <module>

import modelsparser

File "/home/js/work/orgsite/../orgsite/lib/south/modelsparser.py", line 9, in <module>

import parser

ImportError?: No module named parser

Attachments

importparser.diff (349 bytes) - added by cbarrobes@… 4 years ago.
Patch to remove the (unused) reference to parser

Change History

comment:1 Changed 5 years ago by andrew

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone set to 0.7

The parser module has already been removed in trunk, so I'm closing this as invalid. Unfortunately, said removal is not yet in a release, but 0.7 will be released around the same time Django 1.2 is.

comment:2 follow-up: ↓ 3 Changed 4 years ago by cbarrobes@…

Trunk (and 0.7.1) still include an import parser in management/commands/schemamigration.py

comment:3 in reply to: ↑ 2 Changed 4 years ago by cbarrobes@…

Traceback (most recent call last):
  File "/home/carles/software/jython2.5.1/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/home/carles/software/jython2.5.1/Lib/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/home/carles/software/jython2.5.1/Lib/site-packages/django/core/management/__init__.py", line 303, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/carles/software/jython2.5.1/Lib/site-packages/django/core/management/__init__.py", line 257, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/carles/software/jython2.5.1/Lib/site-packages/django/core/management/__init__.py", line 257, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/carles/software/jython2.5.1/Lib/site-packages/django/core/management/__init__.py", line 67, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/carles/software/jython2.5.1/Lib/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/carles/software/jython2.5.1/Lib/site-packages/South-0.7.1-py2.5.egg/south/management/commands/schemamigration.py", line 11, in <module>
    import parser
ImportError: No module named parser

Changed 4 years ago by cbarrobes@…

Patch to remove the (unused) reference to parser

comment:4 Changed 4 years ago by andrew

For posterity: #474 was opened regarding those last two comments.

Note: See TracTickets for help on using tickets.