-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopped working on IntelliJ 2019.2 #11
Comments
Hi, thanks for the report. I will try to upgrade my system and let you know. |
I am still using macOS 10.14.5, but experience the same issue. I did update IntelliJ to I tried |
I also updated to IntelliJ |
I ran @renedewaele Can you confirm the behaviour with |
Hi, I saw the same: |
Hey guys, thanks for the investigation. I did upgrade to IntelliJ 2019.2 (build |
@tomix26 In my case the problem is still exists. But I have two colleagues with almost the same setup (macOS 10.14.x and IntelliJ 2019.2) who don't experience the described behaviour. So it's very likely that it is some rare combination of installed programs and IntelliJ 2019.2 Edit I just downgraded to IntelliJ 2019.1.4 and it works like a charm. So i guess it's more an IntelliJ 2019.2 issue and less an embedded-postgres issue. |
I had exact problem with otj-pg-embedded and spent too many hours on the issue (downgrading IntelliJ didn't help). |
and if you using zsh, put these 2 exports into .zshrc file and restart Intellij |
Just my 2 cents: you can also put the locale environment variables in your gradle build file like this:
Full answer here: opentable#65 (comment) |
I am having this problem too, on all of
with versions
Exporting the environment variables provided by @wiktord did not fix it for IntelliJ (2020.3), or on the MacOS terminals.
Turns out in the end that it was the missing
|
@mark-anzcro This is another problem that was reported here: zonkyio/embedded-postgres-binaries#21 |
This used to work for me but it has stopped working after the BigSur upgrade.
|
it works, thanks bro, you saved my day. |
Since we originally implemented these and had problems running the tests on macOS, things seem to have gotten fixed. So this commit simply removes the EnabledOnOs annotation that restricted to Linux. I don't really care about Windows, and doubt anyone is using this there anyway. See: zonkyio/embedded-postgres#32 zonkyio/embedded-postgres#40 Also see: zonkyio/embedded-postgres#11 zonkyio/embedded-postgres#11 (comment) for the original solution regarding the LC_CTYPE and LC_ALL environment variables. Closes #80 Closes #152
Since we originally implemented these and had problems running the tests on macOS, things seem to have gotten fixed. So this commit simply removes the EnabledOnOs annotation that restricted to Linux. I don't really care about Windows, and doubt anyone is using this there anyway. See: zonkyio/embedded-postgres#32 zonkyio/embedded-postgres#40 Also see: zonkyio/embedded-postgres#11 zonkyio/embedded-postgres#11 (comment) for the original solution regarding the LC_CTYPE and LC_ALL environment variables. Closes #80 Closes #152
For those running into this on MacOS and using Maven Surefire, you can set the LC_* environment variables like so: <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<reuseForks>true</reuseForks>
<environmentVariables>
<!-- required for running embedded PostgreSQL on MacOS -->
<!-- see: https://github.com/zonkyio/embedded-postgres/issues/11#issuecomment-533468269 -->
<LC_CTYPE>en_US.UTF-8</LC_CTYPE>
<LC_ALL>en_US.UTF-8</LC_ALL>
</environmentVariables>
</configuration>
</plugin> |
Using the builder with the localconfig works too if you want the programmatic way.
|
Hey, just like for the original otj-pg-embedded project this fork stopped working on my system since upgrading to Mac OS 10.14.6 (latest version). The error I get is
java.lang.IllegalStateException: Process [/var/folders/l_/c1b_7t2n39j48k7sbpp54zy00000gn/T/embedded-pg/PG-8eddc1e460ca1c5597350c162933683c/bin/initdb, -A, trust, -U, postgres, -D, /var/folders/l_/c1b_7t2n39j48k7sbpp54zy00000gn/T/epg3835758492450081687, -E, UTF-8] failed
.Deleting the temporary
embedded-pg
folder does not solve the problem. Do you have any ideas?The text was updated successfully, but these errors were encountered: