Giter Club home page Giter Club logo

Comments (2)

Zacharia2 avatar Zacharia2 commented on June 5, 2024
Traceback (most recent call last):
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\base\base.py", line 289, in ensure_connection
    self.connect()
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\utils\asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\base\base.py", line 270, in connect
    self.connection = self.get_new_connection(conn_params)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\utils\asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\postgresql\base.py", line 275, in get_new_connection
    connection = self.Database.connect(**conn_params)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\psycopg2\__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\Software\Scoop\apps\miniconda3\current\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Software\Scoop\apps\miniconda3\current\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\Software\Scoop\apps\miniconda3\current\Scripts\khoj.exe\__main__.py", line 4, in <module>
    from khoj.main import run
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\khoj\main.py", line 40, in <module>
    call_command("migrate", "--noinput")
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\core\management\__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\core\management\base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\core\management\base.py", line 106, in wrapper
    res = handle_func(*args, **kwargs)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\core\management\commands\migrate.py", line 117, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\migrations\executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\migrations\loader.py", line 58, in __init__
    self.build_graph()
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\migrations\loader.py", line 235, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\migrations\recorder.py", line 81, in applied_migrations
    if self.has_table():
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\migrations\recorder.py", line 57, in has_table
    with self.connection.cursor() as cursor:
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\utils\asyncio.py", line 26, in inner
    return func(*args, **kwargs)
r
    return self._cursor()
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\base\base.py", line 306, in _cursor
    self.ensure_connection()
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\utils\asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\base\base.py", line 288, in ensur    with self.wrap_database_errors:
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\base\base.py", line 289, in ensure_connection
    self.connect()
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\utils\asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\base\base.py", line 270, in connect
    self.connection = self.get_new_connection(conn_params)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\utils\asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\django\db\backends\postgresql\base.py", line 275, in get_new_connection
    connection = self.Database.connect(**conn_params)
  File "D:\Software\Scoop\apps\miniconda3\current\lib\site-packages\psycopg2\__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError

from khoj.

Zacharia2 avatar Zacharia2 commented on June 5, 2024

Maybe I should try docker or Linux.

from khoj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.