Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu items are not present on certain Windows PCs #37

Closed
Hakansv opened this issue Jul 19, 2014 · 10 comments
Closed

Menu items are not present on certain Windows PCs #37

Hakansv opened this issue Jul 19, 2014 · 10 comments

Comments

@Hakansv
Copy link
Contributor

Hakansv commented Jul 19, 2014

On some Windows machines, but not all, is the preferences menu nor the right click menu not functional. See http://www.cruisersforum.com/forums/f134/opencpn-simrad-lowrance-radar-overlay-plugin-123167-5.html#post1586719 for more info.
Some tests:
I've tested some different BR24radar_pi versions against different OCPN versions. The conclusion will be that something happened with the BR24 code before 140408 that make it incompatible with some, but not all, Windows machines. The tests are performed on my XP-PC and I will not touch my W7-PC because it's working and that's the one I'm using for navigation.
I don't have the code for the old br24 in my repository so I can't compare them. Let's hope Kees will return. I'll make an issue on https://github.com/canboat/BR24radar_pi/issues
Test results:
BR24RADAR_pi OCPN
140402 3.3.1419 menu items - Yes Radar functional - Yes
140408 3.3.1606 menu items - Yes Radar functional - Yes
140622 3.3.1606 menu items - No Radar functional - No
140413 3.3.1713 menu items - No Radar functional - No
140622 3.3.1911 menu items - No Radar functional - No
140408 3.3.1911 menu items - Yes Radar functional - Yes
140622 3.3.1606 menu items - No Radar functional - No
Note: The version numbers in this test can be different from yours due to my local changes. All those are however based on the last official version before mine, and the other users don't have my versions.

@cowelld
Copy link
Collaborator

cowelld commented Jul 20, 2014

Hi all,
I downloaded the latest OCPN Beta and the pre-compiled BR24 plug-in while
I was working on the boat this past weekend. To my surprise the radar image
didn't happen. This is a on a new Dell with Windows7 Home Premium. The
controls and graphics were as usual but although the radar started on
command the icon didn't turn green and there wasn't any imaging. The NSS7
showed the proper images and Wireshark showed the data was coming to the PC.
We'd better pull that binary off the website.
Also, when an arc alarm zone was drawn (with the outline feature) the zone
was off by 90 degrees.

Hasta,
Dave

