pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6193: The one-click installer failed to unpack
3+ messages / 3 participants
[nested] [flat]

* BUG #6193: The one-click installer failed to unpack
@ 2011-09-01 16:57 farta <fayfarta@gmail.com>
  2011-09-15 11:26 ` Re: BUG #6193: The one-click installer failed to unpack Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: farta @ 2011-09-01 16:57 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6193
Logged by:          farta
Email address:      fayfarta@gmail.com
PostgreSQL version: 9.0.4
Operating system:   Windows 7 64 bit
Description:        The one-click installer failed to unpack
Details: 

postgresql-9.0.4-1-windows_x64.exe failed to unpack. I downloaded it for
several times from different location, so it should not be a corrupted
download. When executed, after the postgresql icon displayed at first
disappared, an error message box showed up, said: (In Chinese, my system is
chinese version) "File name, directory name or volume name is invalid." 

I'm wondering if it is because my username on my system is in Chinese so it
contains non-ascii charactors, and the when the installer begain to unpack
files, it tried to get temperary directory name, and since the path contains
non-ascii charactor it might not support, it failed and told "File name,
directory name or volume name is invalid."



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6193: The one-click installer failed to unpack
  2011-09-01 16:57 BUG #6193: The one-click installer failed to unpack farta <fayfarta@gmail.com>
@ 2011-09-15 11:26 ` Robert Haas <robertmhaas@gmail.com>
  2011-09-15 12:46   ` Re: BUG #6193: The one-click installer failed to unpack 珐塔 <fayfarta@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Robert Haas @ 2011-09-15 11:26 UTC (permalink / raw)
  To: farta <fayfarta@gmail.com>; +Cc: pgsql-bugs

On Thu, Sep 1, 2011 at 11:57 AM, farta <fayfarta@gmail.com> wrote:
> The following bug has been logged online:
>
> Bug reference:      6193
> Logged by:          farta
> Email address:      fayfarta@gmail.com
> PostgreSQL version: 9.0.4
> Operating system:   Windows 7 64 bit
> Description:        The one-click installer failed to unpack
> Details:
>
> postgresql-9.0.4-1-windows_x64.exe failed to unpack. I downloaded it for
> several times from different location, so it should not be a corrupted
> download. When executed, after the postgresql icon displayed at first
> disappared, an error message box showed up, said: (In Chinese, my system is
> chinese version) "File name, directory name or volume name is invalid."
>
> I'm wondering if it is because my username on my system is in Chinese so it
> contains non-ascii charactors, and the when the installer begain to unpack
> files, it tried to get temperary directory name, and since the path contains
> non-ascii charactor it might not support, it failed and told "File name,
> directory name or volume name is invalid."

According to the EnterpriseDB installer team, your explanation is
correct.  Apparently the installation directory path and PGDATA path
locations have to patch the following regex:

^([a-zA-Z]:)\\([0-9a-zA-Z_\\\s\.\-\(\)]*)$

Sorry for the inconvenience.  :-(

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6193: The one-click installer failed to unpack
  2011-09-01 16:57 BUG #6193: The one-click installer failed to unpack farta <fayfarta@gmail.com>
  2011-09-15 11:26 ` Re: BUG #6193: The one-click installer failed to unpack Robert Haas <robertmhaas@gmail.com>
@ 2011-09-15 12:46   ` 珐塔 <fayfarta@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: 珐塔 @ 2011-09-15 12:46 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-bugs

于 2011/9/15 19:26, Robert Haas 写道:
> On Thu, Sep 1, 2011 at 11:57 AM, farta<fayfarta@gmail.com>  wrote:
>> The following bug has been logged online:
>>
>> Bug reference:      6193
>> Logged by:          farta
>> Email address:      fayfarta@gmail.com
>> PostgreSQL version: 9.0.4
>> Operating system:   Windows 7 64 bit
>> Description:        The one-click installer failed to unpack
>> Details:
>>
>> postgresql-9.0.4-1-windows_x64.exe failed to unpack. I downloaded it for
>> several times from different location, so it should not be a corrupted
>> download. When executed, after the postgresql icon displayed at first
>> disappared, an error message box showed up, said: (In Chinese, my system is
>> chinese version) "File name, directory name or volume name is invalid."
>>
>> I'm wondering if it is because my username on my system is in Chinese so it
>> contains non-ascii charactors, and the when the installer begain to unpack
>> files, it tried to get temperary directory name, and since the path contains
>> non-ascii charactor it might not support, it failed and told "File name,
>> directory name or volume name is invalid."
> According to the EnterpriseDB installer team, your explanation is
> correct.  Apparently the installation directory path and PGDATA path
> locations have to patch the following regex:
>
> ^([a-zA-Z]:)\\([0-9a-zA-Z_\\\s\.\-\(\)]*)$
>
> Sorry for the inconvenience.  :-(
>
Thanks a lot. I have found a workaroud: Changing the TEMP/TMP enviroment 
variable to a path contains only ascii charactors and the installer 
succeeded and now I'm enjoying PostgreSQL.:-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-09-15 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-01 16:57 BUG #6193: The one-click installer failed to unpack farta <fayfarta@gmail.com>
2011-09-15 11:26 ` Robert Haas <robertmhaas@gmail.com>
2011-09-15 12:46   ` 珐塔 <fayfarta@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox