Trying to create a new smart contract by adding a new party "buyer" produces a crash.
TLDR: Error: "Can not find object: stat_partyagents" during evaluation at (369, 29)
Full console log:
Welcome to Open Transactions -- version 0.92.d
Using as server: r1fUoHwJOWCuK3WBAAySjmKYqsG6G2TYIxdqY6YNuuG
Using as mynym: DYEB6U7dcpbwdGrftPnslNKz76BDuBTFAjiAgKaiY2n
Using as myacct: yQGh0vgm9YiqYOh6bfLDxyAA7Nnh2NmturCQmOt4LTo
Using as mypurse: JY7kEFnm2c50CGNphdpgnlVo2hOZuLrBua5cFqWWR9Q
Please paste a smart contract you would like to edit, followed by a ~ on a line by itself.
(Just leave it blank if you want to start fresh.)
~
Creating a new smart contract!
To get started, we'll need a NymID to act as the 'Lawyer'.
(Private key must be available)
I say 'Lawyer' meaning, he doesn't have to actually be one of the PARTIES
to the agreement, he is just here to sign it during construction
(since OT constructs the text itself during the signing process.)
Once the actual parties have signed on to the agreement later on, the 'Lawyer'
signature will have been dropped from the text. It's for editing only.
Acting as 'Lawyer': FT's Test Nym ( DYEB6U7dcpbwdGrftPnslNKz76BDuBTFAjiAgKaiY2n )
Created new smart contract:
-----BEGIN SIGNED SMARTCONTRACT-----
Hash: SAMY
-----BEGIN SMARTCONTRACT SIGNATURE-----
Version: Open Transactions 0.92.d
Comment: http://github.com/FellowTraveler/Open-Transactions/wiki
Meta: SDT9
CoABCzxQm72xDjALFE+vJvQoJNV2Sac0kOSEpKHLhToYDEdfoQRDAi0vl2TcCQUM
Pwwye83rrU/hu90KoJPH9p6luWWYOs0DFX+taCoy0RXexgDdNsnU6kMue411yX8l
Fy+L6LEB+yVzQqHXt1cwDdzhoLrglCiKHmGWbq37JDkQ7cc=
-----END SMARTCONTRACT SIGNATURE-----
This contract has NOT yet been confirmed by all of its parties. (FYI.)
===> Smart contract has 0 bylaws. <===
===> Smart contract has 0 parties. <===
Commands:
v : verbose (shows smart contract in greater detail.)
r : raw (prints raw smart contract to the screen.)
p : Edit parties
b : Edit bylaws
q : quit (it will also output the actual smart contract to the screen.)
You must choose, but choose wisely: p
===> Smart contract has 0 parties. <===
Edit Parties:
a : Add a party
q : return to the previous menu.
Your choice: a
Enter a name for the new party (party_ will be prepended): buyer
-----BEGIN SIGNED SMARTCONTRACT-----
Hash: SAMY
-----BEGIN SMARTCONTRACT SIGNATURE-----
Version: Open Transactions 0.92.d
Comment: http://github.com/FellowTraveler/Open-Transactions/wiki
Meta: SDT9
CoABGgSn8E6F+smFOpUWSKNRzHZw3eYicQ6l6l2SDxQSVF7HauRzsg3iOQbmEvZ7
wokEIAhp2r9OPFw+L5UG8utpQsdp6xF7rtB0x3MNsYD/LXzz8sf+M7LePIo6xJMM
YwtM5LF8WnBjJIXZIxJM/6DBoAtaZ8UaOU6bst0rSDea6qc=
-----END SMARTCONTRACT SIGNATURE-----
New party added: party_buyer
===> Smart contract has 1 party. <===
Party 'party_buyer' is merely a template, waiting for a real Nym to come along and play its role.
OTScriptChai::ExecuteScript:
Caught chaiscript::exception::eval_error:
Can not find object: stat_partyagents.
File:
Start position, line: 0 column: 0
End position, line: 0 column: 0
Error: "Can not find object: stat_partyagents" during evaluation at (369, 29)
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (369, 29) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (369, 13) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (365, 9) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (387, 12) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (387, 12) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (400, 18) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (400, 17) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (400, 17) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (398, 18) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (396, 9) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1054, 9) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1052, 12) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1277, 30) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1277, 29) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1277, 29) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1275, 25) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1273, 21) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1256, 17) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1250, 13) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1183, 12) :
from ./dev/Open-Transactions/scripts/smartcontracts/smartcontract.ot (1867, 5) :