Sry for the missing file. It is very short, see on bottom.

Running dabodemo gives SIGSEG 'sometimes' in clicking and editing around in the grid test. Not reproducable at the same sequence of edit moves. But shurely after editing the grid contents for some time. So it seems to be the same there, too.

Dec 12 17:31:38 funk0 kernel: [90258.490490] python[1215]: segfault at 0 ip 00007f9b19580b9a sp 00007fffeba1d1a0 error 4 in libwx_gtk2u_adv-2.8.so.0.8.0[7f9b19505000+c6000]

I am now trying to build wxPython 2.9.5 from source and using it to see any difference. Afterwords i will try out suse.

thanks,

Frank



testdabo.cdxml:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<dForm code-ID="dForm-top" Caption="Dabo Class Designer" SaveRestorePosition="False" Top="36" Height="417" Width="801" designerClass="DesForm" CxnName="stuess" Left="1318"> <dSizer SlotCount="1" designerClass="LayoutSizer" Orientation="Vertical"> <dPanel sizerInfo="{'HAlign': 'Left', 'VAlign': 'Top'}" designerClass="controlMix"> <dSizer SlotCount="2" designerClass="LayoutSizer" Orientation="Vertical"> <dGridSizer HGap="5" sizerInfo="{'BorderSides': ['All'], 'Proportion': 1, 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 10, 'Expand': True}" Rows="4" designerClass="LayoutGridSizer" VGap="5" MaxDimension="r" Columns="2"> <dLabel Caption="bemerkung" sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'HAlign': 'Left'}" designerClass="controlMix" rowColPos="(0, 0)"></dLabel> <dTextBox sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'Proportion': 0, 'HAlign': 'Left'}" rowColPos="(0, 1)" designerClass="controlMix" DataField="bemerkung" DataSource="public.cnc_model"></dTextBox> <dLabel Caption="beschreibung" sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'HAlign': 'Left'}" designerClass="controlMix" Name="dLabel1" rowColPos="(1, 0)"></dLabel> <dTextBox sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'Proportion': 0, 'HAlign': 'Left'}" Name="dTextBox1" rowColPos="(1, 1)" designerClass="controlMix" DataField="beschreibung" DataSource="public.cnc_model"></dTextBox> <dLabel Caption="programm_nr" sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'HAlign': 'Left'}" designerClass="controlMix" Name="dLabel2" rowColPos="(2, 0)"></dLabel> <dTextBox sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'Proportion': 0, 'HAlign': 'Left'}" Name="dTextBox2" rowColPos="(2, 1)" designerClass="controlMix" DataField="programm_nr" DataSource="public.cnc_model"></dTextBox> <dLabel Caption="programm_text" sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'HAlign': 'Left'}" designerClass="controlMix" Name="dLabel3" rowColPos="(3, 0)"></dLabel> <dEditBox sizerInfo="{'RowSpan': 1, 'ColSpan': 1, 'HAlign': 'Left'}" rowColPos="(3, 1)" designerClass="controlMix" DataField="programm_text" DataSource="public.cnc_model"></dEditBox>
                </dGridSizer>
<dPanel sizerInfo="{'BorderSides': ['All'], 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 0}" designerClass="LayoutPanel"></dPanel>
            </dSizer>
        </dPanel>
    </dSizer>
</dForm>


testdabo-code.py:

# -*- coding: utf-8 -*-
### Dabo Class Designer code. You many freely edit the code,
### but do not change the comments containing:
###         'Dabo Code ID: XXXX',
### as these are needed to link the code to the objects.

## *!* ## Dabo Code ID: dForm-top
def createBizobjs(self):

publiccnc_modelBizobj = self.Application.biz.Publiccnc_ModelBizobj(self.Connection)
    self.addBizobj(publiccnc_modelBizobj)


Am 12.12.2013 15:52, schrieb John Fabiani:
On 12/12/2013 03:15 AM, Frank Stüss wrote:
Thank you for your quick answer (and @John, too).



There was not one line of code created by me at that time. The steps
to reproduce are:

- running ide/ClassDesigner.py
- add new vertical sizer with two slots
- add controls from data environment, 3 textboxes 1 editbox
with add bizobj code, postgresql db on another host in localnet.
- saving as "testdabo.cdxml", see attachment.
- click on editbox "programm_text"
- click on any property in Object Info window
- changing something eg. Font or Height (test)
- clicking other object info property or a third or forth. "clicking
around" without changing anything.
SIGSEGV

no traceback available yet, sorry. working on this (apport, whoopsie,
that new ubuntu stuff).

syslog only says:
kernel: [70029.691344] python[16239]: segfault at 0 ip
00007ffe6d0fcb9a sp 00007fffbb02b0a0 error 4 in
libwx_gtk2u_adv-2.8.so.0.8.0[7ffe6d081000+c6000]

The masterTestSuite.py runs with one failure:

FAIL: testNoInsertionUponLimitReached
(ui.UIwx.Test_dTextBox.TestTextLengthProperty)
extLength = n.  Set Value to string with length > n should set only
string[:n].
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/funk/tmp/dabo/tests/unitTests/ui/UIwx/Test_dTextBox.py", line
105, in testNoInsertionUponLimitReached
    self.assertEqual(self.testTextBox.Value, "Valu")
AssertionError: u'Value' != 'Valu'


I will try it on another Ubuntu Version and a VM windows 7 i have
lying around somewhere.

Anyone running dabo on a different Linux platform or can give a
recommendation like "oh no, please use XXX"?

Still in the beginning, we plan to build our own little business case
with python on Linux. And dabo seems to be the perfect tool for that
right now, fitting like a glove for what i can see from here.
BTW: Lianja crashes with sigseg too on that platform. Though no
research done for that yet.

Thanks again for any advice.

Frank

>Hmm, they are shown as checkboxes in the first place and change to
text input if clicked. Shouldn't they stay checkboxes?
OK - but the designer decided not too.

Running openSUSE 12.3, python 2.7.x, wxPython 2.8.12, Dabo 0.9.13

Unfortunately, I can not confirm your report of a bug.  I did not use
your file (you can not attach a file to a message for the list -
please use pastebin) - but I did follow your steps to repeat the
issue.  I could not reproduce your error.

That said, I too had trouble running the masterTestSuite.py.
Actually the same traceback you had.  I'll guess and suggest that
dTextBox is not the problem.

You did not really say if you can run the demo (DaboDemo.py).

Johnf










_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance:
http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/52a9cda8.4060...@jfcomputer.com



--
Armaturen und Fittings Stüss e.K.
Frank Stüss + Inhaber
Tel. +49+6187-5019 + FAX. +49+6187-91725
Kilianstädter Straße 25 + D-61137 Schöneck
email frank.stu...@stuess.de <http://www.stuess.de>
Sitz Schöneck, HRA5340, Amtsgericht Hanau
USt.-ID: DE252310440

_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/52a9e895.1090...@stuess.de

Reply via email to