SHARE
TWEET

Untitled

a guest Jul 19th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. python manage.py migrate
  2. Operations to perform:
  3.   Apply all migrations: admin, auth, blog, contenttypes, sessions
  4. Running migrations:
  5.   Applying blog.0001_initial...Traceback (most recent call last):
  6.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
  7.     return self.cursor.execute(sql)
  8. psycopg2.errors.UndefinedObject: no existe la clase de operadores «varchar_pattern_ops» para el método de acceso «gin»
  9.  
  10.  
  11. The above exception was the direct cause of the following exception:
  12.  
  13. Traceback (most recent call last):
  14.   File "manage.py", line 21, in <module>
  15.     main()
  16.   File "manage.py", line 17, in main
  17.     execute_from_command_line(sys.argv)
  18.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  19.     utility.execute()
  20.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
  21.     self.fetch_command(subcommand).run_from_argv(self.argv)
  22.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
  23.     self.execute(*args, **cmd_options)
  24.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
  25.     output = self.handle(*args, **options)
  26.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
  27.     res = handle_func(*args, **kwargs)
  28.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 234, in handle
  29.     fake_initial=fake_initial,
  30.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/migrations/executor.py", line 117, in migrate
  31.     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  32.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
  33.     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  34.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
  35.     state = migration.apply(state, schema_editor)
  36.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/migrations/migration.py", line 124, in apply
  37.     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  38.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/migrations/operations/models.py", line 744, in database_forwards
  39.     schema_editor.add_index(model, self.index)
  40.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/base/schema.py", line 335, in add_index
  41.     self.execute(index.create_sql(model, self), params=None)
  42.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/base/schema.py", line 137, in execute
  43.     cursor.execute(sql, params)
  44.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/utils.py", line 99, in execute
  45.     return super().execute(sql, params)
  46.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute
  47.     return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  48.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
  49.     return executor(sql, params, many, context)
  50.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
  51.     return self.cursor.execute(sql, params)
  52.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  53.     raise dj_exc_value.with_traceback(traceback) from exc_value
  54.   File "/home/hlozada/.local/share/virtualenvs/siete-yWHkfWg0/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute
  55.     return self.cursor.execute(sql)
  56. django.db.utils.ProgrammingError: no existe la clase de operadores «varchar_pattern_ops» para el método de acceso «gin»
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top