pywebview icon indicating copy to clipboard operation
pywebview copied to clipboard

No HTML content displayed on Ubuntu 22.04 with QT

Open silverv opened this issue 3 years ago • 4 comments

Specification

  • pywebview version: 3.6.3
  • operating system: Kubuntu 22.04
  • web renderer: QtWebChannel

Description

The TODO example and the examples provided on the website do not work. There is no way to display HTML content in the window that results. I tried via url and made sure that the paths do not contain any spaces. Then I tried by loading the html file into a variable and feeding it in through the html parameter of the start function. Then I also tried running a flash server and serving html through that and it didn't work. I tried the TODO app and it didn't work.

I made sure all the dependencies were available in the venv in which the executable is run. pip install pywebview[qt] pip install qtpy pyside2 sudo apt install python3-pyqt5 python3-pyqt5.qtwebengine python3-pyqt5.qtwebchannel libqt5webkit5-dev

Practicalities

  • YES I am willing to work on this issue myself.

  • NO I am prepared to support this issue financially.

silverv avatar Aug 04 '22 14:08 silverv

I confirmed that this issue doesn't appear with Ubuntu 20.04 and otherwise same pywebview version and webrenderer

silverv avatar Aug 04 '22 14:08 silverv

Do you get any errors or warnings in the console?

r0x0r avatar Aug 09 '22 07:08 r0x0r

No errors and when I use Chrome to see the debugging window (usually I can see the windows here for debugging), then I don't see any windows listed. I cannot see any HTML content rendered in these windows and there are no console errors. Here is the code I am working with, otherwise the application is progressing very well (on Ubuntu 20 and Windows 10/11) and pywebview is a great tool: https://github.com/Zubax/kucherx/tree/executables

silverv avatar Aug 12 '22 13:08 silverv

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 12 '22 04:09 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 14 '22 04:10 github-actions[bot]

The message to post on the issue when closing it. If none provided, will not comment when closing an issue.

github-actions[bot] avatar Oct 20 '22 03:10 github-actions[bot]

I have no means to reproduce this (no ARM image of Kubuntu), but this has most likely something to do with QT dependencies. Comparing versions of QT libraries would probably be a good start.

r0x0r avatar Oct 24 '22 19:10 r0x0r

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 24 '22 02:11 github-actions[bot]

The message to post on the issue when closing it. If none provided, will not comment when closing an issue.

github-actions[bot] avatar Nov 30 '22 02:11 github-actions[bot]