Hi Daniel, this looks like it comes from our new feature to use "inline" YAML code to format the HTML output - this happens at runtime and has nothing to do with the initial config.
The prompt looks like you are not running on debian, might be a problem with the underlying YAML library on your system not behaving like those we have...in case you want to investigate this further, have a look here https://github.com/openxpki/openxpki/blob/develop/core/server/OpenXPKI/Client/UI/Workflow.pm#L3002. It might help to just add a trailing newline in line 3006. Oliver Am 26.11.20 um 22:25 schrieb Daniel Berteaud: > Hi. > > I'm playing with 3.8.1 before upgrading my current setup. With this > new version, requesting a new cert fails with the following message : > > nov. 26 22:21:51 el7 perl[25820]: OpenXPKI-WebUI Error parsing YAML in > 'yaml_template'; __error__ => YAML Error: Stream does not end with > newline character > Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE > Line: 0 > Document: 0 > at > /usr/share/perl5/vendor_perl/YAML/Loader.pm line 38. > , __field__ => > check_policy_subject_duplicate, __yaml__ => OXI_PLACEHOLDER: > nov. 26 22:21:51 el7 perl[25820]: OpenXPKI-WebUI error while handling > request > > But openxpkiadm lintconfig doesn't find any issue. > Especially, workflow/global/field/check_policy_subject_duplicate.yaml > does end with a final newline. I'm using mostly the default config > with little changes. Try with both the 3.8 tag of the openxpki-config > repo, and with current head (community branch) > How can I debug where's the missing newline ? > > Cheers, > Daniel > -- > > Logo%20FWS <https://www.firewall-services.com> > > > *Daniel Berteaud* > FIREWALL-SERVICES SAS, La sécurité des réseaux > Société de Services en Logiciels Libres > Tél : +33.5 56 64 15 32 > Matrix: @dani:fws.fr > https://www.firewall-services.com > > > > _______________________________________________ > OpenXPKI-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openxpki-users -- Protect your environment - close windows and adopt a penguin!
_______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
