diff options
Diffstat (limited to '')
-rw-r--r-- | portato/gui/dialogs.py | 2 | ||||
-rw-r--r-- | portato/gui/windows/main.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/portato/gui/dialogs.py b/portato/gui/dialogs.py index 2cc2d6b..95f457b 100644 --- a/portato/gui/dialogs.py +++ b/portato/gui/dialogs.py @@ -128,7 +128,7 @@ def file_chooser_dialog (title, parent): def prereq_error_dialog (e): dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, _("A prerequisite for starting Portato was not matched.")) - msg = e.message + msg = e.args[0] if get_runsystem()[0] == "Sabayon": msg += "\n\n"+_("<b>Note</b>: On fresh Sabayon installs or its LiveDVD/-CD, there is no portage tree existing per default.\nPlease run <i>emerge --sync && layman -S</i>.") diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 2c6d591..261b999 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1872,6 +1872,9 @@ class MainWindow (Window): if not "eclass" in ls: fail(_("The portage tree seems to be empty.")) + if 'sqlite' in system.settings.settings.modules['user'].get('portdbapi.auxdbmodule', ''): + fail(_("The sqlite cache backend of portage is not supported at the moment. See https://bugs.launchpad.net/portato/+bug/564292.")) + debug("All prereqs matched. Fine :)") def main (self): |