Switch back the checksum delimiter from "!" to ":" as '!' should be escaped on non-fish shell (bash, zsh). Possible since the tx pubkeys delimiter is no longer "!"
I made this change here in order to allow a better CLI syntax for the multi-output feature.
We should find a decent solution for shells such as Bash and Zsh.
We may switch back to : since we are no longer splitting recipients with :. This way we would keep a proper way to have it working on Bash/Zsh and co shells.
silkaj -p ts.gt.librelois.fr tx --output=J4c8CARmP9vAFNGtHRuzx14zvxojyRWHW2darguVqjtX\!KAv --amount 1 --comment "BABA YAGA"Please enter your Scrypt Salt (Secret identifier): Please enter your Scrypt password (masked): ╒════════════════════════════╤══════════════════════════════════════════════════╕│ pubkey’s balance before tx │ 3482.02 ĞTest │├────────────────────────────┼──────────────────────────────────────────────────┤│ tx amount (unit) │ 1.0 ĞTest │├────────────────────────────┼──────────────────────────────────────────────────┤│ tx amount (relative) │ 0.0007 UD ĞTest │├────────────────────────────┼──────────────────────────────────────────────────┤│ pubkey’s balance after tx │ 3481.02 ĞTest │├────────────────────────────┼──────────────────────────────────────────────────┤│ from (pubkey) │ 3i7jBZz1bYVTtao3C6e7cN21JHYjHCDR9pKeReE4rdVe │├────────────────────────────┼──────────────────────────────────────────────────┤│ to (pubkey) │ J4c8CARmP9vAFNGtHRuzx14zvxojyRWHW2darguVqjtX!KAv │├────────────────────────────┼──────────────────────────────────────────────────┤│ comment │ BABA YAGA │╘════════════════════════════╧══════════════════════════════════════════════════╛Do you confirm sending this transaction? [yes/no]: yesGenerate Transaction: - From: 3i7jBZz1bYVTtao3C6e7cN21JHYjHCDR9pKeReE4rdVe - To: J4c8CARmP9vAFNGtHRuzx14zvxojyRWHW2darguVqjtX!KAv - Amount: 1.0Traceback (most recent call last): File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/bin/silkaj", line 7, in <module> exec(compile(f.read(), __file__, 'exec')) File "/mnt/DATA/Users/bob/Documents/Associatif/June/Developpement/dev-silkaj/silkaj-v0.7.3/bin/silkaj", line 23, in <module> cli(obj={}) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/mnt/DATA/Users/bob/Documents/Associatif/June/Developpement/dev-silkaj/silkaj-v0.7.3/silkaj/tools.py", line 70, in wrapper return loop.run_until_complete(f(*args, **kwargs)) File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete return future.result() File "/mnt/DATA/Users/bob/Documents/Associatif/June/Developpement/dev-silkaj/silkaj-v0.7.3/silkaj/tx.py", line 99, in send_transaction key, issuer_pubkey, tx_amount, outputAddresses, comment, outputbackchange File "/mnt/DATA/Users/bob/Documents/Associatif/June/Developpement/dev-silkaj/silkaj-v0.7.3/silkaj/tx.py", line 237, in handle_intermediaries_transactions OutputbackChange, File "/mnt/DATA/Users/bob/Documents/Associatif/June/Developpement/dev-silkaj/silkaj-v0.7.3/silkaj/tx.py", line 279, in generate_and_send_transaction transaction.sign([key]) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/duniterpy/documents/document.py", line 82, in sign signing = base64.b64encode(key.signature(bytes(self.raw(), 'ascii'))) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/duniterpy/documents/transaction.py", line 751, in raw doc += "{0}\n".format(o.inline()) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/duniterpy/documents/transaction.py", line 188, in inline pypeg2.compose(self.condition, output.Condition)) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/pypeg2/__init__.py", line 699, in compose return parser.compose(thing, grammar) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/pypeg2/__init__.py", line 1299, in compose return terminal_indent() + thing.compose(self, attr_of=attr_of) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/duniterpy/grammars/output.py", line 365, in compose left = parser.compose(self.left, grammar=grammar, attr_of=attr_of) File "/home/thomas/.local/share/virtualenvs/silkaj-v0.7.3-_XPOSWLw/lib/python3.7/site-packages/pypeg2/__init__.py", line 1333, in compose + grammar.pattern)ValueError: '' does not match \w+ERROR:asyncio:Unclosed client sessionclient_session: <aiohttp.client.ClientSession object at 0x7ff9e6c54b88>ERROR:asyncio:Unclosed connectorconnections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7ff9e63d9228>, 12534.809305518)]']connector: <aiohttp.connector.TCPConnector object at 0x7ff9e64c3710>
If I understood your change correctly, I should not bother checking the checksum for #111 (closed) ? I don't get how it works, but if it works...
Moulchanged title from Checksum syntax on non-fish shell: ! should be escaped to Checksum syntax on non-fish shell: ! should be escaped, switch back to : separator
changed title from Checksum syntax on non-fish shell: ! should be escaped to Checksum syntax on non-fish shell: ! should be escaped, switch back to : separator
Moulchanged title from Checksum syntax on non-fish shell: ! should be escaped, switch back to : separator to Checksum syntax on non-fish shell: ! should be escaped, switch back to ':' separator
changed title from Checksum syntax on non-fish shell: ! should be escaped, switch back to : separator to Checksum syntax on non-fish shell: ! should be escaped, switch back to ':' separator
Moulchanged title from Checksum syntax on non-fish shell: ! should be escaped, switch back to ':' separator to Checksum syntax on non-fish shell: '!' should be escaped, switch back to ':' separator − Move back to ':' delimiter
changed title from Checksum syntax on non-fish shell: ! should be escaped, switch back to ':' separator to Checksum syntax on non-fish shell: '!' should be escaped, switch back to ':' separator − Move back to ':' delimiter
Moulchanged title from Checksum syntax on non-fish shell: '!' should be escaped, switch back to ':' separator − Move back to ':' delimiter to Switch back the checksum delimiter from "!" to ":" as '!' should be escaped on non-fish shell (bash, zsh)
changed title from Checksum syntax on non-fish shell: '!' should be escaped, switch back to ':' separator − Move back to ':' delimiter to Switch back the checksum delimiter from "!" to ":" as '!' should be escaped on non-fish shell (bash, zsh)