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 05-06-2015, 04:49   #31
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Re: OpenCPN Beta test 4.1.602 Release

Issues with Sizer Flags

It is not new in 4.1.602 but might be a problem in the future.
There are some issues with sizers flags in Options dialog.
The wxWidgets docs says:
Quote:
Horizontal alignment flags are ignored with wxEXPAND.
Horizontal alignment flags are ignored in horizontal sizers.
Vertical alignment flags are ignored in vertical sizers.
Please check these files for inconsistency: options.cpp s63_pi.cpp chartdldrgui.cpp

Programmers of plugins often use the wxFormBuilder for creating dialogs. However the generated code might be buggy. E.g. it is not needed to specify both rows and cols for sizers. Only specify cols to avoid asserts. The number of rows will be deduced automatically depending on the number of the elements added to the sizer.

Finally switching OCPN now to wxWidgets 3.0 it might be useful to read the docs of wxWidgets.

Gerhard
CarCode is offline   Reply With Quote
Old 05-06-2015, 04:55   #32
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Beta test 4.1.602 Release

Gerhard...
Exact impact, please?

Thanks

Pavel


Sent from my iPhone using Cruisers Sailing Forum
nohal is online now   Reply With Quote
Old 05-06-2015, 05:15   #33
Registered User

Join Date: Jan 2010
Location: Bayside, NY USA
Boat: Pearson 10M
Posts: 11
Re: OpenCPN Beta test 4.1.602 Release

Hi all-

Just ran a test in the car. Everything worked well and the accuracy was good. Only problem came afterwards when I went to erase track. That worked but there remained a thin line (much thinner than the original track) that can't be erased.

Thoughts?

Overall, a great implementation of a great program.

Thanks to everyone involved.

MikeR
Gosling is offline   Reply With Quote
Old 05-06-2015, 14:13   #34
Registered User

Join Date: Feb 2011
Location: uk
Posts: 93
Re: OpenCPN Beta test 4.1.602 Release Ais problem

Hi

Win 7 acer aspire one

updated and started ok. got a position

Ais targets flash on and off, with none showing a position for any length of time. also sometimes routes and tracks.

Deleted config file and emptied plug in folder, tried without visit my harbor stick, but no different. removed mmsi csv file incase that was the problem.

Ais (digital yacht) so not an input problem, along with worked fine before upgrade. still works on the other sony machine ok.
yachtman is offline   Reply With Quote
Old 06-06-2015, 00:09   #35
Registered User

Join Date: Feb 2011
Location: uk
Posts: 93
Re: OpenCPN Beta test 4.1.602 Release

Strangely "Hurricane'' has a solution on the android beta thread that works.

so problem has been introduced on both the windows and android version.

hurricans post 48 on the android thread follows:-

OK, I've found a "solution" to the second problem.
If I "uncheck" - Ships - AIS Targets - Lost Targets - Remove lost targets affer (min)
and "uncheck" - Ships - AIS Targets - Lost Targets - Mark Targets Lost affer (min)
AIS Targets are then displayed on the Android screen
This issue was identified on the Cruisers Forum for a "non Android" installation - OpenCPN V4 - the posted thinks it is something to do with time synchronisation.
yachtman is offline   Reply With Quote
Old 06-06-2015, 04:54   #36
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by CarCode View Post
Issues with Sizer Flags

It is not new in 4.1.602 but might be a problem in the future.
There are some issues with sizers flags in Options dialog.
The wxWidgets docs says:
Code:
Horizontal alignment flags are ignored with wxEXPAND.
Horizontal alignment flags are ignored in horizontal sizers.
Vertical alignment flags are ignored in vertical sizers.
Please check these files for inconsistency: options.cpp s63_pi.cpp chartdldrgui.cpp

Gerhard
There is another file with same issue: routemanagerdialog.cpp

Gerhard
CarCode is offline   Reply With Quote
Old 06-06-2015, 06:10   #37
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
OpenCPN Beta test 4.1.602 Release

Gerhard...
My question persists - the issue is exactly what?
If you can't post a patch with a fix as every normal person with your skills would, could you at least point the exact place in the code you are referring to? Or a screenshot of the behavior which is broken?

Thanks

Pavel


Sent from my iPhone using Cruisers Sailing Forum
nohal is online now   Reply With Quote
Old 06-06-2015, 08:09   #38
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Re: OpenCPN Beta test 4.1.602 Release

Pavel,
please read again. In the files pointed to by me are used sizers flags in a wrong way. Actually not but in the future this will popup asserts with wxWidgets. There are more than 20 places like that in OCPN code.

Gerhard
Attached Thumbnails
Click image for larger version

Name:	Asserts.png
Views:	164
Size:	101.5 KB
ID:	103276  
CarCode is offline   Reply With Quote
Old 06-06-2015, 08:15   #39
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Beta test 4.1.602 Release

