I tried running it without the alias.  Here is the error when I click
"save".

By the way, I used the Pycon MySQL data on dabodev.com using the username
and password from the PyCon demo.

dave@dave-Mint ~/time1/db $ python ~/src/dabo/ide/cxnEditor.py
python: can't open file '/home/dave/src/dabo/ide/cxnEditor.py': [Errno 2] No
such file or directory
dave@dave-Mint ~/time1/db $ python ~/src/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:20307): Gtk-WARNING **: Unable to retrieve the file info for
`file:///home/dave/time1/db/hours': Error stating file
'/home/dave/time1/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/src/dabo/ide/CxnEditor.py", line 274, in onSave
    self.saveFile()
  File "/home/dave/src/dabo/ide/CxnEditor.py", line 430, in saveFile
    self.writeChanges()
  File "/home/dave/src/dabo/ide/CxnEditor.py", line 543, in writeChanges
    vals = self.relPaths(self.connDict.values())
  File "/home/dave/src/dabo/ide/CxnEditor.py", line 556, 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"


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Ed Leafe
Sent: 25 July 2012 02:15
To: Dabo Users list
Subject: Re: [dabo-users] Struggling with connection editor

On Jul 24, 2012, at 2:35 AM, Dave Kelly wrote:

> dave@Mint-Maya ~/timeclock/db $ dconnect

        What is 'dconnect'? If it's an alias, what does the alias expand to?

        I've been trying to get that error by trying all sorts of
permutations of steps, and I'm no longer able to get the traceback. Can you
outline the steps you follow to get that?


-- Ed Leafe



_______________________________________________
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]
om

_______________________________________________
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]

Reply via email to