View Issue Details

IDProjectCategoryView StatusLast Update
0010189Talerexchangepublic2025-08-31 17:09
Reporterpax Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.0 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010189: taler-fakebank-run fails with ERROR Configuration fails to specify option `CURRENCY' in section `exchange'!
DescriptionHi,

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 Reproducetaler-fakebank-run --signup-bonus=NZD:100
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

pax

2025-07-16 20:55

reporter   ~0025508

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?

Christian Grothoff

2025-07-16 21:00

manager   ~0025509

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.

pax

2025-07-16 21:29

reporter   ~0025510

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

pax

2025-07-20 01:41

reporter   ~0025529

Fresh installation worked... I think the issue I had was that I was using the Currency also as coins... Like, I configured NZD coins with NZD as base currency... Now I configured KIWI coins with NZD currency.... That seems to have fixed it?

Christian Grothoff

2025-07-20 09:32

manager   ~0025537

Well, glad to hear the problem has disappeared ;-).

Issue History

Date ModifiedUsernameFieldChange
2025-07-16 08:07paxNew Issue
2025-07-16 18:27Christian GrothoffAssigned To => Christian Grothoff
2025-07-16 18:27Christian GrothoffStatusnew => assigned
2025-07-16 20:55paxNote Added: 0025508
2025-07-16 21:00Christian GrothoffNote Added: 0025509
2025-07-16 21:29paxNote Added: 0025510
2025-07-17 12:32Christian GrothoffSeverityminor => tweak
2025-07-17 12:32Christian GrothoffStatusassigned => feedback
2025-07-17 12:32Christian GrothoffCategoryother => exchange
2025-07-20 01:41paxNote Added: 0025529
2025-07-20 01:41paxStatusfeedback => assigned
2025-07-20 09:31Christian GrothoffStatusassigned => informing
2025-07-20 09:31Christian GrothoffResolutionopen => unable to reproduce
2025-07-20 09:31Christian GrothoffFixed in Version => 1.0 stretch goals
2025-07-20 09:32Christian GrothoffTarget Version => 1.0 stretch goals
2025-07-20 09:32Christian GrothoffNote Added: 0025537
2025-08-31 17:09Christian GrothoffStatusinforming => closed