From: | Kozusznik Michal <kozusznik(dot)michal(at)ifortuna(dot)cz> |
---|---|
To: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
Cc: | Martin French <Martin(dot)French(at)romaxtech(dot)com>, Michael Shapiro <mshapiro51(at)gmail(dot)com>, "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>, "pgadmin-support-owner(at)postgresql(dot)org" <pgadmin-support-owner(at)postgresql(dot)org> |
Subject: | Re: Error opening file without suffix |
Date: | 2012-07-23 20:56:59 |
Message-ID: | 7C186A5A-A5DF-48BF-8FB5-C5CCABE44122@ifortuna.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
please check file dialog properties. I'm sure the dialog may return real file name not depended on one of predefined filters selected.
MK
23. 7. 2012 v 22:52, "Guillaume Lelarge" <guillaume(at)lelarge(dot)info>:
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Maximilian Tyrtania | 2012-07-24 04:37:27 | Re: default parameters |
Previous Message | Guillaume Lelarge | 2012-07-23 20:53:58 | Re: connection lost - Edit Data grid |