In installupdate.py a memory error can also be EnvironmentError with
errno set to ENOMEM.
Should you also handle this?
Is there a risk that you will not have the memory available to display
the memory error?
Padraig
On 01/20/10 16:07, John Rice wrote:
Hi - now that we have the global error handler in the GUI this webrev
can handle out of memory errors using the misc error message.
The only problem with using this CLI message is that it has hard coded
'\n' so it messes up the formating in the dialog.
As Danek has mentioned we need to address sharing error messages
between the clients, part of this will be parameterizing things like
these hard coded '\n' so the CLI can insert them as required and the
GUI can ignore them by inserting "". This won't happen for 2010.03.
http://cr.opensolaris.org/~jmr/pm_8424_pm_out_of_memory_20Jan_4pm
8424 GUI should use error handler for out of memory conditions
JR
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss