unable to open / parse config file
Hi,
I was trying to import some data from OSM but I got error saying " file does not exist (it actually exists) or directory failed to open / parse config file. a picture is attached to show what I did.
I am using PostgreSQL 14.4, POSTGIS 3.2.0, pgr 3.3.0. Please let me know if you need any other info to solve the problem. I have tried everything it is driving me crazy.

For me its difficult to copy/paste from the image. Can you modify and instead of an image, copy/paste the text and sround it with triple back tick
produces:
this are
lines of
code
of course don't write the password
Doing my best without copy paste
Maybe you should not have spaces on a name of a file,
C:\Program Files\path\to\mapconfig_for_cars.xml
There is a space on Program Files
So you are saying that --conf C:\Program is the configuration.
In linux, we don't use spaces on filenames (that is why mapconfig_for_cars.xml is not mapconfig for cars.xml which would be referenced as mapconfig\ for\ cars.xml where \ is what we use to indicate a space on a file name.
I do not know windows, (last time I used it was in 1997) but then,I suggest:
- Remove the space of
Program FilestoProgramFiles(I suspect is a bad idea as it sounds to me like a system directory) - Copy the file
C:\Program Files\path\to\mapconfig_for_cars.xmlto the directory where you have map.osm, as the complete path does not have spaces - Figure out in windows how to reference a file with spaces (maybe you have to double quote the name:
"C:\Program Files\path\to\mapconfig_for_cars.xml" - As a last resort, work with free open source operative system like Ubuntu
same problem. I am using a macbook and after the install, it is failing with: Error opening lean:No such file or directoryFailed to open / parse config file lean When I try and specify the .config file, I get: option '--conf' cannot be specified more than once
I am going through the source code to see where they hard-coded a directory to then create it on my machine.