Project

General

Profile

Actions

Bug #50

closed

Set DB directory in config result in "[ERR] Failed to load any valid config file(s) ..."

Added by Jörg Ebeling almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/01/2021
Due date:
% Done:

100%

Estimated time:

Description

After DB directory configuration like:

[db]
directory = "C:\l2cpbg\l2cpbg.db"

Start of L2CPBG fail with: [ERR] Failed to load any valid config file(s) ./l2cpbg.conf, /etc/l2cpbg.conf, /usr/local/etc/l2cpbg.conf, C:\l2cpbg\l2cpbg.conf


Files

l2cpbg_0.9.4beta3_armhf.deb (8.06 MB) l2cpbg_0.9.4beta3_armhf.deb Jörg Ebeling, 11/01/2021 07:50 PM
l2cpbg_0.9.4beta3_amd64.deb (8.83 MB) l2cpbg_0.9.4beta3_amd64.deb Jörg Ebeling, 11/01/2021 07:50 PM
l2cpbg_0.9.4beta3_windows-64bit.zip (10.1 MB) l2cpbg_0.9.4beta3_windows-64bit.zip Jörg Ebeling, 11/01/2021 07:50 PM

Updated by Jörg Ebeling almost 3 years ago

Windows user who prefer to write their path with a backslash as path separator, need to write it as double backslash "\", because a single backslash is used as escape character in TOML. I.e.:

directory = "C:\\Program Files\\LDAP2CardDAV-Gateway\\db"

or write it in forward-slash style:

directory = "C:/Program Files/LDAP2CardDAV-Gateway/db"

The attached beta4 does some better error output if only a single backslash got entered.

Actions #2

Updated by Jörg Ebeling almost 3 years ago

  • Status changed from New to Closed
Actions #3

Updated by Jörg Ebeling almost 3 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF

Go to top