Hi again,
the code is in GitHub. Here is exactly where map is created: https://github.com/rgmf/PyOpenTracks/blob/d0d3ef5d71d9b2248dec7896e6fe7b8ef2c07e8d/pyopentracks/views/layouts/segments_list_layout.py#L197
Thank you very much for your time ;)
Hi, thanks, but it would be more useful if you could provide some (minimal) code that reproduces this issue - the code you provided in your original post was just some class but the code launching the application was missing and it's hard to help if I don't see the complete code.
Best regards,
Jiri
On Mon, Nov 1, 2021 at 7:37 PM Román <rgmf riseup net> wrote:
Hi and thank you for your reply.
I've attached a video where you can see how the app works and where it fails.
Thank you.
On 29/10/21 0:25, Jiří Techet wrote:
Hi,
could you please post some complete runnable demo that reproduces the issue? It's hard to say what happens only from the single class you posted as it doesn't run by itself.
Best regards,
Jiri
On Mon, Oct 25, 2021 at 7:50 PM Román via libchamplain-list <libchamplain-list gnome org> wrote:
Hi everyone,
I'm writing a PyGtk application and I've embedded a map with
libchamplain library but I have an issue I don't know how to fix.
This is the class and it works well: https://pastebin.com/XFsfZ2Bz
But if I remove the line 142 then when I closed the Gtk Window (I close
the application) I get these messages on the shell:
(pyopentracks:46950): Clutter-CRITICAL **: 19:45:14.934:
clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
(pyopentracks:46950): Clutter-CRITICAL **: 19:45:14.934:
clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
(pyopentracks:46950): Clutter-CRITICAL **: 19:45:14.934:
clutter_canvas_set_size: assertion 'CLUTTER_IS_CANVAS (canvas)' failed
(pyopentracks:46950): Clutter-CRITICAL **: 19:45:14.934:
clutter_content_invalidate: assertion 'CLUTTER_IS_CONTENT (content)' failed
(pyopentracks:46950): Clutter-CRITICAL **: 19:45:14.934:
clutter_actor_hide: assertion 'CLUTTER_IS_ACTOR (self)' failed
What it's really strange and the error must be hidden because that
doesn't make any sense.
Could anyone give me a clue?
Thank you ;)
_______________________________________________
libchamplain-list mailing list
libchamplain-list gnome org
https://mail.gnome.org/mailman/listinfo/libchamplain-list