Opened 3 months ago

Last modified 3 months ago

#261 new defect

pycsw drive letter path configurations

Reported by: TC Haddad Owned by: Jeff McKenna
Priority: minor Milestone: 4.0.4 release
Component: MS4W - Base Version: 4.0.3
Keywords: Cc:
Blocked By: Blocking:

Description

When the installer is used, and a drive letter other than C:\ is selected, several paths in the pycsw configuration do not get updated. If this can be fixed, great, if not, we should warn users in the documentation.

In default.cfg:

  • home
  • logfile
  • database*

Note that the demo database path that includes a drive letter is also commented out, so not sure if this is an oversight or intentional

Change History (3)

comment:1 Changed 3 months ago by TC Haddad

PS - if the path on line 70 of the default.cfg file is required for the demo, then besides being uncommented, there is also a typo that needs to be corrected. The typo is a missing "w" in the folder name "pycs-2.4.2"

comment:2 Changed 3 months ago by TC Haddad

Hmm - I checked this again looking at the zip download version instead, and I notice that the drive letters issue is reduced, because drive letters are not included in the pycsw section of httpd.conf

using the zip download version, I was able to get the pycsw demo running with just one drive letter change to the "home" value in default.cfg

comment:3 Changed 3 months ago by TC Haddad

Correction - there is a another drive letter location that needs to be edited in order to get the demo to work, even in the zip download.

that location is in /ms4w/apps/pycsw-2.4.2/csw.py in the very first line:

#!C:\ms4w\Python\python.exe -u

Note: See TracTickets for help on using tickets.