Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

15.0.0 Error: Unerwarteter Fehler:boost::too_many_args: format-string referred to fewer arguments than were passed #6136

Closed
elrippo opened this issue Nov 14, 2019 · 23 comments

Comments

@elrippo
Copy link

elrippo commented Nov 14, 2019

Dear all,

running Kubuntu 16.04 64bit, updated from 14.1.0 to 15.0.0 on 12.11.2019 via the downloaded binaries from getmonero.org cli only.
While triying to do a payment via XMR.to and copy pasting the transfer command for the cli in the format [transfer address ammount] after entering the password for the wallet i get the error [Error: Unerwarteter Fehler:boost::too_many_args: format-string referred to fewer arguments than were passed]

Switching back to the 14.1.0 binaries with the same transfer command from XMR.to the payment is successfuly done.

If you need any additional info or debug info, please let me know how to do this and i will be happy to provide.

Kind regards,
elrippo

@moneromooo-monero
Copy link
Collaborator

Do you have file/line ? It might be in the log file, in an exception stack trace.

@elrippo
Copy link
Author

elrippo commented Nov 15, 2019

Dear moneromooo-monero,
i did the same again with loglevel -4 on the wallet, if you need the whole log file, let me know.

2019-11-15 07:35:54.577 7f3c283e8780 ERROR wallet.simplewallet src/simplewallet/simplewallet.cpp:624 unexpected error: boost::too_many_args: format-string referred to fewer arguments than were passed 2019-11-15 07:35:54.577 7f3c283e8780 ERROR msgwriter src/common/scoped_message_writer.h:102 Error: Unerwarteter Fehler:boost::too_many_args: format-string

@elrippo
Copy link
Author

elrippo commented Nov 15, 2019

Just got a notification, and i have to express, that i am using the cli wallet, not the gui wallet, so which wizzard should i open?

---quote---
Go to the wizard, select "Change wallet mode" and then select Advanced mode.

Open you wallet again, go to Settings -> Node -> Select remote node and enter the following:

Address: uwillrunanodesoon.moneroworld.com
Port: 18089

This should work.
---unquote---

@selsta
Copy link
Collaborator

selsta commented Nov 15, 2019

I commented on the wrong issue, sorry :)

@elrippo
Copy link
Author

elrippo commented Nov 15, 2019

Ok

@moneromooo-monero
Copy link
Collaborator

Does it happen if you with with "LANG=C" (ie, run in default english) ?

@elrippo
Copy link
Author

elrippo commented Nov 15, 2019

No, if i turn LANG=C the transaction is done. Default on my system is "de_AT.utf8"

@moneromooo-monero
Copy link
Collaborator

Then one of the de_AT translations messed up a format strings. Please run again with the default and log level 2, then paste the last dozen lines of the log before the error. You can take out any private info in there, I'm interested in finding out where wallet2 stopped running.

@moneromooo-monero
Copy link
Collaborator

Actually nvm I can do that here.

@moneromooo-monero
Copy link
Collaborator

Actually I cannot. I can send a tx with the monero_de.ts translations.

@elrippo
Copy link
Author

elrippo commented Nov 15, 2019

Here you go
monero-wallet-cli-boost.log

@moneromooo-monero
Copy link
Collaborator

This might fix it:

diff --git a/translations/monero_de.ts b/translations/monero_de.ts
index 8d25c4795..68a134a45 100644
--- a/translations/monero_de.ts
+++ b/translations/monero_de.ts
@@ -3446,7 +3446,7 @@ By using 'sync' processing of waiting messages with multisig sync info
         <source>
 Input %llu/%llu (%s): amount=%s</source>
         <translation>
-Eingabe &amp;llu/%llu (%s): Betrag=%s</translation>
+Eingabe %lu/%llu (%s): Betrag=%s</translation>
     </message>
     <message>
         <location filename="../src/simplewallet/simplewallet.cpp" line="5814"/>

After applying, you need to apply #6139 too. Then:
mv translations/ready translations/notready
./utils/translations/build-translations.sh
mv translations/notready translations/ready

@moneromooo-monero
Copy link
Collaborator

ping

@elrippo
Copy link
Author

elrippo commented Nov 20, 2019

Sorry, had a quite high workload.
Thank you for your offer, but i believe i quite do not understand everything i should do, so maybe you could tell me what this means, were and when i should do this.

index 8d25c4795..68a134a45 100644
--- a/translations/monero_de.ts
+++ b/translations/monero_de.ts
@@ -3446,7 +3446,7 @@ By using 'sync' processing of waiting messages with multisig sync info

Input %llu/%llu (%s): amount=%s

-Eingabe &llu/%llu (%s): Betrag=%s
+Eingabe %lu/%llu (%s): Betrag=%s


and this one
mv translations/ready translations/notready
./utils/translations/build-translations.sh
mv translations/notready translations/ready

@moneromooo-monero
Copy link
Collaborator

You apply the patch with:

  • save the patch into a file, say "format.diff"
  • run: patch -p1 < format.diff
  • run: mv translations/ready translations/notready
  • run: ./utils/translations/build-translations.sh
  • run: mv translations/notready translations/ready
  • build again
  • run the wallet
  • do what command used to break

@elrippo
Copy link
Author

elrippo commented Nov 24, 2019

If i execute diff` --git a/translations/monero_de.ts b/translations/monero_de.ts i get the error Unknown option: --diff

@elrippo
Copy link
Author

elrippo commented Dec 3, 2019

ping

@moneromooo-monero
Copy link
Collaborator

Well, why are you executing this in the first place ? It's not something I asked you to do, and it's not a valid command, so...

@elrippo
Copy link
Author

elrippo commented Dec 4, 2019

Well, then tell me how to save the patch, then we would be faster with this...

@dEBRUYNE-1
Copy link
Contributor

@elrippo - See first point of this comment:

#6136 (comment)

@moneromooo-monero
Copy link
Collaborator

Run an editor, paste the patch into it, save, select a filename. Exact steps will depend on your editor.

@moneromooo-monero
Copy link
Collaborator

Oh, I see why you tried to run that command, it's the first line of the patch :)
You don't run it, you apply it, by following the steps in my comment above.
You run the resulting binary as normal.

@moneromooo-monero
Copy link
Collaborator

Guess this could be closed until someone trips on it again ?

@selsta selsta closed this as completed Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants