c42f / tinyformat

Minimal, type safe printf replacement library for C++
537 stars 75 forks source link

Not enough conversion specifiers in format string #83

Open benzmuircroft opened 2 years ago

benzmuircroft commented 2 years ago

I'm attempting to run a bitcoin fork in LXD/LXC (linux containers)

I getsee errors when I watch tail the debug.log and when I run bitcoin-cli getinfo in the json output errors value:

EXCEPTION: St13runtime_error \ntinyformat: Not enough conversion specifiers in format string \nallsafe in ProcessMessages() \n

The fork: https://github.com/Artinvest/Allsafe/releases

How do I fix this?

benzmuircroft commented 2 years ago

on Ubuntu 18.04

benzmuircroft commented 2 years ago

Tomorrow I'm going to see if this happens also with Bitcoin and the latest ubuntu 20.04 because it might be an LXD/LXC issue ...

benzmuircroft commented 2 years ago

/tinyformat.h line 647

The repository for the Bitcoin fork only has 1 match for streamStateFromFormat https://github.com/Artinvest/Allsafe/search?q=streamStateFromFormat

The official Bitcoin repo has 1 match, 2 commits and 3 issues with streamStateFromFormat https://github.com/bitcoin/bitcoin/search?q=streamStateFromFormat

Both repos use /tinyformat.h

benzmuircroft commented 2 years ago

I turned of debug=1 in the fork and it stopped