17 Aug 16:00
Error: bad value on output port ‘tcp_inet'.
From: Enhnaran Alexander <enhnaran <at> gmail.com>
Subject: Error: bad value on output port ‘tcp_inet'.
Newsgroups: gmane.comp.lang.erlang.general
Date: 2008-08-17 14:03:15 GMT
Subject: Error: bad value on output port ‘tcp_inet'.
Newsgroups: gmane.comp.lang.erlang.general
Date: 2008-08-17 14:03:15 GMT
Hi,
I am now using Thrift, a lightweight, language-independent software stack. I use this to communicate and transfer data between servers on which are deployed system written in different languages. So when I call
thrift_client:call(Client, Func, Args)
which encapsulates call to
gen_server:call(Client, {Client, Func, Args}),
with the parameters like this:
thrift_client:call(Client, myFunc, [[{data, "f1", "f2", ..., "fn"}]]),
it prompts out ERROR REPORT saying "Bad value on output port 'tcp_inet'".
I have asked Mr. Google for help and only to find some answers. It is said that a list or binary should be passed in, and if something like a tuple or so is passed as a parameter, then such an error occurs. But I didn't at all pass a tuple or anything but a list, so then why did this take place?
Thanks
I am now using Thrift, a lightweight, language-independent software stack. I use this to communicate and transfer data between servers on which are deployed system written in different languages. So when I call
thrift_client:call(Client, Func, Args)
which encapsulates call to
gen_server:call(Client, {Client, Func, Args}),
with the parameters like this:
thrift_client:call(Client, myFunc, [[{data, "f1", "f2", ..., "fn"}]]),
it prompts out ERROR REPORT saying "Bad value on output port 'tcp_inet'".
I have asked Mr. Google for help and only to find some answers. It is said that a list or binary should be passed in, and if something like a tuple or so is passed as a parameter, then such an error occurs. But I didn't at all pass a tuple or anything but a list, so then why did this take place?
Thanks
<div><div dir="ltr">Hi,<br><br>I am now using Thrift, a lightweight, language-independent software stack. I use this to communicate and transfer data between servers on which are deployed system written in different languages. So when I call <br>
thrift_client:call(Client, Func, Args) <br>which encapsulates call to <br> gen_server:call(Client, {Client, Func, Args}),<br>with the parameters like this:<br> thrift_client:call(Client, myFunc, [[{data, "f1", "f2", ..., "fn"}]]),<br>
it prompts out ERROR REPORT saying "Bad value on output port 'tcp_inet'".<br><br>I have asked Mr. Google for help and only to find some answers. It is said that a list or binary should be passed in, and if something like a tuple or so is passed as a parameter, then such an error occurs. But I didn't at all pass a tuple or anything but a list, so then why did this take place?<br><br>Thanks<br>
</div></div>
RSS Feed