Gerhard...
I'm really amazed how much time are you able to waste instead of creating a patch which would probably take something like 2 minutes...

Pavel
nohal is online now   Reply With Quote
Old 06-06-2015, 19:37   #40
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Beta test 4.1.602 Release

Hi all...
Most of the plugins are already rebuilt and should work with the 4.1 beta on Windows and Linux, check Plugins for OpenCPN 4.1 | Official OpenCPN Homepage and let us know if you find any problems.
The few that are still missing should come shortly.

Thanks

Pavel
nohal is online now   Reply With Quote
Old 06-06-2015, 22:58   #41
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,308
Re: OpenCPN Beta test 4.1.602 Release

Pavel...
Thanks for the plugins work.
In WIN-XP:
I tested the VDR and it won't load. The log says:
Code:
7:47:41 AM: PlugInManager searching for PlugIns in location C:\Program\OpenCPN\plugins
7:47:41 AM: PlugInManager: Loading PlugIn: C:\Program\OpenCPN\plugins\vdr_pi.dll
7:47:41 AM: Error: Failed to load shared library 'C:\Program\OpenCPN\plugins\vdr_pi.dll' (error 0: åtgärden har slutförts.)
7:47:41 AM:    PlugInManager: Cannot load library: C:\Program\OpenCPN\plugins\vdr_pi.dll 
7:47:49 AM: PlugInManager: Deactivating PlugIn: C:\Program\OpenCPN\plugins\br24radar_pi.dll
As you can see from the last row all other plugins are hoisted in the same folder? But what's the "shared library" for VDR?

This is the log for my OCPN 4.0 VDR:
Code:
11:54:49: PlugInManager: Loading PlugIn: C:\Program\OpenCPN\Portable\plugins\vdr_win32_pi16_v03_pi.dll
11:54:49:   C:\Program\OpenCPN\Portable\plugins\vdr_win32_pi16_v03_pi.dll
              API Version detected: 106
              PlugIn Version detected: 3
Håkan
Hakan is offline   Reply With Quote
Old 07-06-2015, 02:59   #42
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,308
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by Hakan View Post
Test help, please.
...................
W7 problem:
In Dashboard using instrument 13, historical depth, the diagram is not shown and values are collected from other instruments. See my leftmost picture. ...................
Thanks
Håkan
No comments on the post. (No interests, my text is not understandable,...??)
What I've done so far:
I was able to test on another Win7(but 64) PC and there is the depth instrument(13) working properly as well? Still all with the same OCPN installation package.

Since my issue started in connection with wxWidgets-3.0 implementation could it be graphic driver dependent in some way?
Any Win7 guru out there for a comment or discussion, please.
Thanks
Håkan
Attached Thumbnails
Click image for larger version

Name:	Dashb.jpg
Views:	177
Size:	174.3 KB
ID:	103314  
Hakan is offline   Reply With Quote
Old 07-06-2015, 05:26   #43
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,308
Re: OpenCPN Beta test 4.1.602 Release

Pavel...
On my WinXP: Also the chartdldr_pi didn't load for the same reason as before:
Code:
14:15:23: PlugInManager: Loading PlugIn: C:\Program\OpenCPN\plugins\chartdldr_pi.dll
14:15:23: Error: Failed to load shared library 'C:\Program\OpenCPN\plugins\chartdldr_pi.dll' (error 0: åtgärden har slutförts.)
14:15:23:    PlugInManager: Cannot load library: C:\Program\OpenCPN\plugins\chartdldr_pi.dll
Note: my own builds of WMM, launcher, BR24Radar, Grib and Dashboard loads OK:
Could it be that the init code somewhere should read:
"Load library: C:\Program\OpenCPN\plugins\chartdldr_pi" instead of
"Load library: C:\Program\OpenCPN\plugins\chartdldr_pi.dll ??

Håkan
Hakan is offline   Reply With Quote
Old 07-06-2015, 05:53   #44
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Beta test 4.1.602 Release

Hakan...
Aren't you trying to load the plugins I built into your own build of OpenCPN made with VS2010? That can never work...

Pavel


Sent from my iPhone using Cruisers Sailing Forum
nohal is online now   Reply With Quote
Old 07-06-2015, 07:27   #45
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,308
Re: OpenCPN Beta test 4.1.602 Release

Pavel...
Ahaaa...yes you're right - 2010. My first Q is then why not?? The Opencpn.exe and the folder structure for the program must still be the same or what are the dependencies, if you feel for an explanation.
Thanks
Håkan
Hakan is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn


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 Test / Technical bdbcat OpenCPN 2881 28-06-2024 02:46
OpenCPN for Android Beta test 4.1.530 bdbcat OpenCPN 203 07-05-2017 21:20
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 10:29.


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.