Дана 8.5.20. у 03:25, Ed Leafe пише:
On May 7, 2020, at 04:46, Dragan Nedeljković <[email protected]> wrote:
Are you using the dabo3 branch of the code? I got a lot of things working under
Python3, but just didn’t have the time to fix it all.
Ah... right, just went back to Git and found that what I have is the master
branch. Downloaded dabo3, much fresher.
Will dive into it when we finish celebrating the end of curfew :)
I dug up the old export of the wiki, and was disappointed to find that there
was no way to extract the information from it. I spent a few hours trying
several approaches, but kept getting failures, usually due to binary
incompatibility.
Then it hit me: the internet archive! So I went digging, and sure enough, the
wiki lives on there! So when you finally are ready to play around with it, look
here for the wiki documentation:
http://web.archive.org/web/20110811180826/http://wiki.dabodev.com/FrontPage
OK, that worked and actually helped a lot. I have the first form in the
app already doing something. Now implementing the rest of the stuff will
be fun in the following months.
As to your suggestion to fix a few things... see attached. Search for
#2020, I marked my comments. Nothing much, just changes I had to make to
make it work with current version of wx and Python (it doesn't like "is
'' ", it suggests to make it "== '' "; several combinations of alignment
flags in the sizer are now a no-no, check dSizerMixin.py). I built my
form in code, without any attempts at alignment, and it just worked.
But the alignment issue affected the ClassDesigner.py (and a few others,
not connection maker, that one works), because the asserts triggered
can't be turned off, they are deep inside the wx's c++ code. The
remaining issue is this:
*ndragan@zmycheck12u*:*~/radna/py/dabo*$ python3.8 -i ide/ClassDesigner.py
(ClassDesigner.py:24978): Gtk-*CRITICAL* **:16:53:54.306:
gtk_widget_set_size_request: assertion 'height >= -1' failed
(ClassDesigner.py:24978): Gtk-*CRITICAL* **:16:53:54.307:
gtk_widget_set_size_request: assertion 'height >= -1' failed
(ClassDesigner.py:24978): Gtk-*CRITICAL* **:16:53:54.307:
gtk_widget_set_size_request: assertion 'height >= -1' failed
(ClassDesigner.py:24978): Gtk-*CRITICAL* **:16:53:54.407:
gtk_widget_set_size_request: assertion 'height >= -1' failed
(ClassDesigner.py:24978): Gtk-*CRITICAL* **:16:53:54.407:
gtk_widget_set_size_request: assertion 'height >= -1' failed
Segmentation fault (језгрени избачај)
The trouble here is that gtk doesn't give you any clue where it
happened, gives you only the almost useless timestamp. This happens when
I try to resize the class designer. Before I get it to open, it has two
complaints about "Unknown image data format" when I click OK in the
first dialog. Then I get two more lines:
(ClassDesigner.py:25654): Gtk-*WARNING* **:17:21:42.187: Negative content
width -33 (allocation 1, extents 17x17) while allocating gadget (node button,
owner GtkButton)
(ClassDesigner.py:25654): Gtk-*WARNING* **:17:21:42.187: Negative content
height -9 (allocation 1, extents 5x5) while allocating gadget (node button,
owner GtkButton)
and then whatever I do - go through the menu or resize or whatever, it
quits with the segmentation fault.
Don't know whether any of this will help much, but there it is. Sorry
for the depth of the folder structure in the zip, no matter what I do,
this is what I get when I zip from a selection in DoubleCommander.
Dragan
--- StripMime Report -- processed MIME parts ---
multipart/mixed
multipart/alternative
text/plain (text body -- kept)
text/html
application/zip
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/[email protected]