Re: [Builder] unable to build+run builder from stable builder package (flathub)




Am 17.12.2017 um 23:10 schrieb Christian Hergert:
On 12/17/2017 02:34 AM, Felix Schwarz wrote:

A wild guess from me: I was unable to run two instances of builder at the same
time (even with flatpak, e.g. stable from flathub and nightly). It only brings
the running instance to the front. Also "Ctrl+Enter" from gnome shell does not
start a new instance.
Maybe these two instances step on each others toes, accessing the same
directories concurrently without proper guards?

Builder nightly knows how to append "--standalone". Stable does not.

You can't just start two instances of an application for a single user and
expect things to work correctly. Applications need to be written to be aware
of each other so they don't clobber temp/cache files and such.

Very few if any applications are written this way. Even firefox just punts and
says you have to specify an alternate profile to keep things contextualized.

That is an interesting point actually: In my daily work I often open multiple
instances of eclipse, running with separate "workspaces" (basically different
application directories with separate configuration).

So only a single instance accesses the application directory at any time but I
can have multiple instances running. Is that possible with builder right now?
(when running from flatpak, it uses a cache for downloading/building. I
suspect that cache dir might be shared when running two instances of flatpak
builder.)

Felix


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]