View Issue Details

IDProjectCategoryView StatusLast Update
0005706Talertaler-merchant-demospublic2024-01-12 13:08
ReporterLUG Assigned ToMarcello Stanisci 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionreopened 
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005706: Add README to donations repo
DescriptionIt seems to me that installing the talerdonations package and running taler-merchant-donation could work stand-alone but I'm at least missing the expected config files[1, 2], along with a clue about how they should look.
What do you think about adding a README to the donations repo where the basic requirements for running the dontaion frontend are listed?

[1] can't read config directory '/usr/local/share/taler/config.d'
[2] Configuration file (/home/lukas/.config/taler.conf) not found
Steps To Reproduce$ pip install -e .
Obtaining file:///home/lukas/Workspace/taler/donations
Collecting Flask>=0.10 (from talerdonations==0.0) [...]
Collecting itsdangerous>=0.24 (from Flask>=0.10->talerdonations==0.0) [...]
Collecting click>=5.1 (from Flask>=0.10->talerdonations==0.0) [...]
Collecting Werkzeug>=0.14 (from Flask>=0.10->talerdonations==0.0) [...]
Collecting Jinja2>=2.10 (from Flask>=0.10->talerdonations==0.0) [...]
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->Flask>=0.10->talerdonations==0.0) [...]
Installing collected packages: itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, talerdonations
  Running setup.py develop for talerdonations
Successfully installed Flask-1.0.2 Jinja2-2.10.1 MarkupSafe-1.1.1 Werkzeug-0.15.2 click-7.0 itsdangerous-1.1.0 talerdonations

$ taler-merchant-donations
can't read config directory '/usr/local/share/taler/config.d'
Configuration file (/home/lukas/.config/taler.conf) not found
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

LUG

2019-04-27 17:58

reporter   ~0014358

I'm also trying to go via make devinstall, but fail to set it up in userspace (i.e. not in /usr/local/ but somewhere in /home/user/ and in an isolated python environment instead of with system python).

LUG

2019-04-27 18:40

reporter   ~0014359

Found https://docs.taler.net/exchange/html/taler-exchange.html#Configuration-format as well as https://docs.taler.net/backoffice/html/manual.html and will try if I can come up with a README suggestion for the donations repo. Please feel free to interrupt me in case running this stand alone doesn't make sense in the big picture, even for development.

Marcello Stanisci

2019-05-27 15:43

reporter   ~0014448

Starting from, 0d9da52dc5c05524be8c5adf84d, the donations repo does have a README file.

Marcello Stanisci

2019-05-27 15:44

reporter   ~0014449

Starting from: 62b549f47e86634b8e, donations does provide a default config file under "config.d".

Marcello Stanisci

2019-05-27 16:46

reporter   ~0014450

For the problem reported by [2], we can't really fix it, as this means that the user didn't pass neither a '-c' option nor had a valid default ~/.config/taler.conf installed.

Please reopen if you notice additional problems in the installation!

LUG

2019-06-10 12:13

reporter   ~0014525

Thanks for your additions.
Could it be that the Python packages "uwsgi" and "requests" are still missing from the setup instructions or at least the configure checks?
I had to "pip3 install uwsgi requests" to make the taler-merchant-donations run.

Marcello Stanisci

2019-06-10 18:25

reporter   ~0014528

This is all in all possible. I've added those missing dependencies into the setup: dd83568..f09cb42.

Marcello Stanisci

2019-06-10 19:00

reporter   ~0014529

Closing. Please reopen if need be.

Issue History

Date ModifiedUsernameFieldChange
2019-04-27 17:38LUGNew Issue
2019-04-27 17:38LUGStatusnew => assigned
2019-04-27 17:38LUGAssigned To => Marcello Stanisci
2019-04-27 17:58LUGNote Added: 0014358
2019-04-27 18:40LUGNote Added: 0014359
2019-05-27 15:43Marcello StanisciNote Added: 0014448
2019-05-27 15:44Marcello StanisciNote Added: 0014449
2019-05-27 16:46Marcello StanisciStatusassigned => informing
2019-05-27 16:46Marcello StanisciResolutionopen => fixed
2019-05-27 16:46Marcello StanisciNote Added: 0014450
2019-06-10 12:13LUGStatusinforming => feedback
2019-06-10 12:13LUGResolutionfixed => reopened
2019-06-10 12:13LUGNote Added: 0014525
2019-06-10 18:25Marcello StanisciNote Added: 0014528
2019-06-10 19:00Marcello StanisciNote Added: 0014529
2019-06-10 19:00Marcello StanisciStatusfeedback => informing
2019-09-16 07:20Christian GrothoffProduct Version => git (master)
2019-09-16 07:20Christian GrothoffFixed in Version => 0.6
2019-09-16 07:20Christian GrothoffTarget Version => 0.6
2019-12-20 18:11Christian GrothoffStatusinforming => closed
2024-01-12 13:08Christian GrothoffCategorymerchant frontend (donations) => Merchant frontends (Python3)
2026-08-23 14:16Florian DoldCategoryMerchant frontends (Python3) => taler-merchant-demos