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 20-06-2018, 06:30   #901
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by Schnapsy View Post
After sending my previous message, I change the settings in O from the French language to the English language and ....

IT WORKS !

You have seen right, Peter, the problem is the settings (french vs uk).
However, the rounding is done to the second decimal (0.28 => 0.30) but it is a simulation of consumption, so it is not too important.

But how to solve this configuration problem ?

The rounding problem is a bug, solved in v1.3006.
I have to look into the locale problem. I tried to setup my computer to locale Netherlands as it seems also to set the comma i.s.o. decimal point, but on this Imac computer I don't see the problem.
I keep on looking.


Peter
ptulp is offline   Reply With Quote
Old 03-07-2018, 02:56   #902
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Logbook Konni for OpenCPN

So what's a good way to get the latest version onto a raspberry pi? It didn't like the amd64 deb (no surprise).
Looks like it needs a full opencpn compile to get the plugin to compile as well? Unless someone has a .deb file they could share?

Latest in the repository is V.2024

pi@openplotter:~/temp $ apt-cache policy opencpn-plugin-logbookkonni
opencpn-plugin-logbookkonni:
Installed: 1.2024-0~xenial1
Candidate: 1.2024-0~xenial1
Version table:
*** 1.2024-0~xenial1 500
500 Index of /opencpn/opencpn/ubuntu xenial/main armhf Packages
100 /var/lib/dpkg/status
conachair is offline   Reply With Quote
Old 03-07-2018, 04:18   #903
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Logbook Konni for OpenCPN

OK, actually reading the compile intructions on git, looks like you can compile just the logbook >
https://github.com/ptulp/LogbookKonni_pi

So I downloaded >
sudo git clone https://github.com/ptulp/LogbookKonni_pi.git LogbookKonni_pi

Didn;t work first time grumpy about wxwidgets so from another thread >
http://www.cruisersforum.com/forums/...ml#post2615856

Quote:
sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev
and added the line in CMakeList.txt>
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

cmake seems to work OK but build looks like it hangs >>

Quote:
pi@openplotter:~/compile/LogbookKonni_pi/build $ sudo cmake ..
-- *** Staging to build logbookkonni_pi ***
-- Found OpenGL...
-- Lib: /usr/lib/arm-linux-gnueabihf/libGLU.so/usr/lib/arm-linux-gnueabihf/libGL.so
-- Include: /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/compile/LogbookKonni_pi/build
pi@openplotter:~/compile/LogbookKonni_pi/build $ sudo cmake --build .
[ 0%] logbookkonni_pi_Languages.zip: Done.
[ 28%] Built target logbookkonni_pi_Languages.zip
[ 28%] logbookkonni_pi-i18n: Done.
[ 56%] Built target logbookkonni-i18n
[ 56%] Building CXX object CMakeFiles/logbookkonni_pi.dir/src/LogbookDialog.cpp.o
/home/pi/compile/LogbookKonni_pi/src/LogbookDialog.cpp: In destructor ‘virtual LogbookDialog::~LogbookDialog()’:
/home/pi/compile/LogbookKonni_pi/src/LogbookDialog.cpp:2490:12: warning: deleting object of polymorphic class type ‘Maintenance’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
delete maintenance; //still a warning with Mac OS C Xcode here: "Delete called on 'Maintenance' that has virtual functions but non-virtual destructor"
^~~~~~~~~~~
Any ideas anyone?

Thanks, great plugin
conachair is offline   Reply With Quote
Old 03-07-2018, 04:52   #904
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Logbook Konni for OpenCPN

I was too hasty, forgot the Pi can take forever to compile and look dead as it does



[100%] Built target logbookkonni_pi

Just need to find the file now....
conachair is offline   Reply With Quote
Old 03-07-2018, 05:29   #905
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by conachair View Post
I was too hasty, forgot the Pi can take forever to compile and look dead as it does



[100%] Built target logbookkonni_pi

Just need to find the file now....
Up and running, just copy the file>
/home/pi/compile/LogbookKonni_pi/build/liblogbookkonni_pi.so

to >

/usr/lib/opencpn

(After backing up the older version in there just in case)
conachair is offline   Reply With Quote
Old 10-07-2018, 06:38   #906
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Logbook Konni for OpenCPN

How to build under CPN 4.99 (windows)?
Baikal is offline   Reply With Quote
Old 27-08-2018, 00:30   #907
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 320
Re: Logbook Konni for OpenCPN

