Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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-08-2015, 05:36   #46
Registered User

Join Date: Aug 2015
Location: France
Boat: Gib Sea 76 (7,50 m)
Posts: 24
Re: OpenCPN for Android Beta test 4.1.818

alanbrook...

click on WP
--> yellow
--> click and drag works for me (Lenovo A8-50)
The direct click and drad doesn't work (have to click twice)

Once mark in yellow ... impossible to delete it :-(
Have to click elsewhere then long click on it to get the contextual menu

Yellow mark :
Double click --> Properties (why nothing to delete here ???)
SMOX is offline   Reply With Quote
Old 20-08-2015, 12:02   #47
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: OpenCPN for Android Beta test 4.1.818

With latest commits from last night, O doesn't compile anymore under VC2013 ...
3 errors in about.cpp.

Compiler messages :
-----------------------
...
4> about.cpp
4>C:\git\OpenCPN\src\about.cpp(63): error C2308: concatenating mismatched strings
4> Concatenating wide "<br>OpenCPN<br>" with narrow "(c) 2000-2015 The OpenCPN Authors<br><br>"
4>C:\git\OpenCPN\src\about.cpp(72): error C2308: concatenating mismatched strings
4> Concatenating wide "<br><br>" with narrow "OpenCPN is a Free Software project, built by sailors. "
4>C:\git\OpenCPN\src\about.cpp(151): error C2308: concatenating mismatched strings
4> Concatenating wide " David S Register
4> " with narrow " OpenCPN Lead Developer
4>
4> "
----------------
It still did complile yesterday ...

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 20-08-2015, 21:26   #48
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN for Android Beta test 4.1.818

Eric...

No luck reproducing the crash on SOG/COG predictor rendering.

Studied the tombstone. Makes no sense.
a). rlVertex() is nothing. Nothing called that anywhere in OA. Should be glVertex(), probably.
b. Even if it was glVertex(), why would that crash? Never has before.

which makes me think:

c) generic memory corruption.

Maybe you could try to fiddle with :

Code:
    Read( _T ( "OwnshipCOGPredictorMinutes" ), &g_ownship_predictor_minutes, 5 );
in the config file. Start small, and see what breaks?

Does it happen at slower speeds?

If you turn off GPS, pan to where the boat is, and then turn on GPS, does it crash instantly?

Does it crash with no charts loaded, i.e. just the background chart?

On three Samsung phones? Wow.


Dave
bdbcat is online now   Reply With Quote
Old 20-08-2015, 23:46   #49
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,148
Re: OpenCPN for Android Beta test 4.1.818

About earlier reported build error in Win VC2010: (http://www.cruisersforum.com/forums/...ml#post1894867)

May I suggest the following fix to satisfy also the old VC10?

Code:
diff --git a/plugins/grib_pi/src/GribSettingsDialog.cpp b/plugins/grib_pi/src/GribSettingsDialog.cpp
index 7c5b036..3305ac4 100644
--- a/plugins/grib_pi/src/GribSettingsDialog.cpp
+++ b/plugins/grib_pi/src/GribSettingsDialog.cpp
@@ -606,7 +606,7 @@ void GribSettingsDialog::SetDataTypeSettings(int settings)
     odc.m_bNumFixSpac = m_cNumFixSpac->GetValue();
     odc.m_iNumbersSpacing = m_sNumbersSpacing->GetValue();
     odc.m_bParticles = m_cbParticles->GetValue();
-    odc.m_dParticleDensity = 4.0*exp(m_sParticleDensity->GetValue() - 7);
+    odc.m_dParticleDensity = 4.0*exp((double)m_sParticleDensity->GetValue() - 7);
Håkan
Hakan is online now   Reply With Quote
Old 20-08-2015, 23:57   #50
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,148
Re: OpenCPN for Android Beta test 4.1.818

A Windows build error report - today's pull.

Code:
  about.cpp
..\src\about.cpp(63): error C2308: concatenating mismatched strings
          Concatenating wide "<br>OpenCPN<br>" with narrow "(c) 2000-2015 The OpenCPN Authors<br><br>"
..\src\about.cpp(72): error C2308: concatenating mismatched strings
          Concatenating wide "<br><br>" with narrow "OpenCPN is a Free Software project, built by sailors. "
..\src\about.cpp(151): error C2308: concatenating mismatched strings
          Concatenating wide "   David S Register
  " with narrow "      OpenCPN Lead Developer
  
  "
Håkan
Hakan is online now   Reply With Quote
Old 21-08-2015, 00:01   #51
Marine Service Provider
 
OceanSeaSpray's Avatar

Join Date: Aug 2013
Location: New Zealand
Boat: Custom 13m aluminium sloop
Posts: 287
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by bdbcat View Post
Eric...

No luck reproducing the crash on SOG/COG predictor rendering.

Studied the tombstone. Makes no sense.
a). rlVertex() is nothing. Nothing called that anywhere in OA. Should be glVertex(), probably.
b. Even if it was glVertex(), why would that crash? Never has before.

