WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] PyGObject, PyGTK not syncing with python programs  (Read 324 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 359
[Solved] PyGObject, PyGTK not syncing with python programs
« on: July 18, 2020, 05:21:37 AM »
Hi !

I have downloaded the tczs of pygobject, pygobject2 and pygtk but they are not linking with kazam. It shows the following error :
Code: [Select]
Traceback (most recent call last):
  File "/usr/local/bin/kazam", line 32, in <module>
    from gi.repository import Gtk
ModuleNotFoundError: No module named 'gi'
.

Any idea what to do ?
« Last Edit: July 19, 2020, 04:24:26 AM by Rich »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 359
Re: PyGObject, PyGTK not syncing with python programs
« Reply #1 on: July 18, 2020, 07:38:07 PM »
Hi !

I want fixes. Please can anyone help ?

Offline aus9

  • Sr. Member
  • ****
  • Posts: 262
Re: PyGObject, PyGTK not syncing with python programs
« Reply #2 on: July 18, 2020, 09:19:14 PM »
Hi

you mention kazam which AFAIK is not in TC64 but recordmydesktop seems to work if interested.

native output is ogv

playbackable in vlc or qmplay2 but I did not test sound input

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 359
Re: PyGObject, PyGTK not syncing with python programs
« Reply #3 on: July 18, 2020, 09:41:30 PM »
Hi aus9,

Oh ok. Then I will try to compile and submit its gtk front-end. Thanks for the info.

@Rich I think this can be marked as closed.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12392
Re: PyGObject, PyGTK not syncing with python programs
« Reply #4 on: July 18, 2020, 09:44:49 PM »
I have downloaded the tczs of pygobject, pygobject2 and pygtk but they are not linking with kazam. It shows the following error :
Code: [Select]
Traceback (most recent call last):
  File "/usr/local/bin/kazam", line 32, in <module>
    from gi.repository import Gtk
ModuleNotFoundError: No module named 'gi'
.

Often the above means you're missing py3.6gobject and gtk3-gir.

Offline aus9

  • Sr. Member
  • ****
  • Posts: 262
Re: PyGObject, PyGTK not syncing with python programs
« Reply #5 on: July 18, 2020, 10:00:59 PM »
hI

I have seen Juanito's excellent reply.

Quote
I will try to compile and submit its gtk front-end

before you go to that time and effort....what are you hoping to record?

a web search for linux record software shows variants that can stream webcam, which vlc can already do
but like most things....the quality of the video will impact on its size.

does your cast need to be able to display on screen text or other such things?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 359
Re: PyGObject, PyGTK not syncing with python programs
« Reply #6 on: July 19, 2020, 02:26:00 AM »
Hi,

Juanito, your suggestion worked  :D . I actually loaded pygobject (python2) and was hoping to see it in pip3 list (python3). My bad.

aus9, I want a screen recorder that is full featured like kazam. It has all the features I need. It is able to record an area of the screen, only one window, multiple windows and is also able to use pulseaudio for sound.

@Rich This can be marked as solved  ;) .

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8113
Re: [Solved] PyGObject, PyGTK not syncing with python programs
« Reply #7 on: July 19, 2020, 04:25:46 AM »
Hi Sashank999
... @Rich This can be marked as solved  ;) .
Done. :)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 359
Re: [Solved] PyGObject, PyGTK not syncing with python programs
« Reply #8 on: July 19, 2020, 06:07:51 AM »
Hi Rich,

Thank You.