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 <pdvissch...@edpnet.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 <dp...@pgadmin.org 
>> <mailto:dp...@pgadmin.org>> wrote:
>> 
>> Hi
>> 
>> On Wed, Jan 9, 2019 at 1:37 AM Patrick De Visschere <pdvissch...@edpnet.be 
>> <mailto:pdvissch...@edpnet.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
--------------------------------------------------------------------------------------------




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to