UTF-8 / Unicode support
This commit is contained in:
parent
11264a6861
commit
d116fd1751
@ -16,9 +16,11 @@
|
||||
|
||||
$|=1;
|
||||
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
use utf8::all;
|
||||
use JSON;
|
||||
use Data::Dumper;
|
||||
use WWW::Curl::Easy;
|
||||
|
147
dero_ns_cli.pl.log
Normal file
147
dero_ns_cli.pl.log
Normal file
@ -0,0 +1,147 @@
|
||||
$VAR1 = {
|
||||
'jsonrpc' => '2.0',
|
||||
'error' => {
|
||||
'code' => -32098,
|
||||
'message' => 'panic occured. stack trace goroutine 62 [running]:
|
||||
runtime/debug.Stack()
|
||||
/home/github/local/go/src/runtime/debug/stack.go:24 +0x65
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.Transfer.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_transfer.go:37 +0x35
|
||||
panic({0x797cc0, 0xaf5800})
|
||||
/home/github/local/go/src/runtime/panic.go:1038 +0x215
|
||||
github.com/creachadair/jrpc2.(*Client).marshalParams(0x0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x15}, {0x7a50e0, 0xc00057c800})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:442 +0x134
|
||||
github.com/creachadair/jrpc2.(*Client).req(0x0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x15}, {0x7a50e0, 0xc00057c800})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:177 +0x91
|
||||
github.com/creachadair/jrpc2.(*Client).Call(0xc00043bad0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x0}, {0x7a50e0, 0xc00057c800})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:309 +0x45
|
||||
github.com/creachadair/jrpc2.(*Client).CallResult(0x7a50e0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x0}, {0x7a50e0, 0xc00057c800}, {0x7751e0, 0xc00200f7d0})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:328 +0x45
|
||||
github.com/deroproject/derohe/walletapi.(*Client).Call(...)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/daemon_communication.go:214
|
||||
github.com/deroproject/derohe/walletapi.(*Wallet_Memory).Random_ring_members(0xc00201c000, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/daemon_communication.go:491 +0xde
|
||||
github.com/deroproject/derohe/walletapi.(*Wallet_Memory).TransferPayload0(0xc00201c000, {0x0, 0x0, 0x0}, 0x2, 0x0, {0xc002044840, 0x4, 0x4}, 0x0, ...)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/wallet_transfer.go:99 +0x19d
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.Transfer({0x8afd60, 0xc00200f590}, {{0x0, 0x0, 0x0}, {0x0, 0x0}, 0x0, {0xc00057b580, 0x40}, ...})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_transfer.go:79 +0x95f
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.ScInvoke({0x8afd60, 0xc00200f590}, {{0xc00057b580, 0x40}, {0xc002044840, 0x2, 0x4}, 0x0, 0x0, 0x2})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_scinvoke.go:71 +0x448
|
||||
reflect.Value.call({0x793120, 0x832208, 0xc00205fda0}, {0x7f3d71, 0x4}, {0xc00200f710, 0x2, 0xc0004bedb0})
|
||||
/home/github/local/go/src/reflect/value.go:543 +0x814
|
||||
reflect.Value.Call({0x793120, 0x832208, 0xc00200f590}, {0xc00200f710, 0x2, 0x2})
|
||||
/home/github/local/go/src/reflect/value.go:339 +0xc5
|
||||
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func10({0x8afd60, 0xc00200f590}, 0xb7b100)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/handler/handler.go:244 +0xed
|
||||
github.com/creachadair/jrpc2/handler.Func.Handle(0xb7b100, {0x8afd60, 0xc00200f590}, 0x1)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/handler/handler.go:25 +0x2f
|
||||
github.com/creachadair/jrpc2.(*Server).invoke(0xc0020660e0, {0x8afcb8, 0xc002002d40}, {0x8a7d00, 0xc000472740}, 0xc002002d00)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:379 +0x17e
|
||||
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:230 +0x1b1
|
||||
github.com/creachadair/jrpc2.(*Server).serve.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:152 +0x5a
|
||||
created by github.com/creachadair/jrpc2.(*Server).serve
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:150 +0x29
|
||||
'
|
||||
},
|
||||
'id' => 0
|
||||
};
|
||||
$VAR1 = {
|
||||
'id' => 0,
|
||||
'error' => {
|
||||
'message' => 'panic occured. stack trace goroutine 67 [running]:
|
||||
runtime/debug.Stack()
|
||||
/home/github/local/go/src/runtime/debug/stack.go:24 +0x65
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.Transfer.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_transfer.go:37 +0x35
|
||||
panic({0x797cc0, 0xaf5800})
|
||||
/home/github/local/go/src/runtime/panic.go:1038 +0x215
|
||||
github.com/creachadair/jrpc2.(*Client).marshalParams(0x0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x15}, {0x7a50e0, 0xc00057c980})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:442 +0x134
|
||||
github.com/creachadair/jrpc2.(*Client).req(0x0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x15}, {0x7a50e0, 0xc00057c980})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:177 +0x91
|
||||
github.com/creachadair/jrpc2.(*Client).Call(0xc00043bad0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x0}, {0x7a50e0, 0xc00057c980})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:309 +0x45
|
||||
github.com/creachadair/jrpc2.(*Client).CallResult(0x7a50e0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x0}, {0x7a50e0, 0xc00057c980}, {0x7751e0, 0xc00200fe90})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:328 +0x45
|
||||
github.com/deroproject/derohe/walletapi.(*Client).Call(...)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/daemon_communication.go:214
|
||||
github.com/deroproject/derohe/walletapi.(*Wallet_Memory).Random_ring_members(0xc00201c000, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/daemon_communication.go:491 +0xde
|
||||
github.com/deroproject/derohe/walletapi.(*Wallet_Memory).TransferPayload0(0xc00201c000, {0x0, 0x0, 0x0}, 0x2, 0x0, {0xc002044900, 0x4, 0x4}, 0x0, ...)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/wallet_transfer.go:99 +0x19d
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.Transfer({0x8afd60, 0xc00200fda0}, {{0x0, 0x0, 0x0}, {0x0, 0x0}, 0x0, {0xc00057b800, 0x40}, ...})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_transfer.go:79 +0x95f
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.ScInvoke({0x8afd60, 0xc00200fda0}, {{0xc00057b800, 0x40}, {0xc002044900, 0x2, 0x4}, 0x0, 0x0, 0x2})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_scinvoke.go:71 +0x448
|
||||
reflect.Value.call({0x793120, 0x832208, 0xc00205fda0}, {0x7f3d71, 0x4}, {0xc00200fe60, 0x2, 0xc0004bedb0})
|
||||
/home/github/local/go/src/reflect/value.go:543 +0x814
|
||||
reflect.Value.Call({0x793120, 0x832208, 0xc00200fda0}, {0xc00200fe60, 0x2, 0x2})
|
||||
/home/github/local/go/src/reflect/value.go:339 +0xc5
|
||||
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func10({0x8afd60, 0xc00200fda0}, 0xb7b100)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/handler/handler.go:244 +0xed
|
||||
github.com/creachadair/jrpc2/handler.Func.Handle(0xb7b100, {0x8afd60, 0xc00200fda0}, 0x1)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/handler/handler.go:25 +0x2f
|
||||
github.com/creachadair/jrpc2.(*Server).invoke(0xc0020660e0, {0x8afcb8, 0xc002003140}, {0x8a7d00, 0xc000472740}, 0xc002003100)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:379 +0x17e
|
||||
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:230 +0x1b1
|
||||
github.com/creachadair/jrpc2.(*Server).serve.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:152 +0x5a
|
||||
created by github.com/creachadair/jrpc2.(*Server).serve
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:150 +0x29
|
||||
',
|
||||
'code' => -32098
|
||||
},
|
||||
'jsonrpc' => '2.0'
|
||||
};
|
||||
$VAR1 = {
|
||||
'error' => {
|
||||
'code' => -32098,
|
||||
'message' => 'panic occured. stack trace goroutine 45 [running]:
|
||||
runtime/debug.Stack()
|
||||
/home/github/local/go/src/runtime/debug/stack.go:24 +0x65
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.Transfer.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_transfer.go:37 +0x35
|
||||
panic({0x797cc0, 0xaf5800})
|
||||
/home/github/local/go/src/runtime/panic.go:1038 +0x215
|
||||
github.com/creachadair/jrpc2.(*Client).marshalParams(0x0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x15}, {0x7a50e0, 0xc001f826a0})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:442 +0x134
|
||||
github.com/creachadair/jrpc2.(*Client).req(0x0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x15}, {0x7a50e0, 0xc001f826a0})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:177 +0x91
|
||||
github.com/creachadair/jrpc2.(*Client).Call(0xc002105ad0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x0}, {0x7a50e0, 0xc001f826a0})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:309 +0x45
|
||||
github.com/creachadair/jrpc2.(*Client).CallResult(0x7a50e0, {0x8afcf0, 0xc0000220f0}, {0x817168, 0x34e401028105a643}, {0x7a50e0, 0xc001f826a0}, {0x7751e0, 0xc000095950})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/client.go:328 +0x45
|
||||
github.com/deroproject/derohe/walletapi.(*Client).Call(...)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/daemon_communication.go:214
|
||||
github.com/deroproject/derohe/walletapi.(*Wallet_Memory).Random_ring_members(0xc00201c000, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/daemon_communication.go:491 +0xde
|
||||
github.com/deroproject/derohe/walletapi.(*Wallet_Memory).TransferPayload0(0xc00201c000, {0x0, 0x0, 0x0}, 0x2, 0x0, {0xc0005f6780, 0x4, 0x4}, 0x0, ...)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/wallet_transfer.go:99 +0x19d
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.Transfer({0x8afd60, 0xc000095860}, {{0x0, 0x0, 0x0}, {0x0, 0x0}, 0x0, {0xc001fbb480, 0x40}, ...})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_transfer.go:79 +0x95f
|
||||
github.com/deroproject/derohe/walletapi/rpcserver.ScInvoke({0x8afd60, 0xc000095860}, {{0xc001fbb480, 0x40}, {0xc0005f6780, 0x2, 0x4}, 0x0, 0x0, 0x2})
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/walletapi/rpcserver/rpc_scinvoke.go:71 +0x448
|
||||
reflect.Value.call({0x793120, 0x832208, 0xc001ffbda0}, {0x7f3d71, 0x4}, {0xc000095920, 0x2, 0xc00005f5b0})
|
||||
/home/github/local/go/src/reflect/value.go:543 +0x814
|
||||
reflect.Value.Call({0x793120, 0x832208, 0xc000095860}, {0xc000095920, 0x2, 0x2})
|
||||
/home/github/local/go/src/reflect/value.go:339 +0xc5
|
||||
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func10({0x8afd60, 0xc000095860}, 0xb7b100)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/handler/handler.go:244 +0xed
|
||||
github.com/creachadair/jrpc2/handler.Func.Handle(0xb7b100, {0x8afd60, 0xc000095860}, 0x1)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/handler/handler.go:25 +0x2f
|
||||
github.com/creachadair/jrpc2.(*Server).invoke(0xc0020660e0, {0x8afcb8, 0xc0005fb740}, {0x8a7d00, 0xc000472740}, 0xc0005fb700)
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:379 +0x17e
|
||||
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:230 +0x1b1
|
||||
github.com/creachadair/jrpc2.(*Server).serve.func1()
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:152 +0x5a
|
||||
created by github.com/creachadair/jrpc2.(*Server).serve
|
||||
/usr/home/github/gowork/src/github.com/deroproject/derohe/vendor/github.com/creachadair/jrpc2/server.go:150 +0x29
|
||||
'
|
||||
},
|
||||
'id' => 0,
|
||||
'jsonrpc' => '2.0'
|
||||
};
|
Loading…
Reference in New Issue
Block a user