Hello,

This looks exactly like the error reported by Mike-688 in his last mail
from February 18: "sGridScrollbars hide data".

Platform: GTK
Python Version: 2.6 on linux2
Dabo Version: Version 0.9.2; Revision 5694M
UI Version: 2.8.10.1 on wxGTK (gtk2)

No change after updating to Rev. 5714.

Two applications, both using dGrid, in both cases one column with
"expand=True". Both applications start, but with these error messages:

Main form of application "pflichten_stamm" made with ClassDesigner.

s...@elend:~> cd bin/haushalt
s...@elend:~/bin/haushalt> pflichten_stamm/main.py
/home/sib/svn_src/dabo_trunk/dabo/lib/SimpleCrypt.py:52: UserWarning:
WARNING: SimpleCrypt is not secure. Please see
http://wiki.dabodev.com/SimpleCrypt for more information

  warnings.warn("WARNING: SimpleCrypt is not secure. Please see
http://wiki.dabodev.com/SimpleCrypt for more information")

Exception RuntimeError: 'maximum recursion depth exceeded while calling
a Python object' in <type 'exceptions.RuntimeError'> ignored

Traceback (most recent call last):

  File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line
1342, in Notify

    self.notify()

  File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14716, in Notify

    self.result = self.callable(*self.args, **self.kwargs)

  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 2399,
in _delayedUpdateColumnWidths

    self._delayedUpdateColumnWidths(redo=True)


[snip: 977 repetitions of the last two lines]

  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 2399,
in _delayedUpdateColumnWidths
    self._delayedUpdateColumnWidths(redo=True)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 2394,
in _delayedUpdateColumnWidths
    col.Width = max(24, newWidth)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 1424,
in _setWidth
    grd._syncColumnCount()
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 3205,
in _syncColumnCount
    self.SetColSize(wxCol, colObj.Width)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 1404,
in _getWidth
    idx = self.Parent._convertDaboColNumToWxColNum(self.ColumnIndex)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 729,
in _getColumnIndex
    grid = self.Parent
RuntimeError: maximum recursion depth exceeded

Data shown normally, editing possible (on another page of the form, not
in the grid), but the form has a method "applyChoices" which should
apply a filter and update the grid. This doesn't do anything, without an
error message.

Main form of application "pflichten_aktuell" hand coded.

s...@elend:~/bin/haushalt> pflichten_aktuell/main.py
/home/sib/svn_src/dabo_trunk/dabo/lib/SimpleCrypt.py:52: UserWarning:
WARNING: SimpleCrypt is not secure. Please see
http://wiki.dabodev.com/SimpleCrypt for more information

  warnings.warn("WARNING: SimpleCrypt is not secure. Please see
http://wiki.dabodev.com/SimpleCrypt for more information")

Exception RuntimeError: 'maximum recursion depth exceeded while calling
a Python object' in <type 'exceptions.RuntimeError'> ignored

Traceback (most recent call last):

  File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line
1342, in Notify

    self.notify()

  File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14716, in Notify

    self.result = self.callable(*self.args, **self.kwargs)

  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 2399,
in _delayedUpdateColumnWidths

    self._delayedUpdateColumnWidths(redo=True)


[snip: 977 repetitions of the last two lines]

  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 2399,
in _delayedUpdateColumnWidths
    self._delayedUpdateColumnWidths(redo=True)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 2394,
in _delayedUpdateColumnWidths
    col.Width = max(24, newWidth)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 1424,
in _setWidth
    grd._syncColumnCount()
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 3205,
in _syncColumnCount
    self.SetColSize(wxCol, colObj.Width)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 1404,
in _getWidth
    idx = self.Parent._convertDaboColNumToWxColNum(self.ColumnIndex)
  File "/home/sib/svn_src/dabo_trunk/dabo/ui/uiwx/dGrid.py", line 729,
in _getColumnIndex
    grid = self.Parent
RuntimeError: maximum recursion depth exceeded
s...@elend:~/bin/haushalt>

This application seems to work normally: data shown and changed
correctly, no irregularities after looking at the database with pgadmin
or psql.

Regards
Sibylle



_______________________________________________
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