Re: Can't start 4.6
От | Aditya Toshniwal |
---|---|
Тема | Re: Can't start 4.6 |
Дата | |
Msg-id | CAM9w-_=UuBJBwFfCYXDHV9MRnhh8SLga7TsFG7DSth1TJmkYUQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Can't start 4.6 (Durumdara <durumdara@gmail.com>) |
Ответы |
Re: Can't start 4.6
(Durumdara <durumdara@gmail.com>)
|
Список | pgadmin-support |
Hi,
On Mon, May 13, 2019 at 7:17 PM Durumdara <durumdara@gmail.com> wrote:
Hello!Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> ezt írta (időpont: 2019. máj. 13., H, 8:55):Hi,On Mon, May 13, 2019 at 12:21 PM Durumdara <durumdara@gmail.com> wrote:Hello!I tried to find any files with "pgadm*.log" in all drives.The files start with a "." dot. Try search again with ".pgAdmin*"Firstly the new version didn't like "t:\" path.Traceback (most recent call last):File "D:/Programok/pgAdmin 4/v4/web/pgAdmin4.py", line 97, in <module>app = create_app()File "D:\Programok\pgAdmin 4\v4\web\pgadmin\__init__.py", line 241, in create_appcreate_app_data_directory(config)File "D:\Programok\pgAdmin 4\v4\web\pgadmin\setup\data_directory.py", line 24, in create_app_data_directoryos.chmod(os.path.dirname(config.SQLITE_PATH), 0o700)OSError: [WinError 87] A paraméter nem megfelelő: 't:\\'----Then I replaced with "/", but it is also problematic.SQLITE_PATH = 't:/pgadmin4.db'File "D:\Programok\pgAdmin 4\v4\web\pgadmin\setup\data_directory.py", line 24, in create_app_data_directoryos.chmod(os.path.dirname(config.SQLITE_PATH), 0o700)OSError: [WinError 87] A paraméter nem megfelelő: 't:/'-----Traceback (most recent call last):File "D:/Programok/pgAdmin 4/v4/web/pgAdmin4.py", line 97, in <module>app = create_app()File "D:\Programok\pgAdmin 4\v4\web\pgadmin\__init__.py", line 241, in create_appcreate_app_data_directory(config)File "D:\Programok\pgAdmin 4\v4\web\pgadmin\setup\data_directory.py", line 24, in create_app_data_directoryos.chmod(os.path.dirname(config.SQLITE_PATH), 0o700)OSError: [WinError 87] A paraméter nem megfelelő: 't:\\'-----The config local is:import loggingCONSOLE_LOG_LEVEL = logging.DEBUGFILE_LOG_LEVEL = logging.DEBUG# Log format.CONSOLE_LOG_FORMAT = '%(asctime)s: %(levelname)s\t%(name)s:\t%(message)s'FILE_LOG_FORMAT = '%(asctime)s: %(levelname)s\t%(name)s:\t%(message)s'# Log file name#LOG_FILE = 't:/pgadmin4.log'LOG_FILE = 'd:/temp/pgadmin4.log'SQLITE_PATH = 't:\\pgadmin4.db'
----How can I define the path to work as needed?All versions before 4.6 work with these format. What I can do?
Try creating a directory under "t:" and set sqlite path to that directory. I suspect it is failing when it is trying to give permissions.
Thanks!dd
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
В списке pgadmin-support по дате отправления: