File: Readme.txt

package info (click to toggle)
pyro5 5.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,124 kB
  • sloc: python: 14,328; makefile: 161; sh: 66; javascript: 62
file content (16 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This test is to show PYRO's remote exception capabilities.
The remote object contains various member functions which raise
various kinds of exceptions. The client will print those.

Note the special handling of the Pyro exception.
It is possible to extract and print the *remote* traceback.
You can then see where in the code on the remote side the error occured!
By installing Pyro's excepthook you can even
see the remote traceback when you're not catching any exceptions.

Also try to set PYRO_DETAILED_TRACEBACK to True (on the server)
to get a very detailed traceback in your client. This can help
debugging.


Also, this example shows the use of a custom exception handler in the server.