Questions tagged [pyro]

Pyro is a library that enables you to build applications in which PYthon Remote Objects can talk to each other over the network, with minimal programming effort.

Pyro is a library that enables you to build applications in which Python remote objects can talk to each other over the network, with minimal programming effort.

You use normal Python method calls, with almost every possible parameter and return value type, and Pyro takes care of locating the right object on the right computer to execute the method. It is designed to be very easy to use, and to, generally, be non-obtrusive.

Pyro also provides a set of powerful features that enables you to build distributed applications rapidly and effortlessly. Pyro is written in 100% pure Python and therefore runs on many platforms and Python versions.

176 questions
1
vote
1 answer

Python Pyro running on Linux to open a COM object on a remote windows machine, is it possible?

I have a project that requires the usage of COM objects running on a windows machine. The machine running the Python Django project is on a Linux box. I want to use Pyro and the django App to call COM objects on the remote windows machine. Is it…
Jules
  • 55
  • 1
  • 3
1
vote
2 answers

Pyro4 Remote connection blocked

I am using Pyro4 to make a remote connection between a raspberry and a computer. I've tested the code local on my computer. But now I want to use it on the raspberry. Only problem the target machine refused it. Nameserver is set, I can ask for the…
Tom
  • 115
  • 1
  • 7
1
vote
1 answer

Why does pyro4 fail to locate nameserver under 127.0.1.1 but succeed with 127.0.0.1?

I am trying to run a pyro4 server with a custom event loop on a Raspberry Pi running Raspbian 8 (jessie). When I create a nameserver using the hostname obtained from socket.gethostname(), specifically 'raspberrypi', my client script cannot find the…
Adam Anderson
  • 173
  • 1
  • 5
1
vote
1 answer

Python: Numpy.min replaces builtin: causes Pyro4 Error: reply sequence out of sync

EDIT: It turned out to be a dill bug, see answer. EDIT: Look to the bottom for my progress troubleshooting the error, which turns out to be caused by numpy.min replacing the built in min function I am working with Pyro (version 4.43, Python 3.5.1,…
1
vote
0 answers

Error starting a Pyro Name server

I have an Amazon ec-2 instance, with public ip 52.62.132.33. Trying to start a name server pops the below error message. (venv)[ec2-user@ip-172-31-6-10 ~]$ pyro4-ns -n 52.62.132.33 Traceback (most recent call last): File…
Adrian Muljadi
  • 168
  • 1
  • 15
1
vote
1 answer

KeyError with Pyro4

Im trying to send an object with Pyro4. Seems Like it changes on the way, like Im using pickle.dumps and Pickle.loads on server it works but when I try to use pickle.loads on client it gives me a KeyError.Server: def get_objects(self,player): …
1
vote
1 answer

AttributeError with Pyro4

Im trying to send an object with Pyro4. This is my server code : class Player(object): def __init__(self, name='', clazz=C_SPEC): self.name = 'name' class Game(object): def playeradd(self): '''Add spectator''' …
1
vote
1 answer

PYRO4 - Errno 10061 connection refused

I am trying to connect a client machine to a server mashine in different network using PYRO4 and Python 2.7 My server code is: import Pyro4 class Thing(object): def method(self, arg): return…
1
vote
1 answer

Can PyRo be scaled in production?

I have thought of using PyRo as a backend in a production environment. So I would like to ask, does it have support for clusters? I.e. if one PyRo backend fails, can it fall back to using another one? What if the name server fails? Has it been…
Sergey Orshanskiy
  • 6,794
  • 1
  • 46
  • 50
1
vote
0 answers

Problems after oving Pyro CMS

a friend ask me to move his website ( Pyro CMS ) to my server. I've made a Backup and then uploades all the files and the SQL file. but after that when i'm trying to enter the website this error appears: **A PHP Error was encountered Severity:…
Nicolas C
  • 11
  • 1
1
vote
1 answer

Global Object in Pyro

I want to export a function via RPC. Therefore I use Pyro4 for Python. This works so far. Now I want that function to work also on the data the belong to the RPC-Server. Is this possible? If so, how? #!/usr/bin/env python3 import Pyro4 import…
user2567875
  • 482
  • 4
  • 21
1
vote
1 answer

How to stop an IOException error using whilst using a combination of jython, pyro and ant?

So the wonderful low down on this doozie of a problem: short version: We are building a distribution system for this item of software we're using. Basically we take out build artifact, store it on an ftp server which passes it to multiple clients…
Kelso
  • 21
  • 3
1
vote
1 answer

Pyro call over WAN

I have a Pyro4 application that needs to be accessed by users globally. Users from within the US can access it fine. However, a user from a London PC seems to have issues connecting to the server. He can ping the nameserver correctly, but gets a…
mottosan
  • 466
  • 3
  • 14
1
vote
1 answer

PyRO: daemon.connect(PyroObj, name) --> doesn't work

I'm experiencing a problem with PyRO, and it is strange because pyro-ns (the name server) is running. So see here below the error: [127.0.0.1] out: name server [127.0.0.1] out: Traceback (most recent…
FrancescoN
  • 2,146
  • 12
  • 34
  • 45
1
vote
1 answer

Custom Class Serialization with JSON in Python 3

I am having problems when JSON is trying to decode my serialized custom class with the class information encoded in the dict. I will try to provide as much information as possible, so please bear with the long post. I am using the excellent tutorial…
adwaraki
  • 342
  • 1
  • 5
  • 14