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 12-08-2016, 01:15   #1726
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,546
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
Printing does not work for routes either for me. It produces a pdf file that is empty.
I guessed it already. You might have another OpenCPN version than others, so none of your submitted patches for the official version will work and must be reworked first.

Gerhard
Attached Thumbnails
Click image for larger version

Name:	PrintRoute.jpg
Views:	225
Size:	410.4 KB
ID:	129413  
Attached Files
File Type: pdf PrintRoute.pdf (23.0 KB, 53 views)
CarCode is offline   Reply With Quote
Old 22-08-2016, 13:37   #1727
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Beta Test / Technical

Options->Charts->Chart Files ->Parse All ENC Charts

This option stops every time I try it. Mostly sig-aborted but sometimes a segfault.
4.5.0 , latest git master, Kubuntu 14.04 ,64 bits.

Click image for larger version

Name:	N437.png
Views:	184
Size:	49.7 KB
ID:	129970

/Thomas
cagney is offline   Reply With Quote
Old 22-08-2016, 14:17   #1728
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Beta Test / Technical

Quote:
Originally Posted by cagney View Post
Options->Charts->Chart Files ->Parse All ENC Charts

This option stops every time I try it. Mostly sig-aborted but sometimes a segfault.
4.5.0 , latest git master, Kubuntu 14.04 ,64 bits.

Attachment 129970

/Thomas
I submitted a pull request #714 that should fix this.

chuck
ChuckSK is offline   Reply With Quote
Old 25-08-2016, 02:38   #1729
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,249
Re: Beta Test / Technical

Toady's fetch from master
Win10, VS2013

I today received the below errors. My build two days ago was fine and I can't find any code changes explaining this????
(And I don't have any cairo.h in my ....\cario\ folder or elsewhere)

Code:
SVGCanvasCairo.cpp
1>c:\builds\ocpn\opencpn\src\wxsvg\src\cairo\SVGCanvasCairo.h(15): fatal error C1083: Cannot open include file: 'cairo/cairo.h': No such file or directory
1>  SVGCanvasImageCairo.cpp
1>c:\builds\ocpn\opencpn\src\wxsvg\src\cairo\SVGCanvasImageCairo.h(15): fatal error C1083: Cannot open include file: 'cairo/cairo.h': No such file or directory
1>  SVGCanvasPathCairo.cpp
1>c:\builds\ocpn\opencpn\src\wxsvg\src\cairo\SVGCanvasPathCairo.h(15): fatal error C1083: Cannot open include file: 'cairo/cairo.h': No such file or directory
1>  SVGCanvasTextCairo.cpp
1>c:\builds\ocpn\opencpn\src\wxsvg\src\cairo\SVGCanvasPathCairo.h(15): fatal error C1083: Cannot open include file: 'cairo/cairo.h': No such file or directory
1>  svgxml.cpp
1>C:\Builds\OCPN\OpenCPN\src\wxsvg\src\svgxml\svgxml.cpp(24): fatal error C1083: Cannot open include file: 'expat.h': No such file or directory
Hakan is offline   Reply With Quote
Old 25-08-2016, 06:54   #1730
Marine Service Provider
 
bdbcat's Avatar

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

Hakan...

The cairo include files should be in something like:

Code:
C:\Builds\OCPN\opencpn\buildwin\gtk\include\cairo\cairo.h
Dave
bdbcat is offline   Reply With Quote
Old 25-08-2016, 12:54   #1731
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,249
Re: Beta Test / Technical

Dave
Yes, of course, I should have known. Wonder how they have disappeared?? I new copy of "OpenCPN_buildwin" fixed it all.
Thanks for your advise.
Håkan
Hakan is offline   Reply With Quote
Old 11-09-2016, 07:56   #1732
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Beta Test / Technical

Quote:
Originally Posted by ChuckSK View Post
I submitted a pull request #714 that should fix this.

chuck
Dave/Chuck

It looks like Dave has included your patch in the current master.
The immediate crash problem is gone.
The main problem now is that all ENCs are not parsed.
I have tried the button a few times and still encounter ENC-parsing.

/Thomas
cagney is offline   Reply With Quote
Old 12-09-2016, 09:29   #1733
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,423
Re: Beta Test / Technical

Are you claiming that you must click the button several times to parse all the charts?
seandepagnier is offline   Reply With Quote
Old 12-09-2016, 10:10   #1734
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
Are you claiming that you must click the button several times to parse all the charts?
I have clicked the button 3 or 4 times, but still encounters parsings.
As these parsings are fairly quick and short, it struck me that maybe O does not currently handle pending, already downloaded updates, to previosly parsed charts (cells)?
I know that I have many updates downloaded but not parsed, so that may
explain the parsing.

/Thomas
cagney is offline   Reply With Quote
Old 18-09-2016, 10:00   #1735
Registered User

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

Maybe is time for a new beta!
Best Regard.
P_Dub is offline   Reply With Quote
Old 21-09-2016, 18:14   #1736
Marine Service Provider
 
bdbcat's Avatar

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

cagney...

Lets talk about the "Parse all ENCs" button (Which, btw, I have renamed "Prepare all ENCs")

The code currently creates new SENCs as needed, applying recent updates if discovered.

Of course, the logic needs to read part of the ENC .000 file to check the chart edition, and compare against the existing SENC, if any. But this should be very fast.

So if you press the button repeatedly, the process should be fast if the SENCs are up-to-date.

Are you seeing behaviour other than this?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 22-09-2016, 07:38   #1737
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Beta Test / Technical

Dave

Testing again...
All ENCs for me, is equal to all US east coast ENCs including PR & Virgin Islands.
I have recently updated these charts through the downloader, but not used them since.

+Running Parse All, about 9 min.
+Pressing the same button again, without first pressing "Apply" => crash.
+Restarting. Testing ENCs. O is parsing updates(short quick parsings)
+Running Parse all again , about 10 min.
+ Testing ENCs, still parsing updates.
+Running parse all again. Pressed "Apply" and then parse all once again. No crash
+Trying to stop the parsing by pressing "Skip". Nothing happens. No visual pressed button. No interruption even when pressing the "x".
+Testing ENCs again after the updates finished. Still updating individual ENCs.

/Thomas
cagney is offline   Reply With Quote
Old 22-09-2016, 09:20   #1738
Marine Service Provider
 
bdbcat's Avatar

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

Thomas...

OK, thanks, I understand the scenario and test conditions.

I will shortly post a substantial patch with completely refactored ENC SENC format, new rendering logic, etc. Also some fixes to "Prepare all", which should fix these issues. I will test the new code now just as you are testing, to be sure the problems are corrected.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 22-09-2016, 21:19   #1739
Marine Service Provider
 
bdbcat's Avatar

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

cagney.

re:
I will shortly post a substantial patch with completely refactored ENC SENC format, new rendering logic, etc.

Done, in github now.

Beat it with a stick!

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 23-09-2016, 00:57   #1740
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,249
Re: Beta Test / Technical

Dave..
On Win and VS2013:
All plugins and others disappeared from the build environment after the new commit.
Pls check cmakelist or what's controlling what's in the solution.
Hakan 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 08:13.


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.