FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 03-09-2010, 12:41 PM
Ales Kozumplik
 
Default exception.py: switch to tty1 before exit (#569071)

so the user knows what's going on and doesn't get a blank screen.
---
exception.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/exception.py b/exception.py
index 65d7008..18f8e4e 100644
--- a/exception.py
+++ b/exception.py
@@ -89,6 +89,14 @@ class AnacondaExceptionHandler(ExceptionHandler):
pdb.post_mortem (tb)
os.kill(os.getpid(), signal.SIGKILL)

+ def runQuit(self, (ty, value, tb)):
+ # see a similar comment at runDebug()
+ try:
+ isys.vtActivate(1)
+ except SystemError:
+ pass
+ sys.exit(self.exitcode)
+
def initExceptionHandling(anaconda):
fileList = [ "/tmp/anaconda.log", "/tmp/lvmout", "/tmp/resize.out",
"/tmp/program.log", "/tmp/storage.log", "/tmp/yum.log",
--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-09-2010, 12:53 PM
Ales Kozumplik
 
Default exception.py: switch to tty1 before exit (#569071)

On 03/09/2010 02:41 PM, Ales Kozumplik wrote:

so the user knows what's going on and doesn't get a blank screen.


I want to definitely submit this to f13-branch and possibly also to
master (but there's been changes in the meh for master so hard to say).


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-09-2010, 03:14 PM
David Lehman
 
Default exception.py: switch to tty1 before exit (#569071)

On Tue, 2010-03-09 at 14:53 +0100, Ales Kozumplik wrote:
> On 03/09/2010 02:41 PM, Ales Kozumplik wrote:
> > so the user knows what's going on and doesn't get a blank screen.
>
> I want to definitely submit this to f13-branch and possibly also to
> master (but there's been changes in the meh for master so hard to say).

Patch looks okay to me.

It really shouldn't go to f13-branch unless it's going to master in some
form.

Dave

>
> Ales
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-09-2010, 03:51 PM
Chris Lumens
 
Default exception.py: switch to tty1 before exit (#569071)

> I want to definitely submit this to f13-branch and possibly also to
> master (but there's been changes in the meh for master so hard to
> say).

This should be fine for master as well. The changes I've done in meh
have been around the save options, which are all handled by report now.
The quit and debug options are the same as they have been.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-11-2010, 10:47 PM
David Lehman
 
Default exception.py: switch to tty1 before exit (#569071)

On Tue, 2010-03-09 at 14:53 +0100, Ales Kozumplik wrote:
> On 03/09/2010 02:41 PM, Ales Kozumplik wrote:
> > so the user knows what's going on and doesn't get a blank screen.
>
> I want to definitely submit this to f13-branch and possibly also to
> master (but there's been changes in the meh for master so hard to say).

Go ahead and push this to f13-branch. Thanks for your patience.

Dave

>
> Ales
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org