Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Bug: gufw does not start
@ 2021-05-15 12:08 el-christianito
  2021-05-15 15:28 ` ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: el-christianito @ 2021-05-15 12:08 UTC (permalink / raw)
  To: ml

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

New issue by el-christianito on void-packages repository

https://github.com/void-linux/void-packages/issues/30914

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
Void 5.11.18_1 x86_64 AuthenticAMD uptodate hold rrrmFFFFFFFFF

* package:
gufw-21.04.0_2, potentially libwpe-1.10.0_2 or webkit2gtk-2.32.1_1

### Expected behavior
gufw GUI shows on screen

### Actual behavior
warning displayed and nothing starts
```
** (gufw.py:20206): WARNING **: 13:56:16.898: Failed to load shared library 'libwebkit2gtk-4.0.so.37' referenced by the typelib: libwpe-1.0.so.1: cannot open shared object file: No such file or directory
/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py:117: Warning: cannot retrieve class for invalid (unclassed) type 'void'
  self.web_content = WebKit2.WebView()
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gufw/gufw.py", line 30, in <module>
    gufw = Gufw(controler.get_frontend())
  File "/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py", line 79, in __init__
    self._set_objects_name()
  File "/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py", line 117, in _set_objects_name
    self.web_content = WebKit2.WebView()
TypeError: could not get a reference to type class
```
The file does definitely exist under /usr/lib:
![bugticket_gufs](https://user-images.githubusercontent.com/9352289/118360092-620a0100-b586-11eb-8a27-7a8adba49934.png)


### Steps to reproduce the behavior
`sudo gufw`


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

* Re: Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
@ 2021-05-15 15:28 ` ericonr
  2021-05-16 16:35 ` el-christianito
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-05-15 15:28 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/30914#issuecomment-841680008

Comment:
`gufw` seems really glitchy but I can kind of make it work with `sudo -E gufw-pkexec`

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

* Re: Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
  2021-05-15 15:28 ` ericonr
@ 2021-05-16 16:35 ` el-christianito
  2021-05-17  2:46 ` ericonr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: el-christianito @ 2021-05-16 16:35 UTC (permalink / raw)
  To: ml

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

New comment by el-christianito on void-packages repository

https://github.com/void-linux/void-packages/issues/30914#issuecomment-841841536

Comment:
Thank you for the quick reply. Unfortunately, it doesn't work for me. Same error:
```
chris@void-desktop ~ % sudo -E gufw-pkexec
Password: 

** (gufw.py:3851): WARNING **: 18:33:04.111: Failed to load shared library 'libwebkit2gtk-4.0.so.37' referenced by the typelib: libwpe-1.0.so.1: cannot open shared object file: No such file or directory
/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py:117: Warning: cannot retrieve class for invalid (unclassed) type 'void'
  self.web_content = WebKit2.WebView()
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gufw/gufw.py", line 30, in <module>
    gufw = Gufw(controler.get_frontend())
  File "/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py", line 79, in __init__
    self._set_objects_name()
  File "/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py", line 117, in _set_objects_name
    self.web_content = WebKit2.WebView()
TypeError: could not get a reference to type class
```

Do you have some special environment variables set which get preserved?

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

* Re: Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
  2021-05-15 15:28 ` ericonr
  2021-05-16 16:35 ` el-christianito
@ 2021-05-17  2:46 ` ericonr
  2021-05-17  2:47 ` ericonr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-05-17  2:46 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/30914#issuecomment-841942472

Comment:
I don't think so, I needed `-E` due to display variables I think.

No idea what your error is about :/

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

* Re: Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
                   ` (2 preceding siblings ...)
  2021-05-17  2:46 ` ericonr
@ 2021-05-17  2:47 ` ericonr
  2021-05-18  6:50 ` el-christianito
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-05-17  2:47 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/30914#issuecomment-841942472

Comment:
I don't think so, I needed `-E` due to display variables I think.

No idea what your error is about :/

Could try running `xbps-pkgdb -a` to be sure no file is missing/broken and check if python isn't picking up some pip package instead of the system ones?

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

