Hi all.
I've reinstalled my Ubuntu 10.04, I forgot to do the DB backups, so I
had to recreate the DB from scratch (it's not a problem, because it's
very small), but I did a little change: I added a password to DB user
which was used to connect to the work DB. So, all is fine, I configured
the user and his password, I tried it in psql (as I use PostgreSQL), it
works. But now, when I launch my program, I see something like this:
File "./imprima", line 58, in<module>
app.MainForm = ClientForm()
File "/tmp/tmpKlsHmepy", line 379, in __init__
obj = self.getCustControlClass('dDropdownList_37508')(currParent)
File "/tmp/tmpKlsHmepy", line 562, in __init__
dabo.ui.dDropdownList.__init__(self, parent=parent,
attProperties=attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/ui/uiwx/dDropdownList.py",
line 23, in __init__
dcm.dControlItemMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/ui/uiwx/dControlItemMixin.py",
line 21, in __init__
super(dControlItemMixin, self).__init__(*args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/ui/dDataControlMixinBase.py",
line 27, in __init__
dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/ui/uiwx/dPemMixin.py",
line 193, in __init__
self._afterInit()
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/ui/uiwx/dPemMixin.py",
line 327, in _afterInit
self.afterInit()
File "/tmp/tmpKlsHmepy", line 566, in afterInit
packetsList = self.Form.packetList()
File "/tmp/tmpKlsHmepy", line 493, in packetList
conn = dabo.db.dConnection(ci)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/db/dConnection.py",
line 32, in __init__
self._connection = self._openConnection(**kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/db/dConnection.py",
line 80, in _openConnection
return self._connectInfo.getConnection(forceCreate=self._forceCreate,
**kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/db/dConnectInfo.py",
line 105, in getConnection
return self._backendObject.getConnection(self, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.3-py2.6.egg/dabo/db/dbPostgreSQL.py",
line 74, in getConnection
self._connection = dbapi.connect(DSN)
psycopg2.OperationalError: fe_sendauth: no password supplied
I launched bpython, I tried to connect directly with psycopg2, all is
fine. I even created a cursor and executed a SELECT - no problems! I
recreated the connection XML using CxnEditor. And... No chance! Help me,
please, I don't see any more possibilities.
_______________________________________________
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]