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 17-04-2022, 13:52   #2776
Registered User

Join Date: Feb 2011
Posts: 1,128
Re: Beta Test / Technical

It does not mean that you can not do anything to show th current.
Thanks anyway.
P_Dub is online now   Reply With Quote
Old 22-04-2022, 07:16   #2777
Registered User

Join Date: Feb 2011
Posts: 1,128
Re: Beta Test / Technical

to the one who made this program:- can you tell me why the current made for the Dardanelles and Boshphores (Turkey) can not be align as indicated in the idx file? All others current points works correctly, but not there.
P_Dub is online now   Reply With Quote
Old 22-04-2022, 07:54   #2778
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Re: Beta Test / Technical

P_Dub...
Please post the index file, and I will take a close look


Dave
bdbcat is online now   Reply With Quote
Old 22-04-2022, 10:30   #2779
Registered User

Join Date: Feb 2011
Posts: 1,128
Re: Beta Test / Technical

I will send you part of the HARMONIC and HARMONIC.IDX that I have rebuild with reduce constituents (67 + mean level) if you send me your email.
pierdube@videotron.ca
P_Dub is online now   Reply With Quote
Old 22-04-2022, 15:33   #2780
Registered User

Join Date: Feb 2011
Posts: 1,128
Re: Beta Test / Technical

[QUOTE=bdbcat;3611329]P_Dub...
Please post the index file, and I will take a close look


Dave, did you get the message with the 2 files?
Thanks for help.
P_Dub is online now   Reply With Quote
Old 22-04-2022, 19:31   #2781
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Re: Beta Test / Technical

P_Dub...
I got the files.
Two problems:
1. To show current direction, the current station definition must be a "slave" station (little c) and include a reference to a master station (big C). They can have the same names, if desired.
2. Line format of IDX line starting with "^" is very fussy. I found an extra space before the reference station name.


Putting this together, here is the IDX entries required for one station in your IDX file.


Code:
CAsi:Tur:Ist:    029.1127  41.2017  +3:00 KARSIKUM Current, Turkey
cAsi:Tur:Ist:    029.1127  41.2017  +3:00 KARSIKUM Current, Turkey
^+05   1.0 0 +00  1.00  0 0001 044 224 1 KARSIKUM Current, Turkey
I'm sure you can complete the rest.


Good Luck
Dave
bdbcat is online now   Reply With Quote
Old 23-04-2022, 05:38   #2782
Registered User

Join Date: Feb 2011
Posts: 1,128
Re: Beta Test / Technical

Many thanks Dave. It's all corrected, all we needed to do is replacing the C by c and that extra space was the problem. I had change the c by C to show the arrow. I don't know why I had not seen it. I made more than 500 around the world without problem. I have re-analyse and rebuild properly more than 4300 points around the world and all working OK (comparing with tide tables of various country). So if you are interrested, I can email you the whole thing for yourself.
Have a good day.
P_Dub is online now   Reply With Quote
Old 28-04-2022, 08:32   #2783
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 289
Re: Beta Test / Technical

Trying to patch colors and symbols for s57 and are using the default patch location for o-charts. Patching symbols works fine but colors does not.
My color patch file looks like this:

<chartsymbols>
<color-tables>
<color-table name="DAY_BRIGHT">
<graphics-file name="rastersymbols-day.png"/>
<color name="CHBRN" r="247" g="238" b="205"/>
<color name="LANDA" r="255" g="239" b="132"/>
<color name="LANDF" r="247" g="239" b="206"/>
<color name="CSTLN" r="0" g="0" b="0"/>
<color name="SNDG1" r="7" g="7" b="7"/>
<color name="SNDG2" r="7" g="7" b="7"/>
<color name="DEPSC" r="125" g="130" b="247"/>
<color name="DEPCN" r="125" g="130" b="247"/>
<color name="DEPDW" r="255" g="255" b="255"/>
<color name="DEPMD" r="227" g="235" b="255"/>
<color name="DEPMS" r="198" g="215" b="255"/>
<color name="DEPVS" r="132" g="158" b="255"/>
</color-table>
</color-tables>
</chartsymbols>


and loads correct according to the OpenCPN log, at least no error messages. The colors are however not updated accordingly.
Something silly I'm sure.
LennartG is offline   Reply With Quote
Old 11-05-2022, 13:19   #2784
Registered User

Join Date: Mar 2011
Posts: 732
Re: Beta Test / Technical

All of my flatpak builds are failing on CircleCI. All the other CircleCI builds (MacOS, Focal, Buster, Bionic etc.) are OK.

