You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im tryting to push a transaction to the chain using your framework - thanks for that btw - in Windows. eos.push_transaction('eosio.token', 'transfer', 'x', 'active', {'from': 'x', 'to': 'y', 'quantity': '0.1 WAX', 'memo': ''} )
which works fine on mac, but on windows i get this weird error:
eosjs_python.Exceptions.PushContractTransactionException: b"undefined:1\r\n'{from:\r\n^\r\n\r\nSyntaxError: Unexpected token ' in JSON at position 0\r\n at JSON.parse ()\r\n at Object. (paths\eosjs_python\js\PushContractTransaction.js:10:26)\r\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\r\n at Module.load (internal/modules/cjs/loader.js:928:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\r\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\r\n at internal/main/run_main_module.js:17:47\r\n"
Which kinda looks like a windows line ending error. But I don't really know how to fix this cause the error gets thrown within the eosjs_python module.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
Hi,
im tryting to push a transaction to the chain using your framework - thanks for that btw - in Windows.
eos.push_transaction('eosio.token', 'transfer', 'x', 'active', {'from': 'x', 'to': 'y', 'quantity': '0.1 WAX', 'memo': ''} )
which works fine on mac, but on windows i get this weird error:
eosjs_python.Exceptions.PushContractTransactionException: b"undefined:1\r\n'{from:\r\n^\r\n\r\nSyntaxError: Unexpected token ' in JSON at position 0\r\n at JSON.parse ()\r\n at Object. (paths\eosjs_python\js\PushContractTransaction.js:10:26)\r\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\r\n at Module.load (internal/modules/cjs/loader.js:928:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\r\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\r\n at internal/main/run_main_module.js:17:47\r\n"
Which kinda looks like a windows line ending error. But I don't really know how to fix this cause the error gets thrown within the eosjs_python module.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: