Re: Can't start 4.6

Поиск
Список
Период
Сортировка
От Durumdara
Тема Re: Can't start 4.6
Дата
Msg-id CAEcMXh=PiTFzjNTRzfJ2UTUSZWz5BvaY4dBTbkMGXmcseLVw2A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can't start 4.6  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Ответы Re: Can't start 4.6
Список pgadmin-support
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_app
    create_app_data_directory(config)
  File "D:\Programok\pgAdmin 4\v4\web\pgadmin\setup\data_directory.py", line 24, in create_app_data_directory
    os.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_directory
    os.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_app
    create_app_data_directory(config)
  File "D:\Programok\pgAdmin 4\v4\web\pgadmin\setup\data_directory.py", line 24, in create_app_data_directory
    os.chmod(os.path.dirname(config.SQLITE_PATH), 0o700)
OSError: [WinError 87] A paraméter nem megfelelő: 't:\\'

-----

The config local is:

import logging

CONSOLE_LOG_LEVEL = logging.DEBUG
FILE_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?

Thanks!

dd

В списке pgadmin-support по дате отправления:

Предыдущее
От: Khushboo Vashi
Дата:
Сообщение: Re: default role privileges
Следующее
От: Derek Ealy
Дата:
Сообщение: Re: backing up Query Editor files