Open josesovaz opened 5 years ago
This is also happening every time visual regression tests are run:
A quite polluted output, even though the tests pass.
For interactive usage, you will have to install a Qt
run-time as described here.
@jheinen I am not seeing how I am "interacting" with GR. I am just following the testing workflow recommended in the language: fire up a Julia session, and type ]test MyPkg
. Maybe something more specific should be done in the case of tests to avoid those warnings? I don't need interaction with GR for just running a test suite. Makes sense?
Thanks for the quick replies as usual, and for the great package!
You could make your tests by only using PDF output:
using GR
GR.inline("pdf")
... # your test code goes here
But then we cannot load them from disk for comparison later with visualregressiontests.jl as usual
On Sun, Dec 9, 2018, 17:03 Josef Heinen <notifications@github.com wrote:
You could make your tests by only using PDF output:
using GR GR.inline("pdf")... # your test code goes here
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jheinen/GR.jl/issues/172#issuecomment-445562419, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMLbWbRYb80BvYIACKhBCyjOncS3Lhtks5u3V6QgaJpZM4YflIa .
There is also PNG :smile:
using GR
GR.inline("png")
... # your test code goes here
... or whatever output format is best suited for visual regression tests.
I'll try png. I think I tried it already. Not sure :)
On Sun, Dec 9, 2018, 17:28 Josef Heinen <notifications@github.com wrote:
... or whatever http://gr-framework.org/workstations.html output format is best suited for visual regression tests.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jheinen/GR.jl/issues/172#issuecomment-445564253, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMLbV6udcqHL9WAny6qjKsBrO0tsAJlks5u3WRjgaJpZM4YflIa .
@jheinen I am already using PNG in visual regression tests. It used to work just fine without warnings as you know. It is just the latest GR that requires Qt in some situations, including just testing (without user interaction).
with ubuntu 20.04 and julia 1.5.2 . I have the same issue. It's OK with Atom but KO in a terminal. I solved it with "sudo apt install xvfb"
Hello,
I am trying to use some Julia packages. When these packages are trying to plot some results, it gives me the following error:
GKS: Open failed in routine OPEN_WS GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS connect: Connection refused GKS: can't connect to GKS socket application Did you start 'gksqt'?
Anyway, the plots are created, but I don't know if this error/warning interferes with the plots.
Regards,
Jose