Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-02-2016, 06:45   #1666
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 3,137
Re: Beta Test / Technical

Robert,

You can compress the log file into zip format then rename it opencpn.zip.doc. Then it should be small enough to upload with a message.

I don't think the Windows 7 is the problem either but the way to find the problem may be different for different operating systems (Mac, Linux, etc).
__________________

__________________
transmitterdan is online now   Reply With Quote
Old 28-02-2016, 07:02   #1667
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

tdan, et al...

If the the Settings icon is inaccessible, it means that an invalid PlugIn is trying to load. Delete the Plugins, except the 4 standard PlugiIns as provided by the installer, and O42 should start up ok. This is a known bug in 4.2. Logfile will so indicate PlugIn difficulty. Sounds like the BSB4 PlugIn is not really the latest.

Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 28-02-2016, 07:16   #1668
Registered User

Join Date: Sep 2010
Location: Baltic Sea
Boat: IW 31
Posts: 6
Re: Beta Test / Technical

Hi everybody.....hope this is the right place to ask


i have a raspberry pi 2 with ubuntu arm mate 15.10.1 installed. I compiled open cpn 4.2, it runs fine. Then i started to compile the plugins, starting with radar_pi. Compiling also no problem but how do i get opencpn to see the plugin now.

Hope this is not a redundant question....i can't get them from the repository i think. Maybe someone can point me to the right thread?

Thanx a lot Georg
__________________
betelnuss is offline   Reply With Quote
Old 28-02-2016, 07:20   #1669
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: Beta Test / Technical

Georg...
The beta PPA at https://launchpad.net/~nohal/+archiv...ncpn/+packages has all the plugin packages available for ARM as well.
If you compile locally, a
Code:
make install
should install the plugins to the right place, just make sure the installation prefix is the same as you used for the core program.

Pavel
__________________
nohal is offline   Reply With Quote
Old 28-02-2016, 07:24   #1670
Registered User

Join Date: Sep 2010
Location: Baltic Sea
Boat: IW 31
Posts: 6
Re: Beta Test / Technical

...thanx al lot Pavel
__________________
betelnuss is offline   Reply With Quote
Old 28-02-2016, 07:38   #1671
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,637
Re: Beta Test / Technical

Windows rtlsdr_pi v4.2.0 Plugins Download page
both the Link and Plugin are not working. Suggested to Pavel "Not Available" and test it with some users by upload to File Thingie.

Changed the url and downloaded plugin. Installed on Win10 Surface with Ov4.2. O loads. Click Settings and it hangs. Remove rtlsdr_pi and it runs fine. For me on Win10 machines, building from Sean's and Pavel's fork, I get the same problem. Also confirms what bdbcat said below about Settings.

Of course Norton calls navnux.org unsafe and I have to override Norton's removal of the plugin when downloaded. Have finally joined Norton Safeweb and filed a good website rating, but it still shows as malicious. Perhaps with others adding a rating and over time it will stop picking on OpenCPN.
__________________
rgleason is online now   Reply With Quote
Old 22-03-2016, 05:39   #1672
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,637
Re: Beta Test / Technical

I have been having difficulty with the formatting of menus in plugins in Windows10. A fair number of menus are formatted acceptably, but many are not. I have tried using wxFormBuilder to fix this, but sometimes the menu structure is so encapsulated I don't know what to do to get the Values to force the format larger. Also I think something has change about this since the change to wxWidgets 3.0.2 so that old plugins which are not following the new stricter rules are suffering, but this is just a suspicion. A few hints about how to use wxFormbuilder to fix these problems would be appreciated, as many of Sean's plugins suffer and he is not around and there are others, including some of Mike Rasbats. This involves released plugins and beta. Some users are noticing and complaining a little too.

I have considered that the problem might also be with my particular setup. Last year my Surfacepro3 had Win8 and was configured with a screen resolution somewhat less than the 2160-x1440 recommended, thinking it would save memory and make it faster and give me larger text too. At that time I had my text size set at 125%, now after upgrade to Win10 it is set at the recommended 2160x1440 and "text size, apps and other items" at 200%.

