Re: Change browser in MacOS

From: Patrick De Visschere <pdvisschere(at)edpnet(dot)be>
To: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Cc: Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: Change browser in MacOS
Date: 2019-01-23 09:56:20
Message-ID: D9C958E4-4AF3-49C9-8E3F-7843764A77C7@edpnet.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Dave,

Unfortunately it does not stick.
I’ve noticed that the org.pgadmin.pgadmin4.plist file is overwritten (probabaly once a day) without the <key>Browser Command</key>; the Browser Command is still visible in the Configure… window (as long as the pgadmin server is running). I think this overwriting does only occur when there is no pgadmin-window actually running in a Browser.

Regards,

P. De Visschere

> On 11 Jan 2019, at 13:52, Patrick De Visschere <pdvisschere(at)edpnet(dot)be> wrote:
>
> Dave,
>
> I removed all pgadmin-related .plist’s file in ~/Library.
> When starting the server my modified Browser command was still present (but no .plist file).
> I shutted down/started it up several times, logged out and in, still no .plist file: the Browser command is stored somewhere else. I couldn’t find it, it’s not in my user directory, maybe in a (python) cache somewhere.
>
> Only when I modified the Browser command, an org.pgadmin.pgadmin4.plist file was created. It looks very much like the previous one but now has an entry with the Browser command:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd <http://www.apple.com/DTDs/PropertyList-1.0.dtd>">
> <plist version="1.0">
> <dict>
> <key>ApplicationPath</key>
> <string></string>
> <key>Browser.Geometry</key>
> <data>
> ...
> </data>
> <key>Browser.LastSaveLocation</key>
> <string>...</string>
> <key>Browser.WindowState</key>
> <data>
> ...
> </data>
> <key>BrowserCommand</key>
> <string>open -a /Applications/Safari.app %URL%</string>
> <key>FixedPort</key>
> <false/>
> <key>NSNavLastRootDirectory</key>
> <string>~/Downloads</string>
> <key>NSNavPanelExpandedSizeForSaveMode</key>
> <string>...</string>
> <key>NSStatusItem Preferred Position Item-0</key>
> <real>...</real>
> <key>PortNumber</key>
> <integer>1</integer>
> <key>PythonPath</key>
> <string></string>
> </dict>
> </plist>
>
> I hope it’ll stick now.
>
> Thanks
>
> P. De Visschere
>
>> On 10 Jan 2019, at 05:58, Dave Page <dpage(at)pgadmin(dot)org <mailto:dpage(at)pgadmin(dot)org>> wrote:
>>
>> Hi
>>
>> On Wed, Jan 9, 2019 at 1:37 AM Patrick De Visschere <pdvisschere(at)edpnet(dot)be <mailto:pdvisschere(at)edpnet(dot)be>> wrote:
>> Dave,
>>
>> Thanks but this is my ~/Library/Preferences/org.pgadmin.pgadmin4.plist with the Browser command filled in
>> (I have removed the content of the data tags)
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd <http://www.apple.com/DTDs/PropertyList-1.0.dtd>">
>> <plist version="1.0">
>> <dict>
>> <key>Browser.Geometry</key>
>> <data>
>>
>> </data>
>> <key>Browser.LastSaveLocation</key>
>> <string></string>
>> <key>Browser.WindowState</key>
>> <data>
>>
>> </data>
>> <key>NSNavLastRootDirectory</key>
>> <string></string>
>> <key>NSNavPanelExpandedSizeForSaveMode</key>
>> <string></string>
>> <key>NSStatusItem Preferred Position Item-0</key>
>> <real></real>
>> </dict>
>> </plist>
>>
>> I don’t see the command.
>>
>> That looks like a file from version 1 - well, the first couple of sections. The last section doesn't match anything in pgAdmin's history.
>>
>> I would suggest renaming the file and letting pgAdmin recreate it. I would expect a version 3 file to be binary and require editing directly in xcode.
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com <http://pgsnake.blogspot.com/>
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com <http://www.enterprisedb.com/>
>> The Enterprise PostgreSQL Company
>
>

--------------------------------------------------------------------------------------------
Patrick De Visschere 051/46 70 25
Pensionaatstraat 25
8755 Ruiselede
--------------------------------------------------------------------------------------------

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2019-01-23 12:26:23 Re: Change browser in MacOS
Previous Message 길P.day93 2019-01-23 02:09:12 Error when packaging pgAdmin4.(_hypot)