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 07-12-2023, 15:28   #1
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
S63 Fingerprint issues

When I try to create a system identifier "fingerprint" I get an error.
Looking in the log file I see this :

10:16:13.965 MESSAGE s63chart.cpp:140 s63_pi: Checking OCPNsenc utility at {C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe}
10:16:13.966 ERROR utilsexc.cpp:873 Execution of command 'C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe -a' failed (error 0: The operation completed successfully.)
10:16:16.079 MESSAGE s63chart.cpp:173 s63_pi: Cannot execute OCPNsenc utility at
{C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe}
10:16:16.079 MESSAGE s63_pi.cpp:2833 s63_pi: OCPNsenc results:
10:16:16.079 MESSAGE s63_pi.cpp:2836 ERROR: s63_pi could not execute OCPNsenc utility

This happens on both 5.8 and 5.9 running on Win 11.
How can I fix this?

Thanks
Alan
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 07-12-2023, 17:43   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: S63 Fingerprint issues

I don't have a Windows machine at hand, but would probably bet a few beers on the space in your user name...
nohal is offline   Reply With Quote
Old 07-12-2023, 18:11   #3
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: S63 Fingerprint issues

Created a W11 VM and the space in username does not seem to be the actual problem, the fingerprint was created fine.
What strikes the attention in your log id the wrong file name of the OCPNsenc.exe tool, is the space before nc.exe really there or is it a product of you copy-pasting it?

Does C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe exist?
Can you run "C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe" -a from the cmd.exe console?

Attaching my log and what you should see running OCPNsenc.exe for reference
Attached Thumbnails
Click image for larger version

Name:	Pasted image.png
Views:	19
Size:	85.5 KB
ID:	284166   Click image for larger version

Name:	Pasted image 1.png
Views:	13
Size:	12.3 KB
ID:	284167  

nohal is offline   Reply With Quote
Old 07-12-2023, 18:24   #4
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

No that space isn't really there...
I tried to paste a snapshot here, but i can't do it..
But I confirm no space

13:18:35.390 MESSAGE s63chart.cpp:140 s63_pi: Checking OCPNsenc utility at {C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe}
13:18:35.391 ERROR utilsexc.cpp:873 Execution of command 'C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe -a' failed (error 0: The operation completed successfully.)
13:18:41.837 MESSAGE s63chart.cpp:173 s63_pi: Cannot execute OCPNsenc utility at
{C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe}
13:18:41.838 MESSAGE s63_pi.cpp:2833 s63_pi: OCPNsenc results:
13:18:41.838 MESSAGE s63_pi.cpp:2836 ERROR: s63_pi could not execute OCPNsenc utility
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 07-12-2023, 18:25   #5
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Yeah, it happens when I post the reply...it wasn;t there when I pasted it but now it is...
In the log it is as it should be...no space....
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 07-12-2023, 19:23   #6
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Quote:
Originally Posted by Albro359 View Post
Yeah, it happens when I post the reply...it wasn;t there when I pasted it but now it is...
In the log it is as it should be...no space....
Click image for larger version

Name:	<a title=OpenCPN error.jpg Views: 22 Size: 331.3 KB ID: 284169" style="margin: 2px" />
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 08-12-2023, 04:32   #7
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: S63 Fingerprint issues

If you open the cmd.exe console and run this command manually:
Code:
"C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNsenc.exe" -a
What happens?
nohal is offline   Reply With Quote
Old 08-12-2023, 13:03   #8
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Click image for larger version

Name:	cmd.png
Views:	35
Size:	35.1 KB
ID:	284185
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 08-12-2023, 13:07   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: S63 Fingerprint issues

Good, and with the -a parameter, does it output the version number?
nohal is offline   Reply With Quote
Old 08-12-2023, 13:09   #10
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Yes, Version 1.41
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 08-12-2023, 13:40   #11
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Click image for larger version

Name:	cmd1.png
Views:	22
Size:	43.3 KB
ID:	284198
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 08-12-2023, 13:42   #12
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: S63 Fingerprint issues

Can you check if running
Code:
echo %errorlevel%
right after the "C:\Users\Alan Leslie\AppData\Local\opencpn\plugins\s63_pi\OCPNse nc.exe" -a returns a zero?
It certainly should even on your system.

But looking at the plugin code, it seems it does not, because that is the only chance https://github.com/bdbcat/s63_pi/blo....cpp#L165-L167 gets to the error code branch...
nohal is offline   Reply With Quote
Old 08-12-2023, 13:47   #13
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Click image for larger version

Name:	cmd2.png
Views:	27
Size:	49.6 KB
ID:	284199
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 08-12-2023, 13:52   #14
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Click image for larger version

Name:	cmd3.jpg
Views:	27
Size:	104.3 KB
ID:	284200
__________________
See you out there ....... Alan S.V. Elyse
now https://svelyse.weebly.com
older https://voyagesofDIVA.weebly.com
Albro359 is offline   Reply With Quote
Old 08-12-2023, 13:57   #15
Registered User
 
Albro359's Avatar

Join Date: Jun 2009
Location: Elyse is in New Zealand
Boat: Amel Super Maramu 2000
Posts: 589
Re: S63 Fingerprint issues

Click image for larger version

Name:	cmd3.png
Views:	29
Size:	21.5 KB
ID:	284201
Albro359 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
OpenCPN reset fingerprint! Majewski OpenCPN 2 04-11-2020 04:40
opencpn on ubuntu oesenc error fingerprint creation metaiso OpenCPN 2 31-07-2019 06:25
Problem with osenc fingerprint file on RPI hedgehog OpenCPN 16 27-04-2019 02:35
Failure to generate fingerprint with arm64 build of oesenc_pi 1.7 sailorF54 OpenCPN 31 16-02-2018 09:44
oeSENC: Error on Fingerprint file creation Tanagra OpenCPN 17 29-05-2017 03:04

Advertise Here


All times are GMT -7. The time now is 21:31.


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.