taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

QWebkit error. #1133

Open SergiiChernov opened 3 years ago

SergiiChernov commented 3 years ago

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 commented 3 years ago

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:

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

cpascual commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Hi, I think that there are separate issues here: