Chris, try
sudo apt-get install python3-gi-cairo
Pango seems linked to cairo

Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Tue, 3 Aug 2021 at 15:26, Chris Morley <chrisinnana...@hotmail.com>
wrote:

> I notice AXIS and QtVcp 's dro in the graphics window displays as square
> boxes.
> This is with mint 20 - mint 19  works fine.
>
>
> pncconf is broken, though it seems there was some gtk3 changes - what is
> the best procedure to convert?
>
>
> I see gladevcp's hal_lightbutton throws errors and doesn't work:
> sample errors:
>
> Traceback (most recent call last):
>   File "/home/chris/emc/lib/python/gladevcp/hal_lightbutton.py", line 126,
> in __init__
>     self.default_Pangolayout = self.create_Pango_layout(self.button_text)
> AttributeError: 'HAL_LightButton' object has no attribute
> 'create_Pango_layout'
> Traceback (most recent call last):
>   File "/home/chris/emc/lib/python/gladevcp/hal_lightbutton.py", line 352,
> in do_set_property
>     self.update_widget_size()
>   File "/home/chris/emc/lib/python/gladevcp/hal_lightbutton.py", line 300,
> in update_widget_size
>     w1, h1 = self.default_Pangolayout.get_pixel_size()
> AttributeError: 'HAL_LightButton' object has no attribute
> 'default_Pangolayout'
> Traceback (most recent call last):
>   File "/home/chris/emc/lib/python/gladevcp/hal_lightbutton.py", line 344,
> in do_set_property
>     self.set_text(value)
>   File "/home/chris/emc/lib/python/gladevcp/hal_lightbutton.py", line 324,
> in set_text
>     self.default_Pangolayout.set_text(text)
>
> Thanks you any hints.
>
> Chris
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to