Bzzzz | 12 Feb 01:31 2015
Picon

Pyro4 config options aren't operating as usual in NS

Debian sid
Pyro4 version 4.33 tarball
==========================

Hi list,

Pyro4 options (Pyro4.config.…) are imported as conf_ns.py.

Opposing to what's going well in svr & client, these options
doesn't seems to be taken in account, eg:

Pyro4.config.NS_HOST   = "machine.net"
Pyro4.config.NS_BCHOST = "machine.net"

but the NS starts on localhost instead.
Is it a wanted behavior or not?

Jean-Yves

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pyro-core mailing list
Pyro-core <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyro-core
(Continue reading)

Bzzzz | 12 Feb 01:01 2015
Picon

a bit confused by NS options

Hi list,

I'm a bit confused by the distinction between:
NS_HOST & NS_BCHOST
NS_PORT & NS_BCPORT

Are the BC… options to be used only when broadcasting on another
network segment or what else?

Jean-Yves

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pyro-core mailing list
Pyro-core <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyro-core
Irmen de Jong | 11 Feb 01:45 2015
Picon

python version support

Hi,

I'm slowly considering dropping support for Python 2.6 and Jython.

Various reasons
- python 2.6 is getting ancient
- jython development has slowed to a crawl unfortunately, the released 2.7 still has
many issues, beta versions pf next release only come in a trickle
- I prefer not to be burdened by this anymore and have a solid python 2.7 as minimum
compatible and supported version

Thoughts?

Are people still using Python 2.6 (or jython) with Pyro?
If so would it be problematic to have to stick to an older version of Pyro?

Irmen

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Irmen de Jong | 30 Jan 21:24 2015
Picon

Pyro 4.33 released!


Hi,

Pyro 4.33 has just been released!

Get it from Pypi:  http://pypi.python.org/pypi/Pyro4/
Or straight from Github:  https://github.com/irmen/Pyro4
Documentation: http://pythonhosted.org/Pyro4/index.html

Most important changes:

added Pyro4.utils.httpgateway, this allows clients (such as a web browser) to use a
simple http interface to call Pyro objects. See the new 'http' example.
test.echoserver now correctly deals with a specified hmac key in combination with
name server usage
some raised exceptions had a __cause__ added on Python 2.x as well, this has been
corrected (it could cause unwanted serialization errors)

Have fun!

Irmen de Jong

Irmen de Jong | 30 Jan 21:48 2015
Picon
Picon

Pyro 4.33 released!

(and once again, sourceforge seems to have eaten my first message....)

Hi,

Pyro 4.33 has just been released!

Get it from Pypi:  http://pypi.python.org/pypi/Pyro4/
Or source from Github:  https://github.com/irmen/Pyro4
Documentation: http://pythonhosted.org/Pyro4/index.html

Most important changes:

- added Pyro4.utils.httpgateway, this allows clients (such as a web browser) to use a
simple http interface to call Pyro objects. See the new 'http' example.
- test.echoserver now correctly deals with a specified hmac key in combination with
name server usage
- some raised exceptions had a __cause__ added on Python 2.x as well, this has been
corrected (it could cause unwanted serialization errors)

Have fun!

Irmen de Jong

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
(Continue reading)

Irmen de Jong | 30 Jan 22:08 2015
Picon
Picon

mailing list still dropping messages

Bah,
the list still seems to have intermittent problems. My two previous messages
(announcement of Pyro 4.33) are just gone, it seems.
I've opened a ticket with sourceforge support but to be honest I don't think it will
help much. Because if it was a known problem you would expect that it was mentioned on
their status page/twitter feed, and it is not.

Did anyone receive the 4.33 announcement message?

I'm wondering what to do when this problem persists, it really starts to annoy me now :(

Irmen.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Irmen de Jong | 27 Jan 03:48 2015
Picon

Something interesting for 4.33

Something interesting coming in 4.33;
https://github.com/irmen/Pyro4/commit/126097bca8ef8c05d4ca51aaf4a7d19859f47031

The file is named httpgateway.py and leverages Pyro's json serializer.

Have fun :)

Irmen

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Luca Delucchi | 21 Jan 11:30 2015
Picon

connect two different machine

Hi everybody,

I'm new user of Pyro, I read documentation and tutorial, I create a
test for my library and it work perfectly on localhost.
Now I'm trying to connect two different machine, I launched my script
on the server and it works correctly

python grass_stem.py
Object <__main__.stemGRASS instance at 0x7f3402fb8b48>:
    uri = PYRO:obj_b2c0d990fa2241a0b30a9de0329a8519@...:39559
    name = stem.grass
Pyro daemon running.

python -m Pyro4.nsc --host=10.0.100.251 list
--------START LIST
Pyro.NameServer --> PYRO:Pyro.NameServer@...:9090
stem.grass --> PYRO:obj_b2c0d990fa2241a0b30a9de0329a8519@...:39559
--------END LIST

When I try to work from my client I obtain these errors

python -m Pyro4.nsc --host=10.0.100.251 list
Failed to locate the name server: Failed to locate the nameserver

import Pyro4
import os
gs = Pyro4.Proxy("PYRONAME:stem.grass@...:39559")
gs.initialize(os.getpid(), '/home/lucadelu/grassdata/',
'UTM32_ETRS89', '/home/lucadelu/bin/grass70', 25832)

(Continue reading)

Irmen de Jong | 11 Jan 22:32 2015
Picon
Picon

Pyro 4.32 released


(another attempt, Sourceforge/mailman somehow refuses to accept this message to the list)

Hi,

Pyro 4.32 has just been released!

Get it from Pypi:  http://pypi.python.org/pypi/Pyro4/
Or straight from Github:  https://github.com/irmen/Pyro4
Documentation: http://pythonhosted.org/Pyro4/index.html

Changes:

- json serializer can now deal with set() types; they will be converted to
tuples/lists instead. (similar to what serpent does on older Python versions)
- this also fixes the problem that the proxy metadata feature used to crash when using
json as serializer (because it used sets to transfer the data.
  You had to turn the metadata feature off to be able to use the json serializer at all)
- flame explicitly checks for pickle to be enabled instead of causing connection level
errors
- PYRONAME uri resolving now also uses the _pyroHmacKey set on the proxy (if any)
- proxy no longer locks up in pyroRelease when a protocol error occurs while getting
the metadata
- stockquotes tutorial doesn't actually require pickle anymore, so removed that from
code and docs
- distributed-computing example now uses a custom class deserializer instead of
relying on pickle
- distributed-computing example no longer overflows on older python versions (<3.x)
- serpent library dependency updated to 1.8
- setup.py no longer fails when it can't import Pyro4 (it no longer needs to do so)
(Continue reading)

Irmen de Jong | 11 Jan 13:36 2015
Picon

test2

test2

(sorry, sourceforge seems to have trouble putting some messages on the list)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
Irmen de Jong | 11 Jan 13:27 2015
Picon
Picon

test

test

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net

Gmane