flathub / com.jetbrains.DataGrip

https://flathub.org/apps/details/com.jetbrains.DataGrip
5 stars 4 forks source link

Remove zypak-wrapper and set property to avoid issues with Chrome's sandboxing mechanism #96

Closed x80486 closed 1 year ago

x80486 commented 1 year ago

@rtmor, if you have a change, can you try this build?

flathubbot commented 1 year ago

Started test build 36909

flathubbot commented 1 year ago

Build 36909 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/19551/com.jetbrains.DataGrip.flatpakref
rtmor commented 1 year ago

@rtmor, if you have a change, can you try this build?

Will do. Encountered a new issue this morning with the previous build.

java.lang.RuntimeException: com.intellij.execution.ExecutionException: dbus[194]: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282. This is normally a bug in some application using the D-Bus library.  D-Bus not built with -rdynamic so unable to print a backtrace  in ExceptionUtil.rethrow(ExceptionUtil.java:132) Caused by: com.intellij.execution.ExecutionException: dbus[194]: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282. This is normally a bug in some application using the D-Bus library.  D-Bus not built with -rdynamic so unable to print a backtrace  in RemoteProcessSupport.acquire(RemoteProcessSupport.java:192) Suppressed: com.intellij.database.util.AsyncTask$Frame$FrameData: Async frame data: Submit -> Prepare connectio

I'll let you know if this new build sorts it out.

x80486 commented 1 year ago

OK. Great! There are several reports that zypak-wrapper is causing some unexpected behavior, so I think this setting is more straightforward, and targets exactly the issue, as reported in IDEAs YouTrack.

Let me know how it went on your side.

flathubbot commented 1 year ago

Started test build 37265

flathubbot commented 1 year ago

Build 37265 failed

flathubbot commented 1 year ago

Started test build 37269

flathubbot commented 1 year ago

Build 37269 failed

flathubbot commented 1 year ago

Started test build 37284

flathubbot commented 1 year ago

Build 37284 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/19928/com.jetbrains.DataGrip.flatpakref
x80486 commented 1 year ago

Tried this one and it's working, though I can't use DataGrip anymore. It's asking me to create an account even for the trial period :rage:

rtmor commented 1 year ago

So far so good.

Maybe try removing your previous application data to let it repopulate on load.

mv ${HOME}/.var/app/com.jetbrains.DataGrip{,.bk}

x80486 commented 1 year ago

Thanks, @rtmor! I'll see if I can check the content of /app/extra/DataGrip/bin/application.properties when the application is running, and if everything is fine I'll merge this one.

flathubbot commented 1 year ago

Started test build 37531

flathubbot commented 1 year ago

Build 37531 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/20176/com.jetbrains.DataGrip.flatpakref
flathubbot commented 1 year ago

Started test build 37532

flathubbot commented 1 year ago

Build 37532 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/20177/com.jetbrains.DataGrip.flatpakref
flathubbot commented 1 year ago

Started test build 37539

flathubbot commented 1 year ago

Build 37539 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/20184/com.jetbrains.DataGrip.flatpakref
x80486 commented 1 year ago

@rtmor, I did finally went in a slightly different route. I ended up using one of the built-in mechanism to override the config values. It requires less back and forth with the commands.

Let me know if you have any issues.

rtmor commented 1 year ago

Much nicer solution! Everything is working smooth over here :+1: