Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows
Date
Msg-id CANxoLDeyLrcAoMs38nN7XrEbdzNHX2fUP8Es+S01rzxjbhekWQ@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows  (Dave Page <dpage@pgadmin.org>)
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch]: RM #3464 pgAdmin 4 won't start on windows
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Ensure the runtime can startup properly if thereare