has anyone developed further different html templates for e.g crewlist , logbook print etc and is able to share them?
I am struggling with customizing the html templates as I dont know the internal field names and my html formatting skills are poor.

Thanks for help!
skipperearly is offline   Reply With Quote
Old 28-08-2018, 07:10   #908
Registered User

Join Date: May 2012
Posts: 1,207
Re: Logbook Konni for OpenCPN

Baikal ...

No time to upload the files but a Windows installer is here:
https://github.com/Rasbats/OpenCPN-4...eases/tag/v0.0

Would appreciate some testing as I had to make a number of edits due to the many changes for wxGrid.

Mike
Rasbats is offline   Reply With Quote
Old 28-08-2018, 08:40   #909
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by Rasbats View Post
Baikal ...

No time to upload the files but a Windows installer is here:
https://github.com/Rasbats/OpenCPN-4...eases/tag/v0.0

Would appreciate some testing as I had to make a number of edits due to the many changes for wxGrid.

Mike
very much waiting for the new files to build
take the time please
Baikal is offline   Reply With Quote
Old 28-08-2018, 23:51   #910
Registered User

Join Date: May 2012
Posts: 1,207
Re: Logbook Konni for OpenCPN

Baikal ...

My fork of deletbabel/LogbookKonni-1.2 for OpenCPN 4.99.

https://github.com/Rasbats/LogbookKonni-1.2

Version number has been left at 1.3006.

Mike
Rasbats is offline   Reply With Quote
Old 28-08-2018, 23:58   #911
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by Rasbats View Post
Baikal ...
My fork of deletbabel/LogbookKonni-1.2 for OpenCPN 4.99.
https://github.com/Rasbats/LogbookKonni-1.2
Version number has been left at 1.3006.
Mike
Thanks!
Baikal is offline   Reply With Quote
Old 30-08-2018, 03:33   #912
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 320
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by skipperearly View Post
has anyone developed further different html templates for e.g crewlist , logbook print etc and is able to share them?
I am struggling with customizing the html templates as I dont know the internal field names and my html formatting skills are poor.

Thanks for help!
have spent some more efforts to modify layouts and wish to use ODT files.
There must be some bug in the setting for the patch of the editors.
see attached - the ODT entry is within " ... " - all the others without.
In the ini file it then looks like this:

HTMLEditor=C:\\Program Files (x86)\\KompoZer\\kompozer.exe
ODTEditor="\"C:\\Program Files\\LibreOffice\\program\\soffice.exe\" -o"
DataManager=explorer.exe /select,
MailClient=C:\\Program Files (x86)\\Mozilla Thunderbird\\thunderbird.exe

have tried all variations with/-out "" in ODTEEditor setting without success. Libreoffice just doesnt get executed from the plugin.

Am I overlooking something?
Attached Thumbnails
Click image for larger version

Name:	Screenshot (12).jpg
Views:	232
Size:	381.3 KB
ID:	176437  
skipperearly is offline   Reply With Quote
Old 30-08-2018, 06:11   #913
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 245
Images: 3
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by skipperearly View Post
have spent some more efforts to modify layouts and wish to use ODT files.
There must be some bug in the setting for the patch of the editors.
see attached - the ODT entry is within " ... " - all the others without.
In the ini file it then looks like this:

Am I overlooking something?

the quotation marks ( " ") don't count.

Instead of "/.../.../soffice.exe", try "/.../.../swriter.exe"...

It works, see attached files (in french, sorry)
Attached Files
File Type: pdf logbook2.odt.pdf (34.6 KB, 44 views)
Schnapsy is offline   Reply With Quote
Old 02-09-2018, 00:01   #914
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 320
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by Schnapsy View Post
the quotation marks ( " ") don't count.

Instead of "/.../.../soffice.exe", try "/.../.../swriter.exe"...

It works, see attached files (in french, sorry)
Mercie - Schapsy! - got it finally to work with swriter. Is however very fragile with the [[ ]] and {{ }} settings.
Good thing is that I now found also all the internal field names in the xx_maximal templates. Will amend my request #2247 in tracker.
skipperearly is offline   Reply With Quote
Old 03-09-2018, 07:50   #915
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Logbook Konni for OpenCPN

Ptulp update to Logbook Konni 1.3006 for
Windows - O4.8.4 and O4.8.6

Peter may add to his releases.
rgleason is offline   Reply With Quote
Reply

Tags
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
Logbook Plug-in SethDart OpenCPN 113 04-06-2022 11:21
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 08:11.


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.