new version of WD linux , similar to WD Mac version

I am using Unbuntu 16.04
and I am using FireFox browser, which is built in, from the task bar up the side

I set the station type to Stationless, tried it with firefox and still not working. If we are indeed running the same versions of the software involved, and it appears we are, the only other variable would be hardware so this may be a video driver issue - but that wouldnt explain why other apps work like the gtk3-demo. It appears you may be running a virtual instance of Ubuntu? Maybe that has some influence on this. Im gonna give up for now. Maybe I’ll try virtualizing it in the next few weeks.

yes, I am running linux in a virtual box on windows
but not sure why that should matter
it might instead of something to do with the GTK version installed?

We have the same version based on your last screen shot.

one thing, are you using the latest WD linux version?
try updating that

Updated to the latest version. Still not working. However the error message is different now. i was getting an Access Violation before, now i get a ‘Segmentation fault (core dumped)’.

those are similar errors (memory error)
you could try as a test:
back up then delete the WD settings files (when WD is not running)
i.e WDISPLAY.INI and wdisplayftp.ini
from
/Documents/wdisplay/

so that WD starts up with no settings

No change.


I do not see those errors
i wonder if its associated with screen resolution maybe?
since it references gdk width?

I’ve just got WD for Linux running this morning on a brand new Intel NUC with Ubuntu 16.04 LTS. So far I haven’t connected it to my Davis because that is reporting weather data to my Windows PC. At this stage I want to be sure that WD for Linux is going to work to some degree before committing to it, and then hopefully get the Broadway remote access working (more on that in my next post).

WD seems to be running OK so far as I can tell at this early stage, but when exiting, I see this error message every time:

grant@INTEL-NUC7i3BNH:~/wdisplay$ sudo ./weatherdisplay
3.0 Mesa 17.0.7
Exception EAccessViolation in module weatherdisplay at 0000000000B249FE.
Access violation at address 0000000000B249FE, accessing address 0000000000000018.
Segmentation fault (core dumped)

This would seem to be a serious problem, so I’d like to know what to do about it before proceeding further.

you mean exit via save and exit?
are you running it as sudo? (needs to be so that it can save to the ini files)

I am getting very similar error messages to Brian, except I don’t have a ‘Segmentation Fault’ at the end. Complete error message window attached.

Also, when invoking the first Broadway command, I see the following:

grant@INTEL-NUC7i3BNH:~/wdisplay$ sudo GDK_BACKEND=broadway
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] []
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file …

It looks to me as though the command wasn’t executed, however the next command works OK:

rant@INTEL-NUC7i3BNH:~/wdisplay$ sudo broadwayd :5
[sudo] password for grant:
Listening on /home/grant/.cache/broadway6.socket

Needless to say, attempting to open a browser window at [b]http://127.0.0.1:8085/[/b] (on my Windows PC) doesn’t work.
Is that what I am supposed to do when attempting to view WD for Linux from a different device on my LAN?

It would be great to get this working. Thanks Brian for any help you can offer.


Error Messages 2.txt (18.6 KB)

grant@INTEL-NUC7i3BNH:~/wdisplay$ sudo GDK_BACKEND=broadway
you are missing a bit of the end see my screen shot above

Yes, definitely running WD via sudo, as shown in the terminal window text posted above.

However, I just clicked the red X button to exit so maybe that is why.

P.S. Just tried the ‘Exit’ command from menu and it now seems to exit normally with various messages saying ‘No process found’ followed by ‘Terminated’.

Thanks Brian, I’ll remember not to use the red X button in future :oops:

Your instructions say this:

[b]in Ubuntu
open a terminal window
type in
sudo GDK_BACKEND=broadway

then open a browser window and point to
http://127.0.0.1:8085
note that you do need to have web sockets available in that browser (if using chrome then google how to make sure that is enabled)

then in another terminal window
type in
sudo broadwayd :5

then in another terminal window, where WD is

sudo GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 ./weatherdisplay

(assuming you have copied the files in the Deploy folder to /usr/lib/

then refresh the browser window[/b]

And I followed them to the letter. Are you saying that the first part of those instructions is incorrect?

type in
sudo GDK_BACKEND=broadway

it was not clear that you had also done
sudo GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 ./weatherdisplay

Yes, I executed both commands from different terminal windows as per your instructions. The first short command doesn’t seem to do anything and the second (as you’ve pasted above) produces the very long error message shown in my attachment.

So it seems that Remote Viewing has serious issues at this stage but I can continue trying to get WD for Linux working with my Davis, albeit remembering not to use the Red X button :wink:

Yes I am thinking the same thing or something along those same lines. As I stated before, all other applications work with broadway so it has to be something unique to my hardware or monitor - why I mentioned video driver. Anyway, I am out of town for the weekend but will investigate further when I return. One question, when running with broadway do you have weather display set to the default screen size from the screen size menu?

yes, everything default (i.e like WD starting up new, no settings)

I’m very pleased to report that WD for Linux is mostly working on my Intel NUC with a couple of minor bugs noticed and an issue with the data logger.
Starting from the beginning:

  1. I confirmed that my FTDI USB to RS-232 converter was being recognised by Ubuntu and /dev/ttyUSB0 is present.
  2. Started WD and was very pleased to see that polling started immediately with good data packets being received and the data counter incrementing.
  3. Then enabled data logging and restarted WD.
  4. It was here that things started to go off the rails a bit and the ‘Davis VP History Data Extraction’ window never did anything, just staying there until I clicked ‘Abort’. See attachment for screen shot.
    … continued in next post.