jbarry wrote:
Ok the generated app runs fine without reportlab and PIL in LINUX but
NOT in winXP (I simply renamed the directories of PIL and reportlab so
that they cant be seen by python)

Can you triple-check that your Dabo version on XP matches that on Linux?

the browse tab still has only the iid column and not the name column

I created the table using sqlite3
  create table lstcollectors (iid integer primary key, cname text);

and inserted values to it.

Take a look at your generated bizobj for that table. Do you see the cname field in the SQL? Then take a look at the fieldspecs.fsxml file. Do you see the field there?


Other observations

when the generated app is run and you immediately click the browse tab
without requerying a trace back is generated:

Traceback (most recent call last):
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\lib\
eventMixin.py", line 87, in raiseEvent
    bindingFunction(event)
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\lib\
datanav\Page.py", line 529, in __onPageEnter
    self.updateGrid()
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\lib\
datanav\Page.py", line 516, in updateGrid
    self.fillGrid(False)
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\lib\
datanav\Page.py", line 552, in fillGrid
    self.BrowseGrid.populate()
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\lib\
datanav\Grid.py", line 58, in populate
    autoSizeCols=False):
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\ui\u
iwx\dGrid.py", line 1666, in buildFromDataSet
    structure = bizobj.getDataStructureFromDescription()
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\biz\
dBizobj.py", line 1100, in getDataStructureFromDescription
    return self._CurrentCursor.getFieldInfoFromDescription()
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\db\d
CursorMixin.py", line 1285, in getFieldInfoFromDescription
    return self.BackendObject.getFieldInfoFromDescription(self.description)
  File "C:\Program Files\Python24\Lib\site-packages\Dabo-0.5-py2.4.egg\dabo\db\d
Backend.py", line 145, in getFieldInfoFromDescription
    return tuple([(d[0], self.getDaboFieldType(d[1]), None) for d in cursorDescr
iption])
TypeError: iteration over non-sequence

I made a change this morning that should have fixed that for you.

after that even if you click requery the browse grid would still be blank.

Because of the above exception, the grid never got populated.


If I click requery first then only the iid column is shown.
On the edit tab two text boxes are shown but only iid has value the
cname is blank
editing the cname filled and saving has no effect on the values stored
in the database.

Platform: Win
Python Version: 2.4.1 on win32
Dabo Version: Version 0.5; Revision 1830
UI Version: 2.6.1.0 on wxMSW

Current revision of Dabo is 1862. Can you get it from SVN? Otherwise, we just released Dabo 0.5.1 today...


I know these are so many issues in just one post, sorry.

Don't be sorry, but please let me know if the issues remain after trying the current Dabo.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to