johnf wrote:
> On Tuesday 10 February 2009 03:05:24 pm Ricardo Aráoz wrote:
>
>> Of course you are right. But then I'm at a complete loss about the error
>> message. Today I even tried brute force and searched all my hard drive
>> looking for the string "getTables" which is the name of the method which
>> produces the error, but I did not find it.
>> It would seem unlikely that it is my error as it appears whilst in a
>> wizard.
>>
>> Ricardo.
>>
>
> The method "getTables" is in ~/dabo/db/dbMsSQL.py.
>
> Did you provide the version of MsSQL you are using?
>
> I'm not sure what is happening with CD. I know when I retrieve 400+ table
> names from MsSQL it takes a really long time to return (five minutes or more
> sometimes). But it does return the names. Could it be that you are not
> waiting long enough?
>
No, not really. The following message is an error message that appears
the second I press the button :
---------------------------------------------------------------------------------------------------------------------------------
Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Python25\Lib\site-packages\dabo\IDE>python ClassDesigner.py
Traceback (most recent call last):
File "C:\Documents and Settings\raraoz\dabo\ui\uiwx\dControlMixin.py",
line 27
, in _onWxHit
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dPemMixin.py", line
944, in r
aiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "C:\Python25\lib\site-packages\dabo\lib\eventMixin.py", line 93,
in raise
Event
bindingFunction(event)
File "C:\Documents and Settings\raraoz\dabo\ui\dialogs\Wizard.py",
line 124, i
n onNext
File "C:\Documents and Settings\raraoz\dabo\ui\dialogs\Wizard.py",
line 291, i
n _setCurrPage
File
"C:\Python25\Lib\site-packages\dabo\IDE\wizards\QuickLayoutWizard.py", li
ne 63, in onLeavePage
return self.Wizard.makeConnection()
File
"C:\Python25\Lib\site-packages\dabo\IDE\wizards\QuickLayoutWizard.py", li
ne 788, in makeConnection
tbls = crs.getTables()
File "C:\Python25\lib\site-packages\dabo\db\dCursorMixin.py", line
1947, in ge
tTables
return self.BackendObject.getTables(self.AuxCursor, includeSystemTables)
File "C:\Python25\lib\site-packages\dabo\db\dbMsSQL.py", line 79, in
getTables
{'db':dbName} )
File "C:\Python25\lib\site-packages\dabo\db\dCursorMixin.py", line
330, in exe
cute
raise dException.DBQueryException(errMsg, sql)
dabo.dException.DBQueryException: internal error: None
SQL: select table_name from INFORMATION_SCHEMA.TABLES where
table_catalog = %(db
)s and table_type = 'BASE TABLE' order by table_name
---------------------------------------------------------------------------------------------------------------------------------
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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]