View previous topic :: View next topic |
Author |
Message |
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Sat Jun 05, 2021 7:47 pm Post subject: [solved] Kazam installs but does not run |
|
|
Hello.
i added the menelkir overlay and installed kazam
No errors.
But when i run it, i will get
Code: | $ kazam
/usr/bin/kazam:32: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
WARNING Kazam - Failed to correctly detect operating system.
Traceback (most recent call last):
File "/usr/bin/kazam", line 146, in <module>
from kazam.app import KazamApp
File "/usr/lib/python3.9/site-packages/kazam/app.py", line 35, in <module>
from kazam.backend.prefs import *
File "/usr/lib/python3.9/site-packages/kazam/backend/prefs.py", line 462, in <module>
Gdk.CursorType.TOP_LEFT_CORNER,
File "/usr/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
return getattr(self._introspection_module, name)
File "/usr/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gdk' object has no attribute 'CursorType' |
Here is the build log:
http://3.14.fi/kazam-error-2021-06/kazam-build-log.txt
Any ideas on what is causing this?
Last edited by heikkikk on Sun Jun 06, 2021 7:15 pm; edited 4 times in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Sun Jun 06, 2021 6:43 am Post subject: |
|
|
The problem seems that program not specify to use gtk:3 and if you have installed gtk:4 program fails to start.
Changing line 32 in /usr/bin/kazam from
Code: | from gi.repository import Gtk |
to
Code: | import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk |
solve the problem, better would be that it is applied when you install the program via emerge. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Sun Jun 06, 2021 8:40 am Post subject: |
|
|
Thanks, Works!!!
Should the overlay maintainer fix it somehow?? |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Sun Jun 06, 2021 8:43 am Post subject: |
|
|
Or... It's not working.
The program starts ok, but...
If i push capture, the countdown does not start and it is not recording anything. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Sun Jun 06, 2021 9:14 am Post subject: |
|
|
This is a dead project why not use media-video/obs-studio? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 209
|
Posted: Sun Jun 06, 2021 7:14 pm Post subject: |
|
|
Thanks, that's what i wanted to hear: an alternative
I have been using OBS studio for some other things, didn't know it has a screen video capture also
Thanks. |
|
Back to top |
|
|
niknah n00b
Joined: 06 Oct 2021 Posts: 1
|
|
Back to top |
|
|
|