Changes between Initial Version and Version 4 of Ticket #24424


Ignore:
Timestamp:
02/27/15 10:35:17 (8 years ago)
Author:
Adam Hayward
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24424

    • Property Owner changed from nobody to Adam Hayward
    • Property Status changed from new to assigned
    • Property Has patch set
    • Property Needs tests set
  • Ticket #24424 – Description

    initial v4  
    1414
    1515Will provide the patch to fix this shortly. Any indication of how to create a test case would be appreciated.
     16
     17The traceback raised is:
     18
     19{{{
     20#!div style="font-size: 80%"
     21{{{
     22Traceback (most recent call last):
     23  File "manage.py", line 12, in <module>
     24    execute_from_command_line(sys.argv)
     25  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
     26    utility.execute()
     27  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
     28    self.fetch_command(subcommand).run_from_argv(self.argv)
     29  File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
     30    super(Command, self).run_from_argv(argv)
     31  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
     32    self.execute(*args, **options.__dict__)
     33  File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
     34    super(Command, self).execute(*args, **options)
     35  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
     36    output = self.handle(*args, **options)
     37  File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 88, in handle
     38    failures = test_runner.run_tests(test_labels)
     39  File "/usr/local/lib/python2.7/site-packages/django/test/runner.py", line 147, in run_tests
     40    old_config = self.setup_databases()
     41  File "/usr/local/lib/python2.7/site-packages/django/test/runner.py", line 109, in setup_databases
     42    return setup_databases(self.verbosity, self.interactive, **kwargs)
     43  File "/usr/local/lib/python2.7/site-packages/django/test/runner.py", line 299, in setup_databases
     44    serialize=connection.settings_dict.get("TEST", {}).get("SERIALIZE", True),
     45  File "/usr/local/lib/python2.7/site-packages/django/db/backends/creation.py", line 377, in create_test_db
     46    test_flush=True,
     47  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 115, in call_command
     48    return klass.execute(*args, **defaults)
     49  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
     50    output = self.handle(*args, **options)
     51  File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 161, in handle
     52    executor.migrate(targets, plan, fake=options.get("fake", False))
     53  File "/usr/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 68, in migrate
     54    self.apply_migration(migration, fake=fake)
     55  File "/usr/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 102, in apply_migration
     56    migration.apply(project_state, schema_editor)
     57  File "/usr/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 108, in apply
     58    operation.database_forwards(self.app_label, schema_editor, project_state, new_state)
     59  File "/usr/local/lib/python2.7/site-packages/django/db/migrations/operations/fields.py", line 84, in database_forwards
     60    schema_editor.remove_field(from_model, from_model._meta.get_field_by_name(self.name)[0])
     61  File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/schema.py", line 196, in remove_field
     62    self._remake_table(model, delete_fields=[field])
     63  File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/schema.py", line 145, in _remake_table
     64    self.quote_name(model._meta.db_table),
     65  File "/usr/local/lib/python2.7/site-packages/django/db/backends/schema.py", line 103, in execute
     66    cusror.execute(sql, params)
     67  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
     68    return self.cusror.execute(sql, params)
     69  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
     70    six.reraise(dj_exc_type, dj_exc_value, traceback)
     71  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
     72    return self.cusror.execute(sql, params)
     73  File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 488, in execute
     74    return Database.Cusror.execute(self, query, params)
     75django.db.utils.OperationalError: near ")": syntax error
     76}}}
     77}}}
Back to Top