File: Readme.txt

package info (click to toggle)
pyro4 4.82-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,528 kB
  • sloc: python: 17,736; makefile: 169; sh: 113; javascript: 62
file content (17 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 (Pyro4.util.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.


Note: you can only use your own exception classes, when you are
using the pickle serializer. This is not the default.