On 3/28/11 9:39 AM, VPX wrote:
> Hello everyone,

Hi!

> Dabo 0.9.3
> Window 7 (64 bit)
> Python 2.6&  Python 2.7

Also, wxPython 2.9.1 which I saw in your error message below.

> I just downloaded Dabo 0.9.3 and installed it using the Windows batch file
> (win_setup.bat). I then tried to run the AppWizard from both the 2.6 and the
> 2.7 with the same results:


> It show the 1st 10 records of a table in the
> MySQL database that I use most frequently,

 > C:\Python26\Lib\site-packages\dabo\ide\wizards\AppWizard>python AppWizard.py
 > P8D,99,03,ACURA 4 DR - TL,TL,ACURA,CAR,Auto
 > P8E,99,03,ACURA 4 DR - TL,TL,ACURA,CAR,Auto
 > P8F,99,03,ACURA 4 DR - TL,TL,ACURA,CAR,Auto
 > PR8,99,05,NSX,NSX,ACURA,CAR,Auto
 > PXG,99,03,ACURA 4 DR - TL,TL,ACURA,CAR,Auto
 > S0K,99,03,ACURA 4 DR - TL,TL,ACURA,CAR,Auto
 > S0X,99,04,ODYSSEY  (HCM),ODYSSEY,HONDA,TRUCK,Auto
 > S86,99,02,ACCORD,ACCORD,HONDA,CAR,Auto
 > ST0,99,01,CR-V,CR-V,HONDA,TRUCK,Auto
 > SW3,99,00,PRELUDE,PRELUDE,HONDA,CAR,Auto
 > Number of rows returned: 10

This isn't Dabo. You must have something in your site.py or other python 
library that 
is doing this automatically. If you open a python prompt and type:

 >>> import MySQLdb
 >>> import wx
 >>> import dabo

Does this happen?

> then displays the following error
> message:
>
>
> Traceback (most recent call last):
>    File "AppWizard.py", line 1201, in<module>
>      wiz = AppWizard(None)
>    File "AppWizard.py", line 597, in __init__
>      self.append(pgs)
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\dialogs\Wizar
> d.py", line 169, in append
>      ret.append(self.append(p))
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\dialogs\Wizar
> d.py", line 171, in append
>      ret = self.insert(len(self._pages), pg)
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\dialogs\Wizar
> d.py", line 197, in insert
>      page = pg(self.pagePanel)
>    File "AppWizard.py", line 54, in __init__
>      super(PageDatabase, self).__init__(parent=parent, Caption=Caption)
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\dialogs\Wizar
> dPage.py", line 24, in __init__
>      self.setup()
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\dialogs\Wizar
> dPage.py", line 38, in setup
>      self._createBody()
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\dialogs\Wizar
> dPage.py", line 43, in _createBody
>      self.createBody()
>    File "AppWizard.py", line 156, in createBody
>      gs.setColExpand(True, 1)
>    File
> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\ui\uiwx\dGridSiz
> er.py", line 174, in setColExpand
>      self.AddGrowableCol(colNum, proportion=proportion)
>    File "C:\Python27\lib\site-packages\wx-2.9.1-msw\wx\_core.py", line 14946,
> in
> AddGrowableCol
>      return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs)
> wx._core.PyAssertionError: C++ assertion "!m_cols || idx<  (size_t)m_cols"
> faile
> d at ..\..\src\common\sizer.cpp(1948) in wxFlexGridSizer::AddGrowableCol():
> inva
> lid column index

Please try removing wxPython 2.9.1 and installing 2.8.11 instead.

>
> I do not not get an opportunity to enter a database, host name or password.
> I've tried uninstalling Dabo and reinstalling it without any luck.
> Can you give me any idea where to go from here to resolve this error?
> Thank you.
> Enjoy...

Again, there are two problems here. The first is sort of mysterious, the second 
is 
likely that we haven't fully tested with wxPython 2.9.1 yet.

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