Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows
Дата
Msg-id CANxoLDeyLrcAoMs38nN7XrEbdzNHX2fUP8Es+S01rzxjbhekWQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers


On Tue, Sep 18, 2018 at 4:52 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Tue, Sep 18, 2018 at 12:18 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Hackers, 

Recently we have added basic startup logs and because of that we came to know that pgAdmin4 is not able to open the log file if the file path contains Cyrillic alphabet or Special characters.
fopen fails to open the file, so I have used _wfopen for Windows operating system.  
 
Attached is the patch to fix that issue. Please review it.   

I assume this doesn't affect the address file or startup log? Only the Python log?

    Yes. we have used fopen when we redirect the stderr to the Python log file. 


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
Akshay Joshi
Sr. Software Architect


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Ensure the runtime can startup properly if thereare