Vis problemdetaljer
| ID | Prosjekt | Kategori | Visningsstatus | Dato lagt inn | Siste oppdatering |
|---|---|---|---|---|---|
| 0000122 | BAS21 | BAS21 | Offentlig | 2025-07-02 08:19 | 2026-05-18 01:04 |
| Rapportert av | espen@ronning.tv | Delegert til | chreide | ||
| Prioritet | Normal | Alvorlighetsgrad | Mindre | Mulighet for å reprodusere | Alltid |
| Status | Løst | Løsningsstatus | Fikset | ||
| Plattform | X64 | OS | Windows 11 | Versjon | 2.0.0-beta36 |
| Oppsummering | 0000122: Feil ved tilkobling til PostgreSQL | ||||
| Beskrivelse | Programmet henger ved "Setter opp tilkobling mot database". Databasen ligger hos Neon (neon.tech), og det fungerer fint fra en gammel PC (dog på 2.0.0-beta33). Problemet dukker opp på en helt nyinstallert PC. Har forsøkt å deaktivere brannmur og forsøkt med 2 forskjellige internettforbindelser. pg_isready returnerer 'Server is accepting connections' Legger ved backend-error.log | ||||
| Nøkkelord | Ingen nøkkelord tilknyttet | ||||
| Filvedlegg | bas21-backend-error.log (4,318 bytes)
2025-07-02 08:07:18,656 - ERROR - [2.0.0.30] ERROR: Exception in ASGI application Traceback (most recent call last): File "uvicorn\protocols\http\httptools_impl.py", line 409, in run_asgi File "uvicorn\middleware\proxy_headers.py", line 60, in __call__ File "fastapi\applications.py", line 1054, in __call__ File "starlette\applications.py", line 113, in __call__ File "starlette\middleware\errors.py", line 187, in __call__ File "starlette\middleware\errors.py", line 165, in __call__ File "starlette\middleware\exceptions.py", line 62, in __call__ File "starlette\_exception_handler.py", line 53, in wrapped_app File "starlette\_exception_handler.py", line 42, in wrapped_app File "starlette\routing.py", line 715, in __call__ File "starlette\routing.py", line 735, in app File "starlette\routing.py", line 288, in handle File "starlette\routing.py", line 76, in app File "starlette\_exception_handler.py", line 53, in wrapped_app File "starlette\_exception_handler.py", line 42, in wrapped_app File "starlette\routing.py", line 73, in app File "fastapi\routing.py", line 301, in app File "fastapi\routing.py", line 212, in run_endpoint_function File "bascore\webapi\main.py", line 105, in initdb File "bascore\webapi\db\__init__.py", line 70, in init_database File "<string>", line 2, in create_engine File "sqlalchemy\util\deprecations.py", line 281, in warned File "sqlalchemy\engine\create.py", line 599, in create_engine File "sqlalchemy\dialects\postgresql\psycopg.py", line 407, in import_dbapi File "psycopg\__init__.py", line 9, in <module> File "psycopg\pq\__init__.py", line 117, in <module> File "psycopg\pq\__init__.py", line 109, in import_from_libpq ImportError: no pq wrapper available. Attempts made: - couldn't import psycopg 'c' implementation: No module named 'psycopg_c' - couldn't import psycopg 'binary' implementation: DLL load failed while importing pq: Den angitte modulen ble ikke funnet. - couldn't import psycopg 'python' implementation: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType' 2025-07-02 08:08:30,205 - ERROR - [2.0.0.30] ERROR: Exception in ASGI application Traceback (most recent call last): File "uvicorn\protocols\http\httptools_impl.py", line 409, in run_asgi File "uvicorn\middleware\proxy_headers.py", line 60, in __call__ File "fastapi\applications.py", line 1054, in __call__ File "starlette\applications.py", line 113, in __call__ File "starlette\middleware\errors.py", line 187, in __call__ File "starlette\middleware\errors.py", line 165, in __call__ File "starlette\middleware\exceptions.py", line 62, in __call__ File "starlette\_exception_handler.py", line 53, in wrapped_app File "starlette\_exception_handler.py", line 42, in wrapped_app File "starlette\routing.py", line 715, in __call__ File "starlette\routing.py", line 735, in app File "starlette\routing.py", line 288, in handle File "starlette\routing.py", line 76, in app File "starlette\_exception_handler.py", line 53, in wrapped_app File "starlette\_exception_handler.py", line 42, in wrapped_app File "starlette\routing.py", line 73, in app File "fastapi\routing.py", line 301, in app File "fastapi\routing.py", line 212, in run_endpoint_function File "bascore\webapi\main.py", line 105, in initdb File "bascore\webapi\db\__init__.py", line 70, in init_database File "<string>", line 2, in create_engine File "sqlalchemy\util\deprecations.py", line 281, in warned File "sqlalchemy\engine\create.py", line 599, in create_engine File "sqlalchemy\dialects\postgresql\psycopg.py", line 407, in import_dbapi File "psycopg\__init__.py", line 9, in <module> File "psycopg\pq\__init__.py", line 117, in <module> File "psycopg\pq\__init__.py", line 109, in import_from_libpq ImportError: no pq wrapper available. Attempts made: - couldn't import psycopg 'c' implementation: No module named 'psycopg_c' - couldn't import psycopg 'binary' implementation: DLL load failed while importing pq: Den angitte modulen ble ikke funnet. - couldn't import psycopg 'python' implementation: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType' | ||||
| Dato endret | Brukernavn | Felt | Endring |
|---|---|---|---|
| 2025-07-02 08:19 | espen@ronning.tv | Ny sak | |
| 2025-07-02 08:19 | espen@ronning.tv | Status | Ny => Delegert |
| 2025-07-02 08:19 | espen@ronning.tv | Delegert til | => chreide |
| 2025-07-02 08:19 | espen@ronning.tv | Fil lagt til:: bas21-backend-error.log | |
| 2026-05-18 01:04 | chreide | Status | Delegert => Løst |
| 2026-05-18 01:04 | chreide | Løsningsstatus | Åpen => Fikset |
| 2026-05-18 01:04 | chreide | Notat lagt til: 0000268 |