Modify

Ticket #339 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

south.migration package is not installed

Reported by: andy@… Owned by: andrew
Priority: critical Milestone: 0.7
Component: migrations Version: 0.7-pre
Keywords: Cc:

Description

$ ./manage.py schemamigration articles remove_attachment_slug --auto                                                                                  
  warn(msg, UserWarning)                                                                                                                                                            
Traceback (most recent call last):                                                                                                                                                  
  File "./manage.py", line 14, in <module>                                                                                                                                          
    execute_manager(settings_wrapper)                                                                                                                                               
  File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 439, in execute_manager                                                                          
    utility.execute()                                                                                                                                                               
  File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 380, in execute                                                                                  
    self.fetch_command(subcommand).run_from_argv(self.argv)                                                                                                                         
  File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 257, in fetch_command                                                                            
    klass = load_command_class(app_name, subcommand)                                                                                                                                
  File "/usr/lib/python2.5/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/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module                                                                                      
    __import__(name)                                                                                                                                                                
  File "/usr/lib/python2.5/site-packages/south/management/commands/schemamigration.py", line 24, in <module>                                                                        
    from south.migration import Migrations                                                                                                                                          
ImportError: No module named migration

It seems that the south.migration module is simply not listed in the list of packages in setup.py and is thus omitted during installation. Symliking to a working copy solves the problem.

Attachments

Change History

comment:1 Changed 4 years ago by andrew

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

Fixed in [3c55f23ca089].

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.