summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-16 01:37:21 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-16 01:37:21 +0200
commit43a537bb875381576fd8782884d1079080e1d592 (patch)
tree04dcfa26f3ace12dca3ad0691cccbeb0d56f5320 /portato
parent755507fd75a55d3e2484d95803c2c1323dd35701 (diff)
parentece9295ade05250c8b67712878a013a5ffc73567 (diff)
downloadportato-43a537bb875381576fd8782884d1079080e1d592.tar.gz
portato-43a537bb875381576fd8782884d1079080e1d592.tar.bz2
portato-43a537bb875381576fd8782884d1079080e1d592.zip
Merge branch '0.14'
Diffstat (limited to '')
-rw-r--r--portato/gui/dialogs.py2
-rw-r--r--portato/gui/windows/main.py3
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 &amp;&amp; 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):