FS#51571 - [gtk-recordmydesktop] AttributeError: 'NoneType' object has no attribute 'get_pixel'

Attached to Project: Community Packages
Opened by Marat Kagarmanov (corvinusz) - Friday, 28 October 2016, 23:35 GMT
Last edited by Ivy Foster (escondida) - Thursday, 10 October 2019, 20:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Just found that gtk-recordmydesktop is broken

Additional info:
* package version(s)
gtk-recordmydesktop 0.3.8-7
gnome-shell 3.22.1+2+g5a08886-1
gtk3 3.22.2+4+gc54f348-1
python2 2.7.12-1

* config and/or log files etc.

Traceback (most recent call last):
File "/usr/bin/gtk-recordMyDesktop", line 43, in <module>
main()
File "/usr/bin/gtk-recordMyDesktop", line 40, in main
tr=rmdSimple.simpleWidget()
File "/usr/lib/python2.7/site-packages/recordMyDesktop/rmdSimple.py", line 477, in __init__
self.__subWidgets__()
File "/usr/lib/python2.7/site-packages/recordMyDesktop/rmdSimple.py", line 86, in __subWidgets__
self.image=sT.GtkThumbSelector(self,self.values[5],self.hidden,2000)
File "/usr/lib/python2.7/site-packages/recordMyDesktop/rmdSelectThumb.py", line 69, in __init__
self.__subsample__(sroot,self.wwidth,self.wheight,self.root,self.factor)
File "/usr/lib/python2.7/site-packages/recordMyDesktop/rmdSelectThumb.py", line 79, in __subsample__
im2.put_pixel(k/stride,i/stride,im1.get_pixel(k,i))
AttributeError: 'NoneType' object has no attribute 'get_pixel'


Steps to reproduce:
just run it
This task depends upon

Closed by  Ivy Foster (escondida)
Thursday, 10 October 2019, 20:48 GMT
Reason for closing:  Upstream
Additional comments about closing:  It seems like recordmydesktop simply doesn't support wayland, and only sort of supports xwayland. Either way, it's an upstream issue.
Comment by Antonio Rojas (arojas) - Saturday, 29 October 2016, 08:40 GMT
are you on wayland?
Comment by Marat Kagarmanov (corvinusz) - Saturday, 29 October 2016, 10:52 GMT
No.
I'm on usual gnome-shell with x11.

I used this program at 2016-09 and all was OK. Some update broke it.
I tried to run gtk-recordmydesktop on my laptop with arch. Same result.
Comment by Doug Newgard (Scimmia) - Saturday, 29 October 2016, 14:49 GMT
gnome now defaults to Wayland, so unless you specifically use X, you would be on Wayland.
Comment by Marat Kagarmanov (corvinusz) - Saturday, 29 October 2016, 15:37 GMT
Mb it can be helpful: my videocard died after the task adding.
Hope it's just an accident

`ALT+F2 lg` says that most of applications use wayland
but gnome-shell itself use metawindowX11.
Is it normal?
Comment by Jelle van der Waa (jelly) - Saturday, 29 October 2016, 15:48 GMT
I can't reproduce the problem here. But it sounds that you are using wayland with XWayland maybe?
Comment by Marat Kagarmanov (corvinusz) - Saturday, 29 October 2016, 16:41 GMT
Mb some screenshots can help you.
They are from my laptop.

You can see wm-class of running windows.
Comment by Marat Kagarmanov (corvinusz) - Tuesday, 01 November 2016, 00:39 GMT
I've replaced dead radeon videocard with new nvidia and installed extra/nvidia with nvidia-libgl.

[2016-11-01 00:14] [ALPM] removed mesa-libgl (13.0.0rc2-2)
[2016-11-01 00:14] [ALPM] installed nvidia-libgl (370.28-1)

All my windows becomes GType:MetaWindowX11 and trouble has gone.

So to reproduce it the wayland required.

Seems it is a wayland issue, or related to wayland/X11 mixin.
Comment by Ivy Foster (escondida) - Thursday, 10 October 2019, 20:47 GMT
I can't reproduce this in X, in wayland, or in wayland with xwayland: it works fine in X, gives a proper error message in plain weston/wayland, and records (though after opening an opaque, full-screen window) in weston/wayland/xwayland.

Loading...