cybertec-postgresql / patroni-windows-packaging

Automate installing and launching of Patroni under Windows
Other
14 stars 7 forks source link

Encoding issue in postgresql python script when error launching postgresql cluster #64

Closed geek7 closed 1 year ago

geek7 commented 1 year ago

I haven't the trace any more but I had an issue with line 1317 in the script init.py in directory "C:\PES\patroni\patroni\postgresql"

the decode method was KO about the 'utf-8' encoding

I had to replace 'utf-8' with sys.stdout.encoding using "import sys" instruction

geek7 commented 1 year ago

this bug should be in patroni project sorry, the file is under : patroni/postgresql/init.py I haven't any more the traces or the way to reproduce

geek7 commented 1 year ago

This issue can be closed