all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55523: Apostrophe does not run
@ 2022-05-19 10:47 MohammadSaleh Kamyab via Bug reports for GNU Guix
  2022-05-20 18:20 ` Rene Saavedra via Bug reports for GNU Guix
  2022-05-28  5:47 ` MohammadSaleh Kamayb via Bug reports for GNU Guix
  0 siblings, 2 replies; 4+ messages in thread
From: MohammadSaleh Kamyab via Bug reports for GNU Guix @ 2022-05-19 10:47 UTC (permalink / raw)
  To: 55523

Package `apostrophe` does not run after installation.
error:
```
Traceback (most recent call last):
File "/gnu/store/y1c288s67vnqgz4378psxsnv8rrnm5kh-apostrophe-2.5/bin/.apostrophe-real", line 69, in <module>
sys.exit(main())
File "/gnu/store/y1c288s67vnqgz4378psxsnv8rrnm5kh-apostrophe-2.5/bin/.apostrophe-real", line 63, in main
return run_application()
File "/gnu/store/y1c288s67vnqgz4378psxsnv8rrnm5kh-apostrophe-2.5/bin/.apostrophe-real", line 52, in run_application
from apostrophe.application import Application
File "/gnu/store/y1c288s67vnqgz4378psxsnv8rrnm5kh-apostrophe-2.5/lib/python3.9/site-packages/apostrophe/application.py", line 20, in <module>
from apostrophe.main_window import MainWindow
File "/gnu/store/y1c288s67vnqgz4378psxsnv8rrnm5kh-apostrophe-2.5/lib/python3.9/site-packages/apostrophe/main_window.py", line 29, in <module>
from apostrophe.preview_handler import PreviewHandler
File "/gnu/store/y1c288s67vnqgz4378psxsnv8rrnm5kh-apostrophe-2.5/lib/python3.9/site-packages/apostrophe/preview_handler.py", line 10, in <module>
gi.require_version('WebKit2’, '4.0')
File "/gnu/store/1av328rwnh02pbiclxfb1spxrshgd6an-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/init.py", line 129, in require_version
raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace WebKit2 not available for version 4.0
```




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55523: Apostrophe does not run
  2022-05-19 10:47 bug#55523: Apostrophe does not run MohammadSaleh Kamyab via Bug reports for GNU Guix
@ 2022-05-20 18:20 ` Rene Saavedra via Bug reports for GNU Guix
  2022-05-29 13:03   ` Efraim Flashner
  2022-05-28  5:47 ` MohammadSaleh Kamayb via Bug reports for GNU Guix
  1 sibling, 1 reply; 4+ messages in thread
From: Rene Saavedra via Bug reports for GNU Guix @ 2022-05-20 18:20 UTC (permalink / raw)
  To: 55523

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

hello,

--
gi.require_version('WebKit2’, '4.0')
File
"/gnu/store/1av328rwnh02pbiclxfb1spxrshgd6an-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/init.py",
 line 129, in require_version
raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace WebKit2 not available for version 4.0
--

Can you try to use the patch?, and see that the application works correctly.


--
Rene

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-apostrophe-Build-with-correct-webkitgtk.patch --]
[-- Type: text/x-patch; name=0001-gnu-apostrophe-Build-with-correct-webkitgtk.patch, Size: 836 bytes --]

From 78c76d11f0cd49168e2028c44c429343134b3f66 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <nanuui@protonmail.com>
Date: Fri, 20 May 2022 13:13:49 -0500
Subject: [PATCH] gnu: apostrophe: Build with correct webkitgtk.

* gnu/packages/gnome.scm (apostrophe)[inputs]:
Replace webkitgtk with webkitgtk-with-libsoup2.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4a90245bff..7868063a05 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12027,7 +12027,7 @@ (define-public apostrophe
            python-pygobject
            python-pyenchant
            python-pypandoc
-           webkitgtk))
+           webkitgtk-with-libsoup2))
     (native-inputs
      (list gettext-minimal
            `(,glib "bin")
-- 
2.36.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#55523: Apostrophe does not run
  2022-05-19 10:47 bug#55523: Apostrophe does not run MohammadSaleh Kamyab via Bug reports for GNU Guix
  2022-05-20 18:20 ` Rene Saavedra via Bug reports for GNU Guix
@ 2022-05-28  5:47 ` MohammadSaleh Kamayb via Bug reports for GNU Guix
  1 sibling, 0 replies; 4+ messages in thread
From: MohammadSaleh Kamayb via Bug reports for GNU Guix @ 2022-05-28  5:47 UTC (permalink / raw)
  To: 55523

[-- Attachment #1: Type: text/plain, Size: 46 bytes --]

Yes it works well and can be merged!
Thanks!


[-- Attachment #2: Type: text/html, Size: 103 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55523: Apostrophe does not run
  2022-05-20 18:20 ` Rene Saavedra via Bug reports for GNU Guix
@ 2022-05-29 13:03   ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2022-05-29 13:03 UTC (permalink / raw)
  To: Rene Saavedra; +Cc: 55523-done

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Thanks for the patch!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-29 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-19 10:47 bug#55523: Apostrophe does not run MohammadSaleh Kamyab via Bug reports for GNU Guix
2022-05-20 18:20 ` Rene Saavedra via Bug reports for GNU Guix
2022-05-29 13:03   ` Efraim Flashner
2022-05-28  5:47 ` MohammadSaleh Kamayb via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.