From: | richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com> |
---|---|
To: | tutiluren(at)tutanota(dot)com |
Cc: | Pgadmin Support <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgAdmin 4 ignores its own config option: "BrowserCommand" |
Date: | 2019-08-08 22:05:19 |
Message-ID: | CAGA3vBt+_weopzrWQK8JUpxiqtu3c9UmpEOuu9XK5rzLuejwBg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
tutiluren,
I am sorry to read that you are still having difficulties. The
MASTER_PASSWORD_REQUIRED string is documented in the pgAdmin4 documentation
located here:
https://www.pgadmin.org/docs/pgadmin4/development/master_password.html .
As for the BrowserCommand I usually set it in the configure dialog that I
get to by right clicking on the *elephant* taskbar icon and selecting
"Configure". My command is: *chromium-browser %URL% , *this is stored as:
*BrowserCommand=chromium-browser %URL%*
in my pgadmin4.conf file. Notice there are *no* *"* around the arguments,
unlike your string. Yes, the config.py, config_distro.py and
config_local.py all contain keywords in the
ALL_CAPS_SEPARATED_BY_UNDERSCORES while the pgadmin4.config file uses
MixedCaseAllRunTogether. It is a bit inconsistent.
I can't say whether or not it honors alternate profiles, as I just use an
alternate *browser*, but perhaps it didn't like all of your quotes.
I hope that helps,
rik.
On Thu, Aug 8, 2019 at 3:44 PM <tutiluren(at)tutanota(dot)com> wrote:
> Okay, so after 30 million years of searching and reading and swearing and
> cursing, I've finally found the "BrowserCommand" configuration directive.
> So I set my C:\Program Files (x86)\pgAdmin 4\v4\web\config_local.py to:
>
> MASTER_PASSWORD_REQUIRED=False
> BrowserCommand="C:\Program Files\Mozilla Firefox\firefox.exe" -p "pgAdmin"
> --no-remote "%URL%"
>
> But when I then click the pgAdmin 4 start icon ("C:\Program Files
> (x86)\pgAdmin 4\v4\runtime\pgAdmin4.exe"), it *still* opens Firefox
> (default browser) with the DEFAULT profile. In other words, it ignores my
> BrowserCommand, which tells it to open the URL in the "pgAdmin" profile,
> which I've spent significant efforts setting up just for pgAdmin 4, so that
> I can finally use the program without being constantly harassed for
> passwords and losing all my work whenever Firefox needs to be restarted.
>
> And no, there is nothing wrong with the command itself; I use it with
> other profiles. But pgAdmin is clearly ignoring it. What's wrong?
>
> Also, MASTER_PASSWORD_REQUIRED is undocumented on
> https://www.pgadmin.org/docs/pgadmin4/4.11/desktop_deployment.html , and
> doesn't use the same format (it would be MasterPasswordRequired if it were
> to follow the style of the other options)... What's up with that?
>
From | Date | Subject | |
---|---|---|---|
Next Message | Khushboo Vashi | 2019-08-09 04:03:08 | Re: Has pgAdmin 4 recently stopped displaying "affected rows"? |
Previous Message | tutiluren | 2019-08-08 19:44:06 | pgAdmin 4 ignores its own config option: "BrowserCommand" |