Here is the snippet of the error message
Code:
FB: Running: git config --get user.email
FB: Running: git config --get user.name
FB: Running: flatpak info --arch=x86_64 --show-commit org.freedesktop.Sdk//20.08 beta
FB: Running: flatpak info --show-location --arch=x86_64 org.freedesktop.Sdk//20.08 beta
FB: Running: flatpak info --arch=x86_64 --show-commit org.opencpn.OpenCPN beta
Downloading sources
]2;flatpak-builder: Downloading twocan_pluginFB: Running: git --version
FB: Git version: 2.28.0.0
FB: Running: git init --bare /home/circleci/project/build/flatpak/.flatpak-builder/git/git_github.com_TwoCanPlugIn_TwoCanPlugIn-1IP5L1
Initialized empty Git repository in /home/circleci/project/build/flatpak/.flatpak-builder/git/git_github.com_TwoCanPlugIn_TwoCanPlugIn-1IP5L1/
FB: Running: git remote add --mirror=fetch origin git://github.com/TwoCanPlugIn/TwoCanPlugIn
FB: Running: git cat-file -e gateway
FB: Running: git ls-remote origin
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
Failed to download sources: module twocan_plugin: Child process exited with code 128
make[3]: *** [CMakeFiles/flatpak-build.dir/build.make:58: CMakeFiles/flatpak-build] Error 1
make[2]: *** [CMakeFiles/Makefile2:106: CMakeFiles/flatpak-build.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/flatpak-build.dir/rule] Error 2
make: *** [Makefile:131: flatpak-build] Error 2

Exited with code exit status 2
CircleCI received exit code 2
The config.yml file and circleci-build-flatpak.sh script are from Jon Gough's testplugin_pi.

Any thoughts ?
stevead is offline   Reply With Quote
Old 11-05-2022, 16:31   #2785
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Beta Test / Technical

Steve, from the error it seems like your build workflow simply tries to access github in a way they deprecated and removed, I would probably try to update it to the current state of the shipdriver template - https://github.com/OpenCPN/OpenCPN/discussions/2589
nohal is offline   Reply With Quote
Old 11-05-2022, 17:09   #2786
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Beta Test / Technical

Quote:
Originally Posted by stevead View Post
All of my flatpak builds are failing on CircleCI. All the other CircleCI builds (MacOS, Focal, Buster, Bionic etc.) are OK.

...
The config.yml file and circleci-build-flatpak.sh script are from Jon Gough's testplugin_pi.

Any thoughts ?

Jon has a new version coming out, you could look at his testplugin_pi updates branch. https://github.com/jongough/testplugin_pi/tree/updates


You could use the config.yml and ci from that.
rgleason is offline   Reply With Quote
Old 12-05-2022, 01:40   #2787
Registered User

Join Date: Mar 2011
Posts: 732
Re: Beta Test / Technical

Perusing some of the CircleCi flatpak build messages prior to the error is this
Code:
sources:
       - type: git
         url: git://github.com/TwoCanPlugIn/TwoCanPlugIn
         branch: gateway
I'm guessing this could be the offender and it should really be https:

Any idea where the git url set in the cmake files ? Doesn't seem obvious to me.

Thanks.
stevead is offline   Reply With Quote
Old 12-05-2022, 01:59   #2788
Registered User

Join Date: Mar 2011
Posts: 732
Re: Beta Test / Technical

Found it.

In cmake/in-files/org.opencpn.OpenCPN.Plugin.yaml.in Ensure that the git url is correctly prefixed, changed from git to https
Code:
sources:
       - type: git
         url: https://${GIT_REPOSITORY_SERVER}/${GIT_REPOSITORY}
         ${GIT_BRANCH_OR_TAG}: ${GIT_REPOSITORY_ITEM}
F..k, Could you guys design a more obfuscated build process? After having a look at Mike's Shipdriver config files, there's probably no limit!

The more obfuscated, the more brittle and the harder it is to maintain.
stevead is offline   Reply With Quote
Old 12-05-2022, 03:54   #2789
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Beta Test / Technical

Quote:
Originally Posted by stevead View Post
Found it.

In cmake/in-files/org.opencpn.OpenCPN.Plugin.yaml.in Ensure that the git url is correctly prefixed, changed from git to https
Code:
sources:
       - type: git
         url: https://${GIT_REPOSITORY_SERVER}/${GIT_REPOSITORY}
         ${GIT_BRANCH_OR_TAG}: ${GIT_REPOSITORY_ITEM}
F..k, Could you guys design a more obfuscated build process? After having a look at Mike's Shipdriver config files, there's probably no limit!

The more obfuscated, the more brittle and the harder it is to maintain.
If you think it can be done better, submit a pull request, I will gladly merge it...
nohal is offline   Reply With Quote
Old 12-05-2022, 05:00   #2790
Registered User

Join Date: May 2014
Location: USA
Boat: 41' yawl
Posts: 1,188
Beta Test / Technical

Quote:
Originally Posted by stevead View Post
The more obfuscated, the more brittle and the harder it is to maintain.


Exactly right! The idea that complexity has a cost that needs to be justified never seems to occur to amateur programmers, they just type and type and type... I guess you get what you pay for.
chris95040 is offline   Reply With Quote
Reply


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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 15:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 04:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 14:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 16:25

Advertise Here


All times are GMT -7. The time now is 07:55.


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.