pyro doesn't handle except_print

Bug #655117 reported by Dukai Gábor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE OpenObject Client
New
Undecided
Unassigned

Bug Description

Hi!
The same works with netrpc. The printjob module uses except_print to notify the user if a report is printed directly.
Pyro isn't able to handle that exception and raises a generic error with traceback:

Traceback (most recent call last):
  File "Koo/Rpc/Rpc.py", line 156, in call
    result = self.singleCall( obj, method, *args )
  File "Koo/Rpc/Rpc.py", line 145, in singleCall
    result = self.proxy.dispatch( obj[1:], method, self.databaseName, self.uid, self.password, *encodedArgs )
  File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 384, in __call__
    return self.__send(self.__name, args, kwargs)
  File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 459, in _invokePYRO
    return self.adapter.remoteInvocation(name, Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
  File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 439, in remoteInvocation
    return self._remoteInvocation(method, flags, *args)
  File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 464, in _remoteInvocation
    answer = pickle.loads(answer)
AttributeError: 'module' object has no attribute 'except_print'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.