----- Original Message -----
From: "Håkan Svensson" notifications@github.com
To: "canboat/BR24radar_pi" BR24radar_pi@noreply.github.com
Sent: Saturday, July 19, 2014 7:04 AM
Subject: [BR24radar_pi] Menu items are not present on certain Windows PCs
(#37)

On some Windows machines, but not all, is the preferences menu nor the
right click menu not functional. See
http://www.cruisersforum.com/forums/f134/opencpn-simrad-lowrance-radar-overlay-plugin-123167-5.html#post1586719
for more info.
Some tests:
I've tested some different BR24radar_pi versions against different OCPN
versions. The conclusion will be that something happened with the BR24
code before 140408 that make it incompatible with some, but not all,
Windows machines. The tests are performed on my XP-PC and I will not touch
my W7-PC because it's working and that's the one I'm using for navigation.
I don't have the code for the old br24 in my repository so I can't compare
them. Let's hope Kees will return. I'll make an issue on
https://github.com/canboat/BR24radar_pi/issues
Test results:
BR24RADAR_pi OCPN
140402 3.3.1419 menu items - Yes Radar functional - Yes
140408 3.3.1606 menu items - Yes Radar functional - Yes
140622 3.3.1606 menu items - No Radar functional - No
140413 3.3.1713 menu items - No Radar functional - No
140622 3.3.1911 menu items - No Radar functional - No
140408 3.3.1911 menu items - Yes Radar functional - Yes
140622 3.3.1606 menu items - No Radar functional - No
Note: The version numbers in this test can be different from yours due to
my local changes. All those are however based on the last official version
before mine, and the other users don't have my versions.


Reply to this email directly or view it on GitHub:
#37

@keesverruijt
Copy link
Owner

@Hakansv I can't make heads or tails of your version numbers. Sorry, but what do you want me to do when you have private changes that don't work? If you want to help, reproduce something with the https://github.com/canboat/BR24radar_pi master branch. Even better, fix it!

If you can't fix it then at least triangulate the problem to a particular commit that was made against my version of the source code.

@keesverruijt
Copy link
Owner

@cowelld Sorry, but I can't do much with your comment either:

  1. the current master works great for me and a number of other people.
  2. you don't report ANY version numbers.
  3. you don't say whether it works with an older version.

Thus it could be anything at all.

@keesverruijt
Copy link
Owner

I've received some information from Douwe F (not via Github) that enabled me to make some progress on this.

In commit a6fe3b9 I changed the socket code from wxWidgets (which had all kinds of subtle issues with UDP broadcast sockets) to direct socket calls but it means we must also perform winsock initialization in the MSW port, or create a fake wxWidgets socket so that wxWidgets does this for us.

@keesverruijt
Copy link
Owner

The workaround is to create a TCP or UDP connection in OpenCPN so that OpenCPN opens a socket via wxWidgets, which initializes the Windows OS so socket calls do not cause errors.

keesverruijt added a commit that referenced this issue Jul 22, 2014
@Hakansv
Copy link
Contributor Author

Hakansv commented Jul 28, 2014

Now it works fine on my XP . Many thanks

@Hakansv Hakansv closed this as completed Jul 28, 2014
@Hakansv
Copy link
Contributor Author

Hakansv commented Jul 28, 2014

Hi Dave, long time no heard:

I’m in Scotland, Caledonian Canal, for the moment and have occasionally
found a network.

The last Git update is now working fine on my XP where I earlier have had
problems. Have you tried it?

Håkan


From: Dave Cowell [mailto:notifications@github.com]
Sent: Sunday, July 20, 2014 12:29 PM
To: canboat/BR24radar_pi
Cc: Håkan Svensson
Subject: Re: [BR24radar_pi] Menu items are not present on certain Windows
PCs (#37)

Hi all,
I downloaded the latest OCPN Beta and the pre-compiled BR24 plug-in while
I was working on the boat this past weekend. To my surprise the radar image
didn't happen. This is a on a new Dell with Windows7 Home Premium. The
controls and graphics were as usual but although the radar started on
command the icon didn't turn green and there wasn't any imaging. The NSS7
showed the proper images and Wireshark showed the data was coming to the PC.

We'd better pull that binary off the website.
Also, when an arc alarm zone was drawn (with the outline feature) the zone
was off by 90 degrees.

Hasta,
Dave

----- Original Message -----
From: "Håkan Svensson" notifications@github.com
To: "canboat/BR24radar_pi" BR24radar_pi@noreply.github.com
Sent: Saturday, July 19, 2014 7:04 AM
Subject: [BR24radar_pi] Menu items are not present on certain Windows PCs
(#37)

On some Windows machines, but not all, is the preferences menu nor the
right click menu not functional. See

http://www.cruisersforum.com/forums/f134/opencpn-simrad-lowrance-radar-overl
ay-plugin-123167-5.html#post1586719
for more info.
Some tests:
I've tested some different BR24radar_pi versions against different OCPN
versions. The conclusion will be that something happened with the BR24
code before 140408 that make it incompatible with some, but not all,
Windows machines. The tests are performed on my XP-PC and I will not touch

my W7-PC because it's working and that's the one I'm using for navigation.
I don't have the code for the old br24 in my repository so I can't compare

them. Let's hope Kees will return. I'll make an issue on
https://github.com/canboat/BR24radar_pi/issues
Test results:
BR24RADAR_pi OCPN
140402 3.3.1419 menu items - Yes Radar functional - Yes
140408 3.3.1606 menu items - Yes Radar functional - Yes
140622 3.3.1606 menu items - No Radar functional - No
140413 3.3.1713 menu items - No Radar functional - No
140622 3.3.1911 menu items - No Radar functional - No
140408 3.3.1911 menu items - Yes Radar functional - Yes
140622 3.3.1606 menu items - No Radar functional - No
Note: The version numbers in this test can be different from yours due to
my local changes. All those are however based on the last official version

before mine, and the other users don't have my versions.


Reply to this email directly or view it on GitHub:
#37


Reply to this email directly or view
#37 (comment)
it on GitHub.
<https://github.com/notifications/beacon/7202854__eyJzY29wZSI6Ik5ld3NpZXM6Qm
VhY29uIiwiZXhwaXJlcyI6MTcyMTQ3MTMzNywiZGF0YSI6eyJpZCI6Mzc0MzQ1MzZ9fQ==--b682
4500b09a4662aeaa62e6fb5c6e0ecd68f7ca.gif>

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4716 / Virus Database: 3986/7887 - Release Date: 07/20/14

@cowelld
Copy link
Collaborator

cowelld commented Jul 29, 2014

Hi Hakan,
I've been pretty busy fixing the boat and painting the hull. I'm putting
it back in the water tomorrow and taking it back down river to the marina.
This weekend we have another race and so I'll do that; hopefully, without
hitting anything. Possibly, I can work with the laptop a bit.
I've been working on a new plug-in that is involved with analyzing boat
performance. In SeaClear there's an add-on called SeaTrace and SeaTrackEdit
which were written by another Dutch sailor with whom I've been
corresponding.
I'm not sure whether there are new features open in the latest versions of
OCPN but I've recently discovered them. You can make a "plug-in" waypoint
and track for display. This would be useful for target tracking. After I've
finished my new program I'll discuss that with Kees and you.
Where are you heading after Scotland? When I was emailing with the
SeaTrace author he was circumnavigating Ireland. That from Holland.

Hasta,
Dave

----- Original Message -----
From: "Håkan Svensson" notifications@github.com
To: "canboat/BR24radar_pi" BR24radar_pi@noreply.github.com
Cc: "Dave Cowell" david.cowell@ymail.com
Sent: Monday, July 28, 2014 2:29 PM
Subject: Re: [BR24radar_pi] Menu items are not present on certain Windows
PCs (#37)

Hi Dave, long time no heard:

I’m in Scotland, Caledonian Canal, for the moment and have occasionally
found a network.

The last Git update is now working fine on my XP where I earlier have had
problems. Have you tried it?

Håkan

@rgleason
Copy link

Dave,

Sean is interested in getting better performance data for
weather_routing, perhaps you can work together.

http://www.cruisersforum.com/forums/f134/weather-routing-100060-37.html#post1591626

(Hope you guys don't think I'm being a busy body.)

Rick

On 7/29/2014 9:21 AM, Dave Cowell wrote:

Hi Hakan,
I've been pretty busy fixing the boat and painting the hull. I'm putting
it back in the water tomorrow and taking it back down river to the
marina.
This weekend we have another race and so I'll do that; hopefully, without
hitting anything. Possibly, I can work with the laptop a bit.
I've been working on a new plug-in that is involved with analyzing boat
performance. In SeaClear there's an add-on called SeaTrace and
SeaTrackEdit
which were written by another Dutch sailor with whom I've been
corresponding.
I'm not sure whether there are new features open in the latest
versions of
OCPN but I've recently discovered them. You can make a "plug-in" waypoint
and track for display. This would be useful for target tracking. After
I've
finished my new program I'll discuss that with Kees and you.
Where are you heading after Scotland? When I was emailing with the
SeaTrace author he was circumnavigating Ireland. That from Holland.

Hasta,
Dave

----- Original Message -----
From: "Håkan Svensson" notifications@github.com
To: "canboat/BR24radar_pi" BR24radar_pi@noreply.github.com
Cc: "Dave Cowell" david.cowell@ymail.com
Sent: Monday, July 28, 2014 2:29 PM
Subject: Re: [BR24radar_pi] Menu items are not present on certain Windows
PCs (#37)

Hi Dave, long time no heard:

I’m in Scotland, Caledonian Canal, for the moment and have occasionally
found a network.

The last Git update is now working fine on my XP where I earlier have had
problems. Have you tried it?

Håkan


Reply to this email directly or view it on GitHub
#37 (comment).

@Hakansv
Copy link
Contributor Author

Hakansv commented Aug 3, 2014

Hi Dave

I hope the race was fine without damages. I’m still in the canal after some
car sightseeing but will exit tomorrow. After that I’m heading south between
England and Ireland. If I turn east back home south of England or proceeds
further south is still an open question. Let’s see.

Take care

Håkan


From: Dave Cowell [mailto:notifications@github.com]
Sent: Tuesday, July 29, 2014 3:22 PM
To: canboat/BR24radar_pi
Cc: Håkan Svensson
Subject: Re: [BR24radar_pi] Menu items are not present on certain Windows
PCs (#37)

Hi Hakan,
I've been pretty busy fixing the boat and painting the hull. I'm putting
it back in the water tomorrow and taking it back down river to the marina.
This weekend we have another race and so I'll do that; hopefully, without
hitting anything. Possibly, I can work with the laptop a bit.
I've been working on a new plug-in that is involved with analyzing boat
performance. In SeaClear there's an add-on called SeaTrace and SeaTrackEdit
which were written by another Dutch sailor with whom I've been
corresponding.
I'm not sure whether there are new features open in the latest versions of
OCPN but I've recently discovered them. You can make a "plug-in" waypoint
and track for display. This would be useful for target tracking. After I've
finished my new program I'll discuss that with Kees and you.
Where are you heading after Scotland? When I was emailing with the
SeaTrace author he was circumnavigating Ireland. That from Holland.

Hasta,
Dave

----- Original Message -----
From: "Håkan Svensson" notifications@github.com
To: "canboat/BR24radar_pi" BR24radar_pi@noreply.github.com
Cc: "Dave Cowell" david.cowell@ymail.com
Sent: Monday, July 28, 2014 2:29 PM
Subject: Re: [BR24radar_pi] Menu items are not present on certain Windows
PCs (#37)

Hi Dave, long time no heard:

I’m in Scotland, Caledonian Canal, for the moment and have occasionally
found a network.

The last Git update is now working fine on my XP where I earlier have had
problems. Have you tried it?

Håkan


Reply to this email directly or view
#37 (comment)
it on GitHub.
<https://github.com/notifications/beacon/7202854__eyJzY29wZSI6Ik5ld3NpZXM6Qm
VhY29uIiwiZXhwaXJlcyI6MTcyMjI1OTMwOCwiZGF0YSI6eyJpZCI6Mzc0MzQ1MzZ9fQ==--02a9
61eafb7b07017cbf5dfb1a3bfe20215351d2.gif>

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4716 / Virus Database: 3986/7940 - Release Date: 07/29/14

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

No branches or pull requests

4 participants