Displaying 3 results from an estimated 3 matches for "recoverableerror".
2019 Nov 21
2
Re: Dealing with ImageIO problems
...f needed.
However it makes it harder to write plugins in python. The basic idea is that
not handling an error in python will crash with a traceback *without* having to
do anything. It would be best if the python plugin ensure this.
If we want to support recoverable errors, we can define a special
RecoverableError
exception that signal the python plugin that this request failed, but
the error is not
fatal.
We can also define more specific errors like UnsupportedOperation, for
example if
plugin's zero() fail and the author wants nbdkit to stop calling
zero() and emulate
it with write.
Nir
2019 Nov 21
0
Re: Dealing with ImageIO problems
On Thu, Nov 21, 2019 at 05:50:18PM +0200, Nir Soffer wrote:
> If we want to support recoverable errors, we can define a special
> RecoverableError exception that signal the python plugin that this
> request failed, but the error is not fatal.
The problem is only the client knows if the error was recovered from.
It's a pretty complicated problem and it seems we've got a good enough
way to handle it from the rhv-upload-plugin now....
2019 Nov 19
4
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
On Tue, Nov 19, 2019 at 04:14:45PM +0200, Nir Soffer wrote:
>On Tue, Nov 19, 2019 at 3:36 PM Martin Kletzander <mkletzan@redhat.com>
>wrote:
>
>> On Tue, Nov 19, 2019 at 01:48:31PM +0100, Martin Kletzander wrote:
>> >On Tue, Nov 19, 2019 at 02:24:11PM +0200, Nir Soffer wrote:
>> >>On Tue, Nov 19, 2019 at 2:16 PM Martin Kletzander