On 07/26/2012 04:49 AM, Dave Kelly wrote: > Just to be doubly certain, I created a brand new install of Linux Mint 12 in > Virtualbox. I added no new software to default install. I installed Dabo > using the following steps: > > 1. I installed the following packages through the package manager - > python-reportlab, python-wxgtk2.8, subversion and python-mysqldb. > 2. svn checkout http://svn.dabodev.com/dabo/trunk dabo from my home > directory > 3. I created a sym link in /usr/local/lib/python2.7/dist-packages to > $HOME/dabo/dabo > > DaboDemo.py worked fine. > > I created an application in the interper by: > Import dabo > dabo.quickStart("test") > > I changed into ~/test/db and fired up the conneciton editor by typing python > ~/dabo/ide/CxnEditor.py (no alias). > > I used the Pycon demo parameters to connect to the Pycon database. > > The connection tested OK. > > I tried to save and got: > > dave@dave-test ~/test/db $ python ~/dabo/ide/CxnEditor.py > /usr/local/lib/python2.7/dist-packages/dabo/lib/SimpleCrypt.py:52: > UserWarning: WARNING: SimpleCrypt is not secure. Please see > http://wiki.dabodev.com/SimpleCrypt for more information > warnings.warn("WARNING: SimpleCrypt is not secure. Please see > http://wiki.dabodev.com/SimpleCrypt for more information") > > (python:3455): Gtk-WARNING **: Unable to retrieve the file info for > `file:///home/dave/test/db/hours': Error stating file > '/home/dave/test/db/hours': No such file or directory > Traceback (most recent call last): > File > "/usr/local/lib/python2.7/dist-packages/dabo/ui/uiwx/dControlMixin.py", line > 27, in _onWxHit > self.raiseEvent(dEvents.Hit, evt, *args, **kwargs) > File "/usr/local/lib/python2.7/dist-packages/dabo/ui/uiwx/dPemMixin.py", > line 1074, in raiseEvent > super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, > **kwargs) > File "/usr/local/lib/python2.7/dist-packages/dabo/lib/eventMixin.py", line > 81, in raiseEvent > bindingFunction(event) > File "/home/dave/dabo/ide/CxnEditor.py", line 278, in onSave > self.saveFile() > File "/home/dave/dabo/ide/CxnEditor.py", line 23, in _wrapped > return fnc(self, *args, **kwargs) > File "/home/dave/dabo/ide/CxnEditor.py", line 437, in saveFile > self.writeChanges() > File "/home/dave/dabo/ide/CxnEditor.py", line 552, in writeChanges > vals = self.relPaths(self.connDict.values()) > File "/home/dave/dabo/ide/CxnEditor.py", line 565, in relPaths > if self.isFileBasedBackend(val["dbtype"]): > KeyError: 'dbtype' > > Dave Kelly > The Priory Inn > 01666 502 251 > www.theprioryinn.co.uk > "Dining in a 30 Mile Food Zone" I've updated to the latest and noticed that if I incorrectly add a wrong database name (connection failed) I no longer can connect using the correct database. I get the following error: "Could not connect to the database: 'NoneType' object has no attribute 'getConnection'.
Also the 'X' will no longer close the form - only the File->Quit works. In my opinion there is something wrong with the code. I'm on vacation and do not have time to find out why at the moment. Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
