Skip to content

Windows messes things up #20

@ChrisHoffmann96

Description

@ChrisHoffmann96

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions