Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 20-03-2019, 13:09   #16
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: UKTidalEvents Plugin

Rasbats

Compiled from Git on Linux and tested on 4.99.1517.

I get the error Download Failed, Are you connected to the Internet?
I'm definitely connected.......

Thomas
cagney is offline   Reply With Quote
Old 20-03-2019, 13:22   #17
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

Good idea. Yes, a print function could be added.

Mike
Rasbats is offline   Reply With Quote
Old 20-03-2019, 13:28   #18
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

Thomas ...

I was asked not to publish my personal API key. You would need to register with UKHO and get your own API key. Start here:

https://www.admiralty.co.uk/digital-...s/uk-tidal-api

Add the key in lines 111 and 223 on 'UKTidesgui_impl.cpp'.

Mike
Rasbats is offline   Reply With Quote
Old 21-03-2019, 01:33   #19
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: UKTidalEvents Plugin

Quote:
Originally Posted by Rasbats View Post
Thomas ...

I was asked not to publish my personal API key. You would need to register with UKHO and get your own API key. Start here:

https://www.admiralty.co.uk/digital-...s/uk-tidal-api

Add the key in lines 111 and 223 on 'UKTidesgui_impl.cpp'.

Mike

Hello Mike


Mystery why download failed solved.
Works fine now with my personnal API key in RC2 (Ubuntu Cosmic)
Attached Thumbnails
Click image for larger version

Name:	Capture d’écran du 2019-03-21 09-23-18.jpg
Views:	89
Size:	411.2 KB
ID:	188428  
sailorF54 is offline   Reply With Quote
Old 21-03-2019, 03:20   #20
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

SailorF54 ...

If the icon is not working this should now be fixed in the 0.2.1 release and the GitHub master code (not the source.zip).

Mike
Rasbats is offline   Reply With Quote
Old 21-03-2019, 07:55   #21
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: UKTidalEvents Plugin

Quote:
Originally Posted by Rasbats View Post
SailorF54 ...

If the icon is not working this should now be fixed in the 0.2.1 release and the GitHub master code (not the source.zip).

Mike

Git cloning UKTides (this morning in Europe) seems to download release 0.2 and not 0.2.1 (at least it is what it says in Options/Plugins).
The icon is still the green puzzle one...
sailorF54 is offline   Reply With Quote
Old 21-03-2019, 10:27   #22
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: UKTidalEvents Plugin

Quote:
Originally Posted by Rasbats View Post
Thomas ...

I was asked not to publish my personal API key. You would need to register with UKHO and get your own API key. Start here:

https://www.admiralty.co.uk/digital-...s/uk-tidal-api

Add the key in lines 111 and 223 on 'UKTidesgui_impl.cpp'.

Mike
It was a case of me not RTFM as you had documented the issue.
All well now and the global toolbar icon seems to be the right style for 4.99.

Thanks
Thomas
cagney is offline   Reply With Quote
Old 21-03-2019, 12:11   #23
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

sailorF54 ...

I think you may have used 'sudo make install' which puts the plugin data in the folder 'usr/local/share/opencpn/plugins'. The OpenCPN 5 beta pkg from bdbcat is using 'usr/share/opencpn/plugins'. UKTides cannot find the icons.

For me the easiest way to install the plugin was to use 'sudo make package' and then install the package using gdebi package installer. This will put the plugin data (icons) in the folder 'usr/share/opencpn/plugins/UKTides_pi'. The deb file from the GitHub release would produce the same results.

Mike
Rasbats is offline   Reply With Quote
Old 21-03-2019, 12:25   #24
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: UKTidalEvents Plugin

Quote:
Originally Posted by Rasbats View Post
sailorF54 ...

I think you may have used 'sudo make install' which puts the plugin data in the folder 'usr/local/share/opencpn/plugins'. The OpenCPN 5 beta pkg from bdbcat is using 'usr/share/opencpn/plugins'. UKTides cannot find the icons.

For me the easiest way to install the plugin was to use 'sudo make package' and then install the package using gdebi package installer. This will put the plugin data (icons) in the folder 'usr/share/opencpn/plugins/UKTides_pi'. The deb file from the GitHub release would produce the same results.

Mike



sailorF54 is offline   Reply With Quote
Old 03-07-2019, 06:31   #25
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

v0.4 of UKTides has now been published.

https://github.com/Rasbats/UKTides_pi/releases/tag/v0.4

Windows installer and DEB package are available.

UKHO has given a free license to cache the data for 7 days. This is found using the menu item Locations->Saved. An XML file is used to save the information.

A right-click near the icon to obtain the tidal data does not work with locations saved. A table shows the information. Right-click to select the UK tidal station only works with the 'Download' locations.

Mike
Attached Thumbnails
Click image for larger version

Name:	locations-saved.jpg
Views:	73
Size:	26.9 KB
ID:	195248  
Rasbats is offline   Reply With Quote
Old 07-07-2019, 23:59   #26
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

French and Swedish translations now available! Thanks Gilletarom and Håkan.

v0.4 has been updated.

https://github.com/Rasbats/UKTides_pi/releases/tag/v0.4

Mike
Rasbats is offline   Reply With Quote
Old 01-05-2021, 07:55   #27
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 287
UKTide crashes

Hope this is right place to report this... getting reproducible crashes using UKTides with OCPN 5.2.4 on MacOS 10.15.7
(1) Download locations
(2) On chart do a cntl-click and select UK tidal station **that I have previously accessed/saved**
(3) OCPN crashes bad address/segmentation fault
libUKTides_pi.dylib 0x000000010e3a7fbc Dlg::getHWLW(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 4140
1 libUKTides_pi.dylib 0x000000010e3abc81 Dlg::getPort(double, double) + 449
2 org.opencpn 0x000000010396f8c3 CanvasMenuHandler::PopupMenuHandler(wxCommandEvent &) + 5411
Antipole is offline   Reply With Quote
Old 01-05-2021, 10:59   #28
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

Exactly the right place. Thanks Tony. I will take a look.

Mike
Rasbats is offline   Reply With Quote
Old 03-05-2021, 13:25   #29
Registered User

Join Date: May 2012
Posts: 1,206
Re: UKTidalEvents Plugin

v1.1.4 now available as an upgrade from the beta catalog. Windows tested ok. Still need to test the MacOS.

Mike
Rasbats is offline   Reply With Quote
Old 04-05-2021, 00:51   #30
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: UKTidalEvents Plugin

Testing with opencpn git master as of today....
I do get a crash when clicking the download button.

Click image for larger version

Name:	Screenshot_20210504_094721.png
Views:	43
Size:	121.8 KB
ID:	237703

Thomas
cagney is offline   Reply With Quote
Reply

Tags
events, plug


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: DashBoard SethDart OpenCPN 644 02-04-2024 16:55
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
BSB 4 PlugIn bdbcat OpenCPN 98 25-04-2018 18:46
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56
Writing Plugin for nv.digital Map Format ? Netsurfer OpenCPN 7 17-08-2010 16:09

Advertise Here


All times are GMT -7. The time now is 06:18.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.