trying to do remote ODBC with Pyro4 and Flameserver
Richard van Bemmelen <[email protected]> Tue, 29 Oct 2013 12:05:40 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <CAMEWXj1RkPMCzzD-9mUPTDoSBPrwNh2474rMJ_iuAZjq7k8WEA@mail.gmail.com> |
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:
Traceback (most recent call last): File
"/Users/richard/Desktop/MyPython/remodbc.py", line 44, in <module> result =
flame.module("flame.stuff").query('') File
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/core.py",
line 160, in __call__ return self.__send(self.__name, args, kwargs) File
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/utils/flame.py",
line 81, in __invoke return self.flameserver._invokeModule(module, args,
kwargs) File
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/core.py",
line 160, in __call__ return self.__send(self.__name, args, kwargs) File
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/core.py",
line 314, in _pyroInvoke data = serializer.deserializeData(msg.data,
compressed=msg.flags & Pyro4.message.FLAGS_COMPRESSED) File
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/util.py",
line 154, in deserializeData return self.loads(data) File
"/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
Richard
------------------------------------------------------------------------------
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
_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core