* Re: Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
                   ` (3 preceding siblings ...)
  2021-05-17  2:47 ` ericonr
@ 2021-05-18  6:50 ` el-christianito
  2021-05-18 17:52 ` el-christianito
  2021-05-18 17:52 ` [ISSUE] [CLOSED] " el-christianito
  6 siblings, 0 replies; 8+ messages in thread
From: el-christianito @ 2021-05-18  6:50 UTC (permalink / raw)
  To: ml

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

New comment by el-christianito on void-packages repository

https://github.com/void-linux/void-packages/issues/30914#issuecomment-842900341

Comment:
Oy, the `xbps-pkgdb -a` resulted in quite some list of errors. :astonished: Thank you for the hint! 
Probably this is the result of some rollback I did a few weeks ago. It will take me some time to fix all of these errors. I'll get back as soon as I'm done and tried again.

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

* Re: Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
                   ` (4 preceding siblings ...)
  2021-05-18  6:50 ` el-christianito
@ 2021-05-18 17:52 ` el-christianito
  2021-05-18 17:52 ` [ISSUE] [CLOSED] " el-christianito
  6 siblings, 0 replies; 8+ messages in thread
From: el-christianito @ 2021-05-18 17:52 UTC (permalink / raw)
  To: ml

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

New comment by el-christianito on void-packages repository

https://github.com/void-linux/void-packages/issues/30914#issuecomment-843402035

Comment:
I'm done fixing most pkgdb errors. Those problems were indeed related to the rollback a few weeks ago. Seems that I should better include the package DB when doing so.

Anyways, after reinstalling `libwpe`, the problem was solved. gufw is running without any issues again.

Thank you very much for your help and the right hint!

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

* Re: [ISSUE] [CLOSED] Bug: gufw does not start
  2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
                   ` (5 preceding siblings ...)
  2021-05-18 17:52 ` el-christianito
@ 2021-05-18 17:52 ` el-christianito
  6 siblings, 0 replies; 8+ messages in thread
From: el-christianito @ 2021-05-18 17:52 UTC (permalink / raw)
  To: ml

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

Closed issue by el-christianito on void-packages repository

https://github.com/void-linux/void-packages/issues/30914

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
Void 5.11.18_1 x86_64 AuthenticAMD uptodate hold rrrmFFFFFFFFF

* package:
gufw-21.04.0_2, potentially libwpe-1.10.0_2 or webkit2gtk-2.32.1_1

### Expected behavior
gufw GUI shows on screen

### Actual behavior
warning displayed and nothing starts
```
** (gufw.py:20206): WARNING **: 13:56:16.898: Failed to load shared library 'libwebkit2gtk-4.0.so.37' referenced by the typelib: libwpe-1.0.so.1: cannot open shared object file: No such file or directory
/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py:117: Warning: cannot retrieve class for invalid (unclassed) type 'void'
  self.web_content = WebKit2.WebView()
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gufw/gufw.py", line 30, in <module>
    gufw = Gufw(controler.get_frontend())
  File "/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py", line 79, in __init__
    self._set_objects_name()
  File "/usr/lib/python3.9/site-packages/gufw/gufw/view/gufw.py", line 117, in _set_objects_name
    self.web_content = WebKit2.WebView()
TypeError: could not get a reference to type class
```
The file does definitely exist under /usr/lib:
![bugticket_gufs](https://user-images.githubusercontent.com/9352289/118360092-620a0100-b586-11eb-8a27-7a8adba49934.png)


### Steps to reproduce the behavior
`sudo gufw`


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

end of thread, other threads:[~2021-05-18 17:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15 12:08 [ISSUE] Bug: gufw does not start el-christianito
2021-05-15 15:28 ` ericonr
2021-05-16 16:35 ` el-christianito
2021-05-17  2:46 ` ericonr
2021-05-17  2:47 ` ericonr
2021-05-18  6:50 ` el-christianito
2021-05-18 17:52 ` el-christianito
2021-05-18 17:52 ` [ISSUE] [CLOSED] " el-christianito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).