`django-cms`: When i tried to perform `python manage.py migrate` in 
postgresql, it is returning a `TypeError` but it is not giving any error in 
`sqlite3`.

This is my full traceback:

    File "manage.py", line 22, in <module>
        execute_from_command_line(sys.argv)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/core/management/__init__.py",
 
line 364, in execute_from_command_line
        utility.execute()
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/core/management/__init__.py",
 
line 356, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/core/management/base.py",
 
line 283, in run_from_argv
        self.execute(*args, **cmd_options)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/core/management/base.py",
 
line 330, in execute
        output = self.handle(*args, **options)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/core/management/commands/migrate.py",
 
line 204, in handle
        fake_initial=fake_initial,
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/db/migrations/executor.py",
 
line 115, in migrate
        state = self._migrate_all_forwards(state, plan, full_plan, 
fake=fake, fake_initial=fake_initial)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/db/migrations/executor.py",
 
line 145, in _migrate_all_forwards
        state = self.apply_migration(state, migration, fake=fake, 
fake_initial=fake_initial)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/db/migrations/executor.py",
 
line 244, in apply_migration
        state = migration.apply(state, schema_editor)
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/cms/migrations/0019_set_pagenode.py",
 
line 68, in apply
        connection.introspection.get_table_description(connection.cursor(), 
'cms_page')
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/db/backends/postgresql/introspection.py",
 
line 87, in get_table_description
        )) for line in cursor.description
      File 
"/home/vagrant/.virtualenvs/pmvp/lib/python3.6/site-packages/django/db/backends/postgresql/introspection.py",
 
line 87, in <listcomp>
        )) for line in cursor.description
    TypeError: sequence index must be integer, not 'slice'

Can anyone help me out?

-- 
Message URL: 
https://groups.google.com/d/msg/django-cms-developers/topic-id/message-id
Unsubscribe: send a message to 
django-cms-developers+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"django CMS developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-cms-developers+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-cms-developers/75713000-0ef8-4e45-aa9e-e55e74a2271f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to