Re: trying to do remote ODBC with Pyro4 and Flameserver
Irmen de Jong <[email protected]> Tue, 29 Oct 2013 20:41:06 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 29-10-2013 12:05, Richard van Bemmelen wrote: > I am trying to use Pyro4 to execute a remote ODBC python function. > This function runs fine on the remote machine. > When trying to run it remotely using the Flameserver I get: > [...] > "/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/util.py", line 348, in > loads return pickle.loads(data) cPickle.UnpicklingError: NEWOBJ class argument has NULL > tp_new > You're passing a non-pickleable object across the wire (probably some form of resultset object coming from odbc?) Try to convert the result of the query to more basic objects first before returning them across the wire. Irmen ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk