Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-07-2019, 02:54   #1
Registered User
 
pinguino's Avatar

Join Date: May 2009
Location: SE Spain
Boat: Jeanneau SO 32I
Posts: 94
Lock file incorrect permissions issue

Lately whenever I build opencpn I encounter this error message when starting the opencpn executable. It happens on x86 and Rpi platforms. Does anyone know what's going on?

__________________

pinguino is offline   Reply With Quote
Old 01-09-2019, 13:39   #2
Marine Service Provider

Join Date: Oct 2012
Location: San Francisco Bay Area
Boat: Beneteau 43
Posts: 72
Re: Lock file incorrect permissions issue

same problem here. Brand new Dell XPS running Ubuntu 18. Cloned the opencpn.git repo , compiled and installed it without problems. Then getting the permission message every time I launch it
__________________

coupdemistral is offline   Reply With Quote
Old 01-09-2019, 22:58   #3
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,705
Re: Lock file incorrect permissions issue

When downloading the source/cloning which branch are you using?
The "master" is in development and not suited for general consumption.
Don't expect support if that is what you are using.
The branch to use is "v5.0.x".

Thomas
cagney is offline   Reply With Quote
Old 22-10-2019, 11:07   #4
Registered User

Join Date: Oct 2019
Location: Canada
Boat: Tracker, TargaV18, 19
Posts: 9
Re: Lock file incorrect permissions issue

Quote:
Originally Posted by cagney View Post
When downloading the source/cloning which branch are you using?
The "master" is in development and not suited for general consumption.
Don't expect support if that is what you are using.
The branch to use is "v5.0.x".

Thomas
Hello Thomas
I following these instructions https://opencpn.org/wiki/dokuwiki/do...ad_source_code

Is this the incorrect branch? I am experiencing the same challenges as the others above.
Kind regards
Peter
rastam4n is offline   Reply With Quote
Old 28-12-2019, 04:56   #5
Registered User

Join Date: Dec 2019
Posts: 5
Re: Lock file incorrect permissions issue

Hi, I have the same problem here. I am using the 5.0.522 version.

I did build the Debian version (I am using ChromeOS with the linux container), fixed some dependencies that were not there when compiling, and then I see this exact same error.

Did any of you find a solution? I tried doing chmod 777 to the folder, but I don't think thats the issue.

Thanks!
AmericadelSur is offline   Reply With Quote
Old 28-12-2019, 06:08   #6
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,705
Re: Lock file incorrect permissions issue

I think I found a way around this, thanks to starting an old Linux box......
OpenCPN does indeed create a lock-file in your home directory called "OpenCPN"

If you already have a file/folder called "OpenCPN" in your home directory, you get this message. At least on Linux, just click OK and go on, as nothing stops you from running multiple instances of O. Windows is a different story.

So the workaround is to rename your file/folder, called OpenCPN, to something else.

It is a bit strange to use a lock-file called "OpenCPN" in the users $HOME. I'll try to make sure this goes away to the next release, somehow...

Thomas
cagney is offline   Reply With Quote
Old 28-12-2019, 07:42   #7
Registered User

Join Date: Dec 2019
Posts: 5
Re: Lock file incorrect permissions issue

Thomas, thank you very much. As you said, I do have the OpenCPN directory, which has the OpenCPN build.

I renamed the folder and everything is working smoothly now. THANK YOU!
AmericadelSur is offline   Reply With Quote
Old 28-12-2019, 17:25   #8
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,053
Re: Lock file incorrect permissions issue

It is fixed for the next release.
__________________

transmitterdan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Lock Léopard 45 - door lock FRANCOIS LECOMT Multihull Sailboats 0 08-11-2018 08:24
Balmar alt/reg issue - Incorrect Field Voltage markperil Electrical: Batteries, Generators & Solar 26 15-12-2014 19:37
Steering wheel turns lock to lock GILow Construction, Maintenance & Refit 32 24-02-2013 01:19
Lock & Lock vs Lock-it - Thoughts ? avb3 Provisioning: Food & Drink 7 14-07-2011 01:30
Permissions US to BVI wildshore Atlantic & the Caribbean 7 09-05-2010 21:04

Advertise Here


All times are GMT -7. The time now is 14:48.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.