which makes me think:

c) generic memory corruption.

Maybe you could try to fiddle with :

Code:
    Read( _T ( "OwnshipCOGPredictorMinutes" ), &g_ownship_predictor_minutes, 5 );
in the config file. Start small, and see what breaks?

Does it happen at slower speeds?

If you turn off GPS, pan to where the boat is, and then turn on GPS, does it crash instantly?

Does it crash with no charts loaded, i.e. just the background chart?

On three Samsung phones? Wow.


Dave
Dave,

It seems to crash at any speed basically, I made it lock up at 0.8kts this afternoon. I did wonder about the length of the vector previously and had tested down to 6kts.

It also freezes instantly when no charts are configured, when there is no screen redraw and the GPS fix suddenly becomes available within the map area with a velocity component.

I replicated it on three different S4 GT-I9505, the package was downloaded independently on each phone and it happened exactly the same with the last two builds... there will be a reason. It is no accident.

The last item on the stack trace does look odd, but it could have been put there by what executed following the incident.
The call before that is ocpnDC: DrawLine, so the values passed to it might be triggering the crash. Some kind of data corruption?

Also note that the application hangs instead of exiting and it doesn't leave a tombstone each time. In fact I was quite lucky to get one yesterday. I couldn't today and I couldn't take screenshots either.
What happens internally following the crash seems quite unpredictable.

Eric
__________________
"The case for elimination: the only equipment that never needs maintenance and never breaks down is the one you don't have on board."
OceanSeaSpray is offline   Reply With Quote
Old 21-08-2015, 05:36   #52
Registered User

Join Date: Jul 2015
Posts: 2
Thumbs up Re: OpenCPN for Android Beta test 4.1.818

Hi,
Now this issue is compliant with my samsung 7" tab.
I am going to carry out some tests
Thanks very much
gibou is offline   Reply With Quote
Old 21-08-2015, 06:18   #53
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN for Android Beta test 4.1.818

alanbrook...

re:
"I also crash the program with virtualy any attempt to do anything with the route other than view properties "

Specific examples/cases, please?

Thanks
Dave
bdbcat is online now   Reply With Quote
Old 21-08-2015, 08:03   #54
Registered User

Join Date: Aug 2015
Location: France
Boat: Gib Sea 76 (7,50 m)
Posts: 24
Re: OpenCPN for Android Beta test 4.1.818

Quote:
Originally Posted by bdbcat View Post
Changelog:
42. Chart Downloader PlugIn is integrated and available.
[snip]
inclusion of Pavel's chart downloader PlugIn in OA.
Please exercise this feature aggressively.
I do not see it ... the [Plugin ] tab is empty.
LENOVO A8-50 - Android 4.4.2 - Net Connexion: WIFI


Stéphane
SMOX is offline   Reply With Quote
Old 21-08-2015, 11:33   #55
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN for Android Beta test 4.1.818

Stéphane...

May we see your logfile, probably /mnt/sdcard/opencpn/opencpn.log...

