question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ValueError: Namespace GtkSource not available for version 3.0

See original GitHub issue

Unable to run application missing python package. I don’t know what package is missing from python.

$ remarkable 
Traceback (most recent call last):
  File "/usr/bin/remarkable", line 65, in <module>
    import remarkable
  File "/usr/lib/python3/dist-packages/remarkable/__init__.py", line 30, in <module>
    from remarkable import RemarkableWindow
  File "/usr/lib/python3/dist-packages/remarkable/RemarkableWindow.py", line 26, in <module>
    gi.require_version('GtkSource', '3.0')
  File "/usr/lib64/python3.9/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace GtkSource not available for version 3.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

6reactions
amoskongcommented, Jan 22, 2021

I also touched this problem on Fedora 33, gtksourceview4-4.8.0-1.fc33.x86_64 had been installed in the past.

I tried to install gtksourceview3-3.24.11-4.fc33.x86_64 by sudo dnf install gtksourceview3, the problem was solved 😃

0reactions
GameO7ercommented, Jun 16, 2022

I had this problem and after checking the log, I figured out it’s because of .deb dependencies.

gameover@home:~$ sudo dpkg -i remarkable_1.18_.deb 
Selecting previously unselected package remarkable.
(Reading database ... 289262 files and directories currently installed.)
Preparing to unpack remarkable_1.18_.deb ...
Unpacking remarkable (1.87) ...
dpkg: dependency problems prevent configuration of remarkable:
 remarkable depends on gir1.2-gtksource-3.0; however:
  Package gir1.2-gtksource-3.0 is not installed.
 remarkable depends on gir1.2-webkit2-4.0; however:
  Package gir1.2-webkit2-4.0 is not installed.
 remarkable depends on yelp; however:
  Package yelp is not installed.
 remarkable depends on wkhtmltopdf; however:
  Package wkhtmltopdf is not installed.

dpkg: error processing package remarkable (--install):
 dependency problems - leaving unconfigured
Processing triggers for libglib2.0-0:amd64 (2.66.8-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 remarkable

so I wrote this answer here from this issue #371

Hope this helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

ValueError: Namespace Gtk not available - Stack Overflow
You need to install gobject-introspection, python3-gi and gir1.2-gtk-3.0, these packages includes the files to expose the GTK+ libs to ...
Read more >
ValueError: Namespace GtkSource not ... - Bountysource
Unable to run application missing python package. I don't know what package is missing from python. $ remarkable Traceback (most recent call ...
Read more >
1760054 – [abrt] rednotebook: module(): __init__.py:133 ...
Bug 1760054 - [abrt] rednotebook: module(): __init__.py:133:require_version:ValueError: Namespace GtkSource not available for version 3.0.
Read more >
T9145 AutoKey stopped working - Solus
ValueError : Namespace GtkSource not available for version 3.0. This is the full traceback: $ autokey-gtk (autokey-gtk:2608): Gtk-WARNING **: 15:02:25.501: ...
Read more >
setzer: "Namespace GtkSource not available for version 4"
Package: setzer Version: 0.3.1-2 Severity: normal X-Debbugs-Cc: ma...@straka.info marek@dimotion:~$ setzer (setzer:35566): dbind-WARNING ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found