Opened 3 years ago
Closed 3 years ago
#261 closed defect (fixed)
pycsw drive letter path configurations
|Reported by:||TC Haddad||Owned by:||Jeff McKenna|
|Component:||MS4W - Base||Version:||4.0.3|
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.
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 (4)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
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 by , 3 years ago
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:
comment:4 by , 3 years ago
|Status:||new → closed|
Thanks for testing this. The installer was already supposed to be changing the paths in default.cfg (can you test this with today's MS4W 4.0.4 ?).
I also modified the installer to also update the drive letter in csw.py as well.
Marking this as fixed. Please re-open if not fixed in 4.0.4
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"