Anyone else having trouble with Chart Downloader PlugIn?

Thanks
Dave
bdbcat is online now   Reply With Quote
Old 21-08-2015, 15:02   #56
Registered User

Join Date: Aug 2015
Location: France
Boat: Gib Sea 76 (7,50 m)
Posts: 24
Re: OpenCPN for Android Beta test 4.1.818

Dave ...

files conf and log in a zip archive hidden in a doc

Paths name :

1) from a file explorer :

/Stockage interne/Android/data/org.opencpn.opencpn/cache : 0
/Stockage interne/Android/data/org.opencpn.opencpn/files : 24
/Stockage interne/Android/data/org.opencpn.opencpn/files/opencpn.conf
/Stockage interne/Android/data/org.opencpn.opencpn/files/opencpn.log
or, with another files explorer :
/storage/emulated/legacy/Android/data/org.opencpn.opencpn/files/opencpn.conf
/storage/emulated/legacy/Android/data/org.opencpn.opencpn/files/opencpn.log
or, with opencpn (tab [About]) :
/storage/emulated/0/Android/data/org.opencpn.opencpn/files/opencpn.conf
/storage/emulated/0/Android/data/org.opencpn.opencpn/files/opencpn.log

I've seen :

/Stockage interne/Android/data/org.opencpn.opencpn/files/plugins/chartdldr_pi/data/ : 4
- chart_sources.xml
- libchartdldr_pi.so
- and 2 images


Stéphane
Attached Files
File Type: doc SMOX_conf-log_2.zip.doc (6.8 KB, 61 views)
SMOX is offline   Reply With Quote
Old 21-08-2015, 18:49   #57
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN for Android Beta test 4.1.818

SMOX...

Thanks for the logfiles.

Concerning Chart Downloader:
You are correct. The Chart Downloader PlugIn does not work correctly on this Beta if the OCPN app has been moved or installed to SDCard. It works fine with normal internal installation.

This will be fixed in a new Beta coming in a few days.

Thanks
Dave
bdbcat is online now   Reply With Quote
Old 23-08-2015, 00:27   #58
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,148
Re: OpenCPN for Android Beta test 4.1.818

Hi - Win build report:
The Windows build error in about.ccp now fixed. Ref: http://www.cruisersforum.com/forums/...ml#post1896231

The build error in VS2010 still remains. Ref: http://www.cruisersforum.com/forums/...ml#post1894867

Thanks
Håkan
Hakan is online now   Reply With Quote
Old 23-08-2015, 03:38   #59
Registered User

Join Date: Apr 2015
Posts: 5
Re: OpenCPN for Android Beta test 4.1.818

Hi, I can not select AIS alarm sound. I copied a wav file and explore to the folder but it doesn't work, No sound.

Good job!
alcapar is offline   Reply With Quote
Old 24-08-2015, 07:12   #60
Registered User

Join Date: Aug 2015
Location: France
Posts: 4
Re: OpenCPN for Android Beta test 4.1.818

Tablettte Android Sony Xperia Z2 5.1.1- internal GPS
3 problems found :
1) only SOG and COG displayed in the bottom window. It lacks the GPS coordinates of the boat and the cursor. ( see Pic)
2) The menu bar is incomplete (see pic)
3) frequent bottlenecks zoom +/-
But thank you for your efforts
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-08-22-17-57-35.jpg
Views:	162
Size:	217.1 KB
ID:	107871  
SANK is offline   Reply With Quote
Reply

Tags
enc, 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
OpenCPN for Android Beta test 4.1.530 bdbcat OpenCPN 203 07-05-2017 21:20
OpenCPN for Android Beta test 4.1.718 bdbcat OpenCPN 261 30-09-2016 01:00
OpenCPN for Android Beta test 4.1.705 bdbcat OpenCPN 79 25-07-2015 14:14
OpenCPN for Android Beta test 4.1.630 bdbcat OpenCPN 89 11-07-2015 01:39

Advertise Here


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


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.