View Issue Details

IDProjectCategoryView StatusLast Update
0009254Talerexchangepublic2024-10-17 15:10
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.14 
Target Version0.14 
Summary0009254: empty standard input in aml programs
Description[kyc-check-askContext]
TYPE = FORM
VOLUNTARY = NO
FORM_NAME = from_context
#DESCRIPTION = "validate your email"
DESCRIPTION = "Use the next form to answer what officer ask"
OUTPUTS = all_info
FALLBACK = gatheringProblem


[kyc-measure-ask]
CHECK_NAME = askContext
CONTEXT = {"what":"yep"}
PROGRAM = customForm

[aml-program-customForm]
COMMAND = aml-custom-form.sh
DESCRIPTION = "officer gatther info"
ENABLED = YES
FALLBACK = programProblem




Sciprt file start

aml-custom-form.sh

FILE=$(mktemp /tmp/aml-custom-form-XXXXX)
cat - > $FILE
# Die if anything goes wrong.
set -eu
echo $(date +%F_%T) cat $FILE \| $0 $@ >> /tmp/taler-deployment-script.log



$ ls -lah /tmp/aml-custom-form-*
-rw------- 1 sebasjm sebasjm 0 Oct 9 09:48 /tmp/aml-custom-form-0SKFK
-rw------- 1 sebasjm sebasjm 0 Oct 8 14:29 /tmp/aml-custom-form-fPwEv
-rw------- 1 sebasjm sebasjm 0 Oct 9 09:48 /tmp/aml-custom-form-gZFuQ
-rw------- 1 sebasjm sebasjm 0 Oct 8 14:29 /tmp/aml-custom-form-jsIme
-rw------- 1 sebasjm sebasjm 0 Oct 9 09:48 /tmp/aml-custom-form-R4Ivr
-rw------- 1 sebasjm sebasjm 0 Oct 8 14:29 /tmp/aml-custom-form-U1kAy
-rw------- 1 sebasjm sebasjm 0 Oct 9 09:48 /tmp/aml-custom-form-UULsb
-rw------- 1 sebasjm sebasjm 0 Oct 8 14:29 /tmp/aml-custom-form-zoqQZ



TagsNo tags attached.

Activities

sebasjm

2024-10-09 17:55

developer   ~0023490

using the my custom "deployment log" i can see that the program did ran

2024-10-09_09:48:02 cat /tmp/aml-custom-form-0SKFK | /path/to/aml-custom-form.sh -a -c /path/to/taler.conf

This way I can debug or execute again the aml program and test it

Christian Grothoff

2024-10-11 17:49

manager   ~0023522

This is very strange. We have unit and integration tests for this. Also, your instructions for how to reproduce are a bit brief.

Can we *tonight* do a joint call to look into this together?

Issue History

Date Modified Username Field Change
2024-10-09 17:52 sebasjm New Issue
2024-10-09 17:52 sebasjm Status new => assigned
2024-10-09 17:52 sebasjm Assigned To => Christian Grothoff
2024-10-09 17:55 sebasjm Note Added: 0023490
2024-10-11 17:49 Christian Grothoff Note Added: 0023522
2024-10-11 22:23 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2024-10-11 22:23 Christian Grothoff Status assigned => feedback
2024-10-17 15:10 sebasjm Status feedback => resolved
2024-10-17 15:10 sebasjm Resolution open => fixed