In OpenCPN Options > Display > Advanced Physical Screen Width is set to "Auto"
for v4.0 , v4.2 and v4.2.1

Should this be ok insofar as the use of Plugin Menus, such that formatting is not affected adversely?
__________________
rgleason is online now   Reply With Quote
Old 22-03-2016, 06:18   #1673
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: Beta Test / Technical

Rick...
Your problem is obvious - the 200% buttons and other widgets take too much space, please create tickets in the respective bugtrackers, if possible with the screenshots of the "broken" dialog attached to each of them so that the devs see what should be changed to make the layout work better in such a situation.

Thanks

Pavel
__________________
nohal is offline   Reply With Quote
Old 23-03-2016, 04:48   #1674
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,637
Re: Beta Test / Technical

Thanks Pavel. Will do that.
__________________
rgleason is online now   Reply With Quote
Old 16-04-2016, 03:19   #1675
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,637
Re: Beta Test / Technical

There will be more iterarions. -and work for you.
__________________
rgleason is online now   Reply With Quote
Old 16-04-2016, 10:18   #1676
Registered User

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

New Git update issue:
Win10, VS2013
Commit fb600f68c4d77...."Cause immediate jump to last known position on autofollow enable."
Causes "Auto follow" mode and "Look Ahead" mode to not work.

If I comment the line: "JumpToPosition(gLat, gLon, cc1->GetVPScale());" out both are working again.

Håkan
__________________
Hakan is offline   Reply With Quote
Old 17-04-2016, 05:18   #1677
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,637
Re: Beta Test / Technical

Has anyone heard from Sean? Where his is? etc?
__________________
rgleason is online now   Reply With Quote
Old 17-04-2016, 06:11   #1678
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,515
Re: Beta Test / Technical

Quote:
Originally Posted by Hakan View Post
New Git update issue:
Win10, VS2013
Commit fb600f68c4d77...."Cause immediate jump to last known position on autofollow enable."
Causes "Auto follow" mode and "Look Ahead" mode to not work.

If I comment the line: "JumpToPosition(gLat, gLon, cc1->GetVPScale());" out both are working again.

Håkan
Another one is the commit "Correct potential fault in bitmap depth conversion algorithm" which is a memory leak now.

Gerhard
Attached Thumbnails
Click image for larger version

Name:	MemoryLeak.png
Views:	86
Size:	122.2 KB
ID:	122747  
__________________
CarCode is offline   Reply With Quote
Old 17-04-2016, 21:57   #1679
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

@CarCode...

re:
Another one is the commit "Correct potential fault in bitmap depth conversion algorithm" which is a memory leak now.

Good catch. Fixed in github master now.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 18-04-2016, 03:54   #1680
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,515
Re: Beta Test / Technical

Quote:
Originally Posted by bdbcat View Post
@CarCode...

re:
Another one is the commit "Correct potential fault in bitmap depth conversion algorithm" which is a memory leak now.

Good catch. Fixed in github master now.

Thanks
Dave
Your fix:
Code:
     wxImage im_front = front.ConvertToImage();
-
+    unsigned char *pfront = im_front.GetData();
+    if(!pfront)
+        return wxNullBitmap;
+    
     unsigned char *presult = (unsigned char *)malloc(front.GetWidth() * front.GetHeight() * 3);
+    if(!presult)
+        return wxNullBitmap;
+    
     unsigned char *po_result = presult;
-    unsigned char *pfront = im_front.GetData();
 
-    if(!presult || !pfront)
-        return wxNullBitmap;
     
     unsigned char *afront = NULL;
     if( im_front.HasAlpha() )
My fix:
Code:
    unsigned char *pfront = im_front.GetData();

    if(!presult || !pfront){
+        free( po_result );
        return wxNullBitmap;
    }
    unsigned char *afront = NULL;
Why you don't like to free allocated memory once it is not used anymore?
Your code style is always a little bit strange to me.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:50.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.