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
0
votes
0 answers

Pyrocms if condition is not working

this is my pyro cms code. {{ images }} {{ if default == 1 }}
{{ endif }} {{ /images }} this condition is not working when i try to print default value. {{ images }} {{ default }} {{ images }} i have two…
Renish Khunt
  • 5,620
  • 18
  • 55
  • 92
0
votes
1 answer

wix patch PYRO0103 : The system cannot find the file

I have tried building a patch for my application. I need to replace two files, nothing more. Using a bootstrapper got the files in place, but when uninstalling the bootstrapper the files was gone and not replaced by the old ones(of course). I added…
Dreas89
  • 27
  • 7
0
votes
1 answer

PyRo and python

I use PyRo in my python programm. And I have a problem. class B: In callFromProxy print 0, but in callfun print right value = 10. Why? How to fix? class A(Pyro.core.ObjBase): # set link to item class B def set(self, real_B): self.item_B =…
gimlis
  • 11
  • 1
0
votes
1 answer

How can I return a complex object type (python-ldap connection) from a Pyro4 Daemon?

I've got a Pyro4 daemon going which I would like to have return a connection to LDAP (instantiated by the python-ldap module). The code is short and simple, but I run into an error with (I believe) serialization of the connection object upon my…
CptSupermrkt
  • 6,844
  • 12
  • 56
  • 87
0
votes
1 answer

Windows Installer XML relative Path for Patch

I'm using the Microsoft Team Foundation Server to manage and Deploy Setups for my Applications. My Setups are WiX-Setups with relative Paths. p.e. Components
MMI
  • 13
  • 4
0
votes
1 answer

Wrapping Pyro4 name server

I made a class to allow me to start and stop a pyro name server from a script (i.e. not having to start multiple programs such as in the tutorial). The class is as follow: class NameServer(Pyro4.threadutil.Thread): def __init__(self, host,…
Christian O'Reilly
  • 1,864
  • 3
  • 18
  • 33
0
votes
0 answers

"socket.error: [Errno 101] Network is unreachable" in Pyro4 python application in Ubuntu

I am trying to run a simple application using Pyro4 in python2.7; there are two programs 1st is server.py which binds the object with its IP address and also runs the naming service, and 2nd is the client.py which is running in a remote pc in the…
sumitb.mdi
  • 1,010
  • 14
  • 17
0
votes
1 answer

Distributed Networked Applications (Python, Celery, 0MQ, etc)

Hi Everyone, I have been developing with python for about a year. Now i have a need to develop distributed applications which communicate with each other. I do not have an idea which modulue will be the best to learn, so i need your help…
Kumaran
  • 3
  • 1
0
votes
2 answers

Kill Windows asynchronous Popen process in 2.4

I have a testing script that needs to open a process (a Pyro server), do some stuff that will call the opened process for information, and when it's all done will need to close the process back down. It's all part of an automated test on a staging…
Eric Palakovich Carr
  • 22,701
  • 8
  • 49
  • 54
0
votes
1 answer

PyroCMS Tags in Arrays

I am using CodeIgniter with PyroCMS in my work as a website developer. Some colleagues who have used Pyro much longer than I have are using the Pyro tags a lot. They seem extremely useful, even if I don't have a clue how they work yet. Anyway, I was…
trysis
  • 8,086
  • 17
  • 51
  • 80
0
votes
1 answer

PyroCMS: autoload.php not finding customized helpers

I know this question has probably been asked a hundred times, but I'm trying to call a helper I made up from autoload.php. I stored the helper file in shared_addons/helper. I called it new_helpers. The helpers file is:
trysis
  • 8,086
  • 17
  • 51
  • 80
0
votes
1 answer

pyrocms i want to display keywords separated in the loop

this code display applied keywords to the childrens pages {{ pages:children id="1" order-dir="desc" limit="15" }} {{ custom_fields }} {{keywords}} {{ /custom_fields }} {{ /pages:children }} I have 3 keywords applid to some page so i want to…
0
votes
2 answers

Python Pyro4 remote object block (like if it was deadlocked)

I have a problem with Python Pyro4 remote objects which behave as if they were deadlock. Here's how to reproduce the problem (in Windows). Start the name server: set PYRO_HMAC_KEY=some_key python -m Pyro4.naming Then run the remote object…
Christian O'Reilly
  • 1,864
  • 3
  • 18
  • 33
0
votes
1 answer

How do I upload files to S3 instead of my hard drive using PyroCMS 2.1.5?

I can't seem to figure out how to post files (images, etc) to amazon S3. I'd like for this to be default behavior for ALL media upload areas.
broadbent
  • 101
  • 9
0
votes
0 answers

Pyro doesn't work with python-daemon

So, lets start. 1) PYRO - Python Remote Objects - library that allows you to share you objects between separate scripts 2) python-daemon - handles daemonization of our script - detach and other things that author calls 'well-behaved daemon' One at…
scythargon
  • 3,363
  • 3
  • 32
  • 62
1 2 3
11
12