Ticket #46 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

Typo in pksetup

Reported by: aduston Owned by: jerome
Priority: major Milestone: 1.27 final
Component: pykota Version: development
Keywords: Cc:

Description

While attempting to install the current version of pykota from the subversion repository I found an error in the pksetup script.

This is how the error appears:

The following command will be launched to see if PostgreSQL accepts TCP/IP connections :
egrep \"tcpip_socket|listen_addresses\" /etc/postgresql/8.3/main/postgresql.conf
Do you agree ? y
sh: listen_addresses": not found

It's easily fixed by changing line 313 in pksetup to read:

answer = self.confirmPipe("to see if PostgreSQL accepts TCP/IP connections", 'egrep "\\"tcpip_socket|listen_addresses\\"" %(pgc onffile)s' % locals())

Note the added quotation marks before and after the backslashes.

Change History

Changed 15 years ago by jerome

  • status changed from new to closed
  • resolution set to fixed

(In [3505]) Added missing double quotes. Fixes #46.

Note: See TracTickets for help on using tickets.