Ticket #1372 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

ReportDesigner sizer lines issue

Reported by: JacekK Assigned to: paul
Priority: major Milestone: 0.9.2
Component: ide Version: 0.9.1
Keywords: Cc:

Description

Here is the traceback:

Traceback (most recent call last):
  File "c:\Python25\lib\site-packages\dabo\ui\uiwx\dPemMixin.py", line 546, in __onWxIdle
    self.raiseEvent(dEvents.Idle, evt)
  File "c:\Python25\lib\site-packages\dabo\ui\uiwx\dPemMixin.py", line 984, in raiseEvent
    super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
  File "C:\Python25\lib\site-packages\dabo\lib\eventMixin.py", line 92, in raiseEvent
    bindingFunction(event)
  File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dFormMixin.py", line 235, in __onIdle
    sz.drawOutline(self, recurse=self._recurseOutlinedSizers,
AttributeError: 'NoneType' object has no attribute 'drawOutline'

Change History

09/06/10 16:57:18 changed by paul

  • owner set to paul.
  • status changed from new to assigned.

What are the steps to reproduce please?

09/07/10 00:42:08 changed by JacekK

Sorry. Just click "Show/Hide Sizer Lines" from menu.

09/07/10 08:52:35 changed by paul

r5918 is the culprit, which was mostly ustr() conversions but did have something to do with sizer outlines. I assume this problem happens elsewhere too, not just in the ReportDesigner?.

09/07/10 12:17:19 changed by JacekK

You are right. I found similar issue with dSizerMixin class:

  File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dSizerMixin.py", line 511, in _resolveOutlineSettings
    if self.outlineColor is None:
AttributeError: 'dBorderSizer' object has no attribute 'outlineColor'

02/01/11 20:29:33 changed by paul

  • status changed from assigned to closed.
  • resolution set to fixed.

I can't reproduce this with trunk. Please reopen if I'm wrong.