کسی میدونه چ طور این مشکل رو حل کنم ؟
pgAdmin Runtime Environment
Python Path: "C:\Program Files\PostgreSQL\10\pgAdmin 4\python\python.exe"
Runtime Config File: "C:\Users\Amirhossein\AppData\Roaming\pgadmin\runtime_config.json"
pgAdmin Config File: "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\config.py"
Webapp Path: "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgAdmin4.py"
pgAdmin Command: "C:\Program Files\PostgreSQL\10\pgAdmin 4\python\python.exe -s C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgAdmin4.py"
Environment:
- ALLUSERSPROFILE: C:\ProgramData
- APPDATA: C:\Users\Amirhossein\AppData\Roaming
- CHROME_CRASHPAD_PIPE_NAME: \.\pipe\crashpad_8716_OFFFAKHVKIHAUZRH
- CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch now?|LEFT_TO_RIGHT
- CommonProgramFiles: C:\Program Files\Common Files
- CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
- CommonProgramW6432: C:\Program Files\Common Files
- COMPUTERNAME: DESKTOP-VQ60MBF
- ComSpec: C:\Windows\system32\cmd.exe
- DriverData: C:\Windows\System32\Drivers\DriverData
- HOMEDRIVE: C:
- HOMEPATH: \Users\Amirhossein
- LOCALAPPDATA: C:\Users\Amirhossein\AppData\Local
- LOGONSERVER: \DESKTOP-VQ60MBF
- NUMBER_OF_PROCESSORS: 8
- OneDrive: C:\Users\Amirhossein\OneDrive
- OneDriveConsumer: C:\Users\Amirhossein\OneDrive
- OS: Windows_NT
- Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\nodejs\;C:\Users\Amirhossein\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Amirhossein\AppData\Local\Programs\Python\Python39\;C:\Users\Amirhossein\AppData\Local\Microsoft\WindowsApps;;C:\Users\Amirhossein\AppData\Roaming\npm;C:\Users\Amirhossein\AppData\Local\Programs\Microsoft VS Code\bin
- PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
- PGADMIN_INT_KEY: ba8d206f-00ce-4831-adfc-1e3fb5a6b30e
- PGADMIN_INT_PORT: 59928
- PGADMIN_SERVER_MODE: OFF
- PROCESSOR_ARCHITECTURE: AMD64
- PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
- PROCESSOR_LEVEL: 6
- PROCESSOR_REVISION: 5e03
- ProgramData: C:\ProgramData
- ProgramFiles: C:\Program Files
- ProgramFiles(x86): C:\Program Files (x86)
- ProgramW6432: C:\Program Files
- PSModulePath: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
- PUBLIC: C:\Users\Public
- SESSIONNAME: Console
- SystemDrive: C:
- SystemRoot: C:\Windows
- TEMP: C:\Users\AMIRHO~1\AppData\Local\Temp
- TMP: C:\Users\AMIRHO~1\AppData\Local\Temp
- USERDOMAIN: DESKTOP-VQ60MBF
- USERDOMAIN_ROAMINGPROFILE: DESKTOP-VQ60MBF
- USERNAME: Amirhossein
- USERPROFILE: C:\Users\Amirhossein
-
windir: C:\Windows
Traceback (most recent call last):
File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgAdmin4.py", line 98, in <module>
app = create_app()
File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgadmin__init__.py", line 349, in create_app
if not os.path.exists(SQLITE_PATH) or get_version() == -1:
File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgadmin\setup\db_version.py", line 19, in get_version
return version.value
AttributeError: 'NoneType' object has no attribute 'value'