- More detail for errors in evaluation

- Printing errors on stdout too, as well as query conversion to python



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@225 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf
2010-04-08 09:43:29 +00:00
parent 425dc5cf4c
commit ad84f402d5
3 changed files with 59 additions and 45 deletions

View File

@@ -85,6 +85,7 @@ class Ui_Form(object):
self.selectedRelation=result
self.showRelation(self.selectedRelation) #Show the result in the table
except Exception, e:
print e
QtGui.QMessageBox.information(None,QtGui.QApplication.translate("Form", "Error"),"%s\n%s" % (QtGui.QApplication.translate("Form", "Check your query!"),e.message) )
def showRelation(self,rel):
'''Shows the selected relation into the table'''