Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

QWebkit error. #1133

Open
SergiiChernov opened this issue Jul 29, 2020 · 4 comments
Open

QWebkit error. #1133

SergiiChernov opened this issue Jul 29, 2020 · 4 comments
Labels

Comments

@SergiiChernov
Copy link

Am I the only one experiencing Qt problems? "QWebkit is not available" message puzzles me, as QWebkit got deprecated and deleted from Qt in 2016.

Upon loading a gui created with "taurus newgui" initialization i constantly get an error window: KeyError('TaurusMonitorTiny').
Later on "QWebkit is not available" label hangs on the gui. Subsequently, most of features do not work.
When adding a new panel with a model: argument 2 has unexpected type: 'str' error shows up.
Dynamically generated gui and taurus test seem to work normally though.

@cpascual
Copy link
Member

Hi, I do not find those issues myself, but these symptoms remind me of issues related with trying to load the ini file of a GUI previously-created with an older version of Qt or Taurus.

Could that be your case?
Maybe you created a new GUI but reused the name of an old one and now it is finding some old config files?

To discard this, you can try creating a very simple gui using taurus newgui (use a completely new name and don't include any panel, leave as much as you can unset in the wizard) and see if you still experience the problems.

If the above does not help, please give us a bit more details in order to try to reproduce:

  • which platform / O.S. are you using
  • which version of python?
  • which Qt binding are you using (PyQt5, PyQt4,...)
  • how did you install the binding? and the other dependencies?
  • which version of taurus?
  • are you installing the created GUI (e.g. using pip) or are you trying to run it without installing it?
  • how do you run it (using the launcher created when installing the GUI, using taurus gui NAME)...

Also please include some output from the console showing the errors.

@cpascual
Copy link
Member

cpascual commented Jul 29, 2020

Also, can you try running

taurus gui --safe-mode example01

and check if you also run into the same issue?
(example01 is an example GUI configuration included in taurus, and the --safe-mode argument just forces skipping the load of any previously existing .ini files in case you already ran it previously)

NOTE: this requires a TangoTest DS running as "sys/tg_test/1"

@evaki1
Copy link

evaki1 commented Nov 26, 2020

Hello,

I have a similar problem as ChergiiChernov (QWebkit is not available, KeyError('TaurusMonitorTiny') and most features not working such as adding a panel).

I run taurus gui --safe-mode example01 and I have the same issues

I am on Windows 10, Python 3.6.8, PyQt5, Taurus 4.7.0
I installed everything with pip.
For the created GUI I first installed it and then run it using taurus gui NAME

Also, don't know if it is related but when I launch taurus qt designer, there are no taurus widgets.

I have attached pictures for both
Qtdesigner

TaurusGUI

@cpascual
Copy link
Member

Hi,
I think that there are separate issues here:

  • The "QWebkit is not available" message appears in the "Help->Manual" panel. This message is a backwards-compat "left-over" to be removed. See TODO: Remove TaurusGui's "Manual" panel when Qt4 is no longer supported #1163 to understand why it is still there.

  • The 'TaurusMonitorTiny' error: I was not able to reproduce it before, but now I could. I created issue The "new gui wizard" uses the deprecated "MONITOR" key #1162 about it. As a workaround until it is fixed, avoid filling anything in the "monitor" page of the "New GUI wizard" when creating a new GUI

  • Regarding @evaki1 's comment of "most features not working such as adding a panel", please check if using the workaround from the previous point (i.e. having a GUI that loads without exceptions) you still reproduce it. If so, please open new separate issues with as much info as possible on how to reproduce them.

  • The designer issue is very likely independent, and could be related to taurus designer not loading taurus extensions #1047

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants