Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Impossible to start in Intellij IDEA under OSX #112

Open
vietj opened this issue Dec 7, 2017 · 2 comments
Open

Impossible to start in Intellij IDEA under OSX #112

vietj opened this issue Dec 7, 2017 · 2 comments

Comments

@vietj
Copy link

vietj commented Dec 7, 2017

On OSX, when I run from the CLI in Maven, it works fine.

When I run in Intellij the same tests (JUnit), I get:

18:48:42.926 [Thread-0] DEBUG ru.yandex.qatools.embed.postgresql.ext.LogWatchStreamProcessor - The files belonging to this database system will be owned by user "julien".
This user must also own the server process.


18:48:42.926 [Thread-1] DEBUG ru.yandex.qatools.embed.postgresql.ext.LogWatchStreamProcessor - initdb: invalid locale settings; check LANG and LC_* environment variables

18:48:42.926 [Thread-0] DEBUG ru.yandex.qatools.embed.postgresql.ext.LogWatchStreamProcessor - The files belonging to this database system will be owned by user "julien".

18:48:42.927 [Thread-0] DEBUG ru.yandex.qatools.embed.postgresql.ext.LogWatchStreamProcessor - This user must also own the server process.

18:48:42.927 [Thread-0] DEBUG ru.yandex.qatools.embed.postgresql.ext.LogWatchStreamProcessor - 

any idea ?

@dprajasekhar
Copy link

I am also facing same issue with win 10 . Code works perfectly with maven and fails when I run in the Intellij .

If some has any inputs do let me know .

@andreassiegel
Copy link

It works if you add additional environment variables to the run configuration of your tests:

LC_CTYPE=en_US.UTF-8;LC_ALL=en_US.UTF-8

image

Also see this answer on Stack Overflow: https://stackoverflow.com/a/59736683/6418426

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants