Re: Error opening file without suffix - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Error opening file without suffix
Date
Msg-id 1343076761.2039.24.camel@localhost.localdomain
Whole thread Raw
In response to Re: Error opening file without suffix  ("Martin French" <Martin.French@romaxtech.com>)
Responses Re: Error opening file without suffix
Re: Error opening file without suffix
List pgadmin-support
On Mon, 2012-07-23 at 15:20 +0100, Martin French wrote:
>  
> > I can't replicate this problem. It works for me.
> > I am running pgAdmin 1.14.2, Windows 7
> 
> Replicated on 1.14.3, Windows 7 x64.
> 
> > How to reproduce:
> > 1. create some text file and save it without suffix - make sure OS 
> > doesn't hide suffixes making you think that there is no suffix in a
> filename
> > 2. Open query editor window
> > 3. Select File / Open...
> > 4. Enter star character (*) into filename field and commit it 
> > hitting enter - in result you will get all files listed in file
> browser
> > 5. find your file
> > 6. select it and open it - this operation will end up with error: 
> > "can't open file"
> 
> 
> 1. created file: H:\Postgres Scripts\test
> 2. opened editor
> 3. file > open
> 4. typed *, hit enter
> 5. found file " test "
> 6: Brings up:
> 
> An Error has occurred:
> 
> Can't open file 'c:\path\test.sql' (error 2: the system cannot find
> the file specified)
> 
> note that ".sql" has been appended to the name of my test file.
> Probably as the file spec is set to *.sql.  If you use the dropdown
> and select *.*, then it works fine.
> 

There's not much we can do here. We show the standard dialog, and it
tells us which file the user wants to open. If it tells to open
"test.sql", we have no way to understand you wanted to open the file
"test".


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com



pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: default parameters
Next
From: Guillaume Lelarge
Date:
Subject: Re: connection lost - Edit Data grid