From: | Durumdara <durumdara(at)gmail(dot)com> |
---|---|
To: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
Cc: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Can't start 4.6 |
Date: | 2019-05-13 13:47:21 |
Message-ID: | CAEcMXh=PiTFzjNTRzfJ2UTUSZWz5BvaY4dBTbkMGXmcseLVw2A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hello!
Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> ezt írta (időpont:
2019. máj. 13., H, 8:55):
> Hi,
>
> On Mon, May 13, 2019 at 12:21 PM Durumdara <durumdara(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Derek Ealy | 2019-05-13 14:22:56 | Re: backing up Query Editor files |
Previous Message | Khushboo Vashi | 2019-05-13 09:58:33 | Re: default role privileges |