I opened up the class designer, right clicked on the main form, and
selected "Add Controls for Data Environment" in the dropdown menu. I
went and opened up my connection file. It was to a PostgreSQL
database. The connection was successful. Then, when I clicked next
to move onto the next page of the Wizard, I got the following error:
Dabo Info Log: Wed Jun 13 14:02:14 2007: PyOpenGL not present, so
dGlWindow is not loaded.
Dabo Error Log: Wed Jun 13 14:02:16 2007: Nested sizer missing its
ControllingSizer
Dabo Info Log: Wed Jun 13 14:02:16 2007: 1 database connection
definition(s) loaded.
Dabo Info Log: Wed Jun 13 14:02:16 2007: User interface already set to
'wx', so dApp didn't touch it.
Dabo Info Log: Wed Jun 13 14:02:16 2007: wxPython Version: 2.8.3.0
wxMSW (unicode)
Traceback (most recent call last):
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\lib\eventMixin.py",
line 98, in raiseEvent
bindingFunction(event)
File
"c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\dialogs\Wizard.py",
line 131, in onNext
self.CurrentPage += pg.nextPage()
File
"c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\dialogs\Wizard.py",
line 302, in _setCurrPa
ge
ok = self._pages[self._currentPage].onLeavePage(direction)
File "c:\Documents and Settings\nwlowri\My
Documents\Projects\daboide\wizards\QuickLayoutWizard.py", li
ne 57, in onLeavePage
return self.Wizard.makeConnection()
File "c:\Documents and Settings\nwlowri\My
Documents\Projects\daboide\wizards\QuickLayoutWizard.py", li
ne 739, in makeConnection
tbls = crs.getTables()
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\db\dCursorMixin.py",
line 1626, in getTables
return self.BackendObject.getTables(includeSystemTables)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\db\dbPostgreSQL.py",
line 69, in getTables
tempCursor.execute(sqltablestr)
ProgrammingError: relation "public.unitcategory" does not exist
I created the database and the tables in PdAdmin III and could query
them using psycopg2 and the python interpreter, so I am pretty sure it
is not the database. I named the table UnitCategory, so I am not sure
if capitalization matters.
info:
-----------------------------------------------------------------------------------------------------------------
Platform: Win
Python Version: 2.5 on win32
Dabo Version: Version 0.9a; Revision 3176
UI Version: 2.8.3.0 on wxMSW
Dabo IDE version: 0.9a (Revision 857)
-----------------------------------------------------------------------------------------------------------------
Cheers,
Nate L.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]