Comments (11)
Hi,
same for me though.
QtWebkit seems to be hard to get for PyQt4.
I tried to change al imports from PyQt4 to PyQt5 and were able to install without errors.
However, when trying the simple example the taurus imports do import again PyQt4 and this crashes the example due to the imports of both versions.
Also the QtWebkit seems to differ from PyQt4 to PyQt5, at least the sub-modules seem to be different.
from lib-maxiv-svgsynoptic.
moreover, this packges seems to be python2.
Are there any efforts to directly move to python3?
Is there maybe a demo available?
I would really like to test it!
from lib-maxiv-svgsynoptic.
Dear @dschick,
I used conda to install all the needed packages under ubuntu18 / debian9 but I had the following issue:
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
init TaurusSynopticWidget
/home/guler/TANGO/Repository/MaxIV/lib-maxiv-svgsynoptic/examples/tango_ooo/example.html
var modelNames ={value3 : "sys/tg_test/2/ampli",value2 : "sys/tg_test/1/ampli",value1 : "sys/tg_test/1/double_scalar",};
absolute path /home/guler/TANGO/Repository/MaxIV/lib-maxiv-svgsynoptic/examples/tango_ooo//home/guler/TANGO/Repository/MaxIV/lib-maxiv-svgsynoptic/examples/tango_ooo/example.html
placeholder found
set_url /home/guler/TANGO/Repository/MaxIV/lib-maxiv-svgsynoptic/examples/tango_ooo/example.html
JsConsole(file:///home/guler/anaconda3/envs/taurus_sardana2/lib/python2.7/site-packages/svgsynoptic2/web/js/main.js:68):
load /home/guler/TANGO/Repository/MaxIV/lib-maxiv-svgsynoptic/examples/tango_ooo/example.svg
JsConsole(file:///home/guler/anaconda3/envs/taurus_sardana2/lib/python2.7/site-packages/svgsynoptic2/web/js/main.js:68):
/home/guler/anaconda3/envs/taurus_sardana2/lib/python2.7/site-packages/svgsynoptic2/web/
JsConsole(:1):
XMLHttpRequest cannot load file:///home/guler/TANGO/Repository/MaxIV/lib-maxiv-svgsynoptic/examples/tango_ooo/example.svg. Cross origin requests are only supported for HTTP.
JsConsole(undefined:0):
TypeError: 'null' is not an object
JsConsole(undefined:0):
NETWORK_ERR: XMLHttpRequest Exception 101: A network error occured in synchronous requests.
it seems that the code should be updated at some point.
may be @AntoineDupre have you a way to solve those problems ?
Thx
from lib-maxiv-svgsynoptic.
hi @hayg25 , thanks for your help.
I actually wanted to avoid using conda, since I am using pip in my installation.
But I fear that conda might be the only way to get PyQT.Qtwebkit running on Ubuntu.
So having an updated version of the code is highly appriciated.
from lib-maxiv-svgsynoptic.
maybe one can have a look at #32
from lib-maxiv-svgsynoptic.
Hej @hayg25 and @dschick,
You may want to check #31
It worked fine in my local test environment with Python 3.6, Taurus 4.7 and PyQt 5.15.
You should be able to install all the dependencies from pip.
from lib-maxiv-svgsynoptic.
dear @wkitka ,
that's a really good news ! I will check asap. Is it on the developp branch ?
Cheers
from lib-maxiv-svgsynoptic.
Hej @hayg25,
it's not yet merged into develop branch. You can find code here: https://github.com/wkitka/lib-maxiv-svgsynoptic/tree/python3
from lib-maxiv-svgsynoptic.
Hi @wkitka,
so I have few issues to install the module, but nothing serious.
But, I had problem when I tried to run it :
MainThread INFO 2020-10-20 19:18:24,184 TaurusRootLogger: Using PyQt5 (v5.12.3 with Qt 5.12.5 and Python 3.8.6)
MainThread INFO 2020-10-20 19:18:24,606 TaurusRootLogger: Plugin "taurus_pyqtgraph" lazy-loaded as "taurus.qt.qtgui.tpg"
MainThread WARNING 2020-10-20 19:18:27,621 TaurusRootLogger: Qtdefault None.None[0]: WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
MainThread CRITICAL 2020-10-20 19:18:28,611 TaurusRootLogger: Qtdefault None.None[0]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Aborted
any idea ?
btw I run it under python 3.8.6 with pyqt5.12
from lib-maxiv-svgsynoptic.
Hi again,
first issue was related to the config file :
# I commented the line below and installation works fine
#release = 1%{?dist}.maxlab
from lib-maxiv-svgsynoptic.
Hi @wkitka ,
just an answer about my last attempt : it did not work through ssh, but works fine if I do it directly on the server.
from lib-maxiv-svgsynoptic.
Related Issues (20)
- Subscriptions are not set up initially
- Can't find variable: Backend when installed from Refactoring branch HOT 1
- Broken first view after commit 03c03eac HOT 1
- Layer name with whitespaces and dots unclickable HOT 1
- main layer transform not handled
- symbols layer is appearing in v3.0 HOT 1
- values without format taurus4
- Add documentation on the Tango controls site
- Multiple items with same model causes visibility issues
- Synoptic view movement is slow and lags since qt update
- GUI freezez since serialization change to taurus serial
- Case sensitivity
- tests impossible without PyTango HOT 1
- model with DimensionalityError HOT 2
- Thumbnails and Layers attribute in svg
- Color on State of the device
- Zoom factor is not constant when resizing the window HOT 1
- Inaccessible devices
- Full tango name issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lib-maxiv-svgsynoptic.