| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
python-meh now allows us to register callbacks providing some additional
info.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this patch our UserInterface classes somehow "implicitly"
inherited python-meh's *Intf classes by providing two methods with right
names. This patch adds a meh_interface property to our UserInterface
classes that returns an instance of a class that really is inherited
from the python-meh's *Intf class or actually is an instance of the
python-meh's *Intf class in case of gui and tui respectively. It also
adds a tty_num property to our *UserInterface classes that can be used
in runDebug to get user to the right console before and after the pdb
session automatically.
|
|
|
|
| |
Also skip logging any kwargs with pass in their name
|
|
|
|
|
|
| |
This reverts commit 799d526f3b8a0586c5c716ae1adf9af79883d9de.
With the new threading code in place, this is no longer needed.
|
|
|
|
| |
exception handler be called by Gtk only once
|
|
|
|
|
| |
Since we add actions to main loop, not releasing lock may lead
to deadlock.
|
|
|
|
|
|
|
|
| |
Instead of adding command line option throwing exception in one place
of the code, let's use SIGURS1 as signal for raising exception in anaconda.
This way, it is possible to raise exception in different phases of the
installation and we can add code to prepare worst case scenario testing
as much resolved bugs in exception handling as possible.
|
| |
|
|
|
|
|
|
| |
isys.vtActivate is problematic when using tmux, chvt command works
well and we use it so rarely that it should be okay to call an
external command.
|
|
|
|
|
|
|
|
|
| |
For some reason GLib.main_depth() stopped working and returns 0
even if Gtk.main loop is already running. This leads to crashes
and hangs of whole GUI when exception appears in a thread
different from the main one.
Resolves: rhbz#849997
|
|
|
|
|
|
|
|
|
| |
This updates what attributes get written out to the traceback file for the
newui. In particular, it avoids writing out all the yum stuff that makes the
traceback file grow over 2 MB and take nearly a minute to pickle.
It's entirely possible this is either skipping too much or writing out too
much still, but we can work on that over time.
|
|
|
|
|
|
| |
Multiple threads drawing in a Gtk.main loop cause Gtk crash. To prevent such
crashes, we need to run exception handling dialogs in the same thread as the
main loop (if running).
|
|
|
|
| |
UserInterface object no longer has the __del__() method.
|
|
|
|
|
| |
People usually don't know that 'continue' command quits the debugger,
so display them a little hint.
|
|
|
|
|
| |
Killing ananconda left no way to report a bug via python-meh/libreport
once user entered the post-mortem pdb session.
|
|
|
|
|
| |
Now that python-meh is ported to Gtk3, we can again use its UI in
exception handling.
|
|
|
|
|
|
|
| |
Our tangled set of imports means that anaconda was still trying to import
partIntfHelpers through dispatch and rescue mode. This patch breaks those
imports (which likely further breaks rescue and upgrade modes) and makes
the gui work again.
|
|
|
|
|
| |
Certain portions of the install are now implemented as kickstart scripts,
so they need to start being run.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I can't really use the UI parts of python-meh without updating it to GTK3,
which I can't do until firstboot and s-c-ks are also updated. Currently
attempting to handle an exception results in another exception, which is
not at all useful. Thus, this patch makes sure the /tmp/anaconda-tb-*
file is written and then prints the exception to tty1 and exits.
Hey, at least we know something happened now.
|
|
|
|
|
|
| |
Create the constant and remove the old variable.
This way we don't have to pass the argument around.
|
|
|
|
| |
Resolves: rhbz#689520
|
| |
|
| |
|
|
|
|
|
| |
This adds logging the contents of the kickstart file, if present, to the
traceback file. It also includes all of the command line options states.
|
|
a real Python package.
Also updates the build and autotools stuff to work with the new structure
|