ValueError: Namespace GtkSource not available for version 3.0
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
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
I have the same problem.
From the error traceback to line 26 of RemarkableWindow.py, it is looking for GtkSource 3.0 which isn't installed.
- Check your installed GtkSource verison. For Ubuntu/Debian based systems:
dpkg -l | grep 'gtksource'(It's 4 for Ubuntu 20.04). - Change to the installed version in
gi.require_version('GtkSource', '3.0')inremarkable/RemarkableWindow.py.
Thans a lot, I will try it.
------------------ 原始邮件 ------------------ 发件人: "fontz"<[email protected]>; 发送时间: 2020年12月4日(星期五) 下午3:34 收件人: "jamiemcg/Remarkable"<[email protected]>; 抄送: "296055705"<[email protected]>; "Comment"<[email protected]>; 主题: Re: [jamiemcg/Remarkable] ValueError: Namespace GtkSource not available for version 3.0 (#368)
From the error traceback to line 26 of RemarkableWindow.py, it is looking for GtkSource 3.0 which isn't installed.
Check your installed GtkSource verison. For Ubuntu/Debian based systems: dpkg -l | grep 'gtksource' (It's 4 for Ubuntu 20.04).
Change to the installed version in gi.require_version('GtkSource', '3.0') in remarkable/RemarkableWindow.py.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
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 :-)
From the error traceback to line 26 of
RemarkableWindow.py, it is looking forGtkSource 3.0which isn't installed.* Check your installed GtkSource verison. For Ubuntu/Debian based systems: `dpkg -l | grep 'gtksource'` (It's 4 for Ubuntu 20.04). * Change to the installed version in `gi.require_version('GtkSource', '3.0')` in `remarkable/RemarkableWindow.py`.
Followed this post and resolved the issue by changing 'gi.require_version('GtkSource', '3.0')' to 'gi.require_version('GtkSource', '4')' in 'remarkable/RemarkableWindow.py'. Also did the following: sudo apt-get install -y libwebkit2gtk-4.0-dev pip3 install BeautifulSoup4 pip3 install markdown
system: Pop OS 20.04
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
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 :-)
In Fedora 38 dnf install gtksourceview3 hasn't solved the issue.