( Cozi | 2020. 02. 22., szo - 16:08 )

Ez jó tanács volt, egy kicsit tovább tudtam jutni:

 

Python executable: /usr/bin/python3
Python version:    3.6.9 (default, Nov  7 2019, 10:44:02)  [GCC 8.3.0]
Python venv:       not in venv
Python path:      
	/home/xyz
	/usr/lib/python36.zip
	/usr/lib/python3.6
	/usr/lib/python3.6/lib-dynload
	/usr/local/lib/python3.6/dist-packages
	/usr/lib/python3/dist-packages
Module gi path:    /usr/lib/python3/dist-packages/gi/__init__.py
Load-state: <enum WEBKIT_LOAD_STARTED of type WebKit2.LoadEvent>
Load-state: <enum WEBKIT_LOAD_REDIRECTED of type WebKit2.LoadEvent>
Load-state: <enum WEBKIT_LOAD_REDIRECTED of type WebKit2.LoadEvent>
Load-state: <enum WEBKIT_LOAD_COMMITTED of type WebKit2.LoadEvent>
failed to create drawable
Load-state: <enum WEBKIT_LOAD_FINISHED of type WebKit2.LoadEvent>
Taking snapshot ...
Snapshot ready
Traceback (most recent call last):
  File "htmlscr.py", line 72, in on_snapshot_finish
    cairo_surf = web_view.get_snapshot_finish(result)
TypeError: Couldn't find foreign struct converter for 'cairo.Surface'

^CGdk-Message: 15:04:08.880: htmlscr.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :99.

Úgy néz ki, ezzel van most baja:

 

        cairo_surf = web_view.get_snapshot_finish(result)

Telepítettem egy python3-cairo csomagot, de semmi változás a kimenetben.

Mester, hogyan tovább? :-)