View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010189 | Taler | exchange | public | 2025-07-16 10:07 | 2025-07-17 14:32 |
Reporter | pax | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 1.0 | ||||
Summary | 0010189: taler-fakebank-run fails with ERROR Configuration fails to specify option `CURRENCY' in section `exchange'! | ||||
Description | Hi, I'm trying to set this up, as you probably guessed from my other issues... ;) I want to run the fakebank to just try the basics but when I run it it fails: taler-fakebank-run --signup-bonus=NZD:100 2025-07-16T08:04:22.242652+0000 taler-fakebank-run-34978 ERROR Configuration fails to specify option `CURRENCY' in section `exchange'! The thing is that my taler-exchange.conf's [exchange] part contains the configuration it's asking for, so no idea why that fails... Even specifying the taler-exchange.conf with the -c parameter doesn't solve it... [exchange] CURRENCY = NZD # Smallest currency unit handled by the underlying bank system. Taler payments # can make payments smaller than this units, but interactions with external # systems is always rounded to this unit. CURRENCY_ROUND_UNIT = NZD:0.01 | ||||
Steps To Reproduce | taler-fakebank-run --signup-bonus=NZD:100 | ||||
Tags | No tags attached. | ||||
|
Do I see this correct that the taler-fakebank actually needs a separate config file that specifies [bank] with CURRENCY instead of the [exchange] it mentions in the error message? |
|
While I think it would actually make sense to change it to require the section name to be "[bank]", the code clearly does look in the "[exchange]" section for the CURRENCY option. (see taler-fakebank-run.c, TALER_config_get_currency()). I just did: $ cat test.conf [exchange] CURRENCY = CHF $ taler-fakebank-run -c test.conf ---and it runs fine. |
|
Strange.... I'll try a fresh set up on a new VM and try that... I might have messed it all up a bit anyway.... Will keep you updated |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-07-16 10:07 | pax | New Issue | |
2025-07-16 20:27 | Christian Grothoff | Assigned To | => Christian Grothoff |
2025-07-16 20:27 | Christian Grothoff | Status | new => assigned |
2025-07-16 22:55 | pax | Note Added: 0025508 | |
2025-07-16 23:00 | Christian Grothoff | Note Added: 0025509 | |
2025-07-16 23:29 | pax | Note Added: 0025510 | |
2025-07-17 14:32 | Christian Grothoff | Severity | minor => tweak |
2025-07-17 14:32 | Christian Grothoff | Status | assigned => feedback |
2025-07-17 14:32 | Christian Grothoff | Category | other => exchange |