Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-04-2012, 12:41   #211
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Gilltarom,

your file is now available at github.

best regards,
konni
__________________

__________________
konni is offline   Reply With Quote
Old 12-04-2012, 04:34   #212
Registered User

Join Date: Sep 2011
Posts: 16
Re: Logbook Konni for OpenCPN

Hello Konni,

I just tried the logbook (0.915) with OCPN (2.6.1524), it worked nice till i edited a template (Label_Boat and Equipment.odt) change the boat image and save it with a new name. Now i get the attached error when i try to view it again in ODT format, there is no error in HTML.
In english the error says :
reading error
format error in the file of the subdocument content.xml at position 12,2716 (row,col).

I get the same error when i try to view the original template and all the templates regarding "boat" but the Label_Eqipment Only.

Can you help ?

Best regards
Attached Thumbnails
Click image for larger version

Name:	error.jpg
Views:	75
Size:	17.4 KB
ID:	39857  
__________________

__________________
Zorg is offline   Reply With Quote
Old 12-04-2012, 05:38   #213
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Zorg,

i'm sorry that i doesn't work and i'll do my best to correct the bug.
i made a few tests, but i cannot reproduce the bug.

what program do you use to edit the template ?
can you please upload the not working files ? (the layouts you created)
Did you store the new created layout with a new name ?
e.g. My_layout.odt

if you have stored the new layout with the same name the original
layout template is overwritten.
to get the original templates back run the plugin-installer again.
(LogbookKonni-0_915Setup.exe)

i can tell you more, when your odt-files are uploaded.

best reagrds,
konni
__________________
konni is offline   Reply With Quote
Old 12-04-2012, 06:56   #214
Registered User

Join Date: Sep 2011
Posts: 16
Re: Logbook Konni for OpenCPN

Thanks for answering Konni,

I done the following :
- edit (E button) the original .odt file,
- the file opens in open office 3 writer
- suppress the Catalina image
- save under new name -> file joined (.odt renamed in .doc)

Till this moment the original and new file can be both Edited but not viewed in ODT (no problem with HTML).
All templates regarding boat cannot be viewed but "eqipment only", in crew, there is no viewing problem.

Regards
Zorg
Attached Files
File Type: doc Blues+equipement+equipage.doc (15.5 KB, 34 views)
__________________
Zorg is offline   Reply With Quote
Old 12-04-2012, 07:07   #215
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Zorg,

i think you saved the file in doc-format not in odt-format.

to change the image follow these steps:

  1. select the layout in the dropdown-box
  2. hit the edit button
  3. check in the dialog 'edit layout' is preselected
  4. click ok
  5. in openoffice/libreoffice select "save as" (Important !) and fill in a new name (e.g. My_layout.odt), make sure that the datatype ODT is selected
  6. click in the logbook-plugin the reload-button
  7. select My_layout in the dropdown-box
  8. in openoffice/libreoffice select and delete the image
  9. insert your image (see BackImage)
  10. place it in the background and modify the size (see BackImage1/2)
  11. click the save button
  12. click in the logbook-plugin the view-button
please let me know if it works now.


best reagrds,
konni
Attached Thumbnails
Click image for larger version

Name:	BackImage.PNG
Views:	84
Size:	382.3 KB
ID:	39860   Click image for larger version

Name:	BackImage1.PNG
Views:	70
Size:	202.4 KB
ID:	39861  

Click image for larger version

Name:	BackImage2.jpg
Views:	79
Size:	180.1 KB
ID:	39862  
__________________
konni is offline   Reply With Quote
Old 12-04-2012, 07:40   #216
Registered User

Join Date: Sep 2011
Posts: 16
Re: Logbook Konni for OpenCPN

I am sure the new saved file was in .odt, i just rename it to join it because .odt is not uploadable.

But anyway, i did exactly what you asked me to do and the result is the same. New file joined renamed in .doc again.

I am afraid that when the error came one time, it will be forever since completly de-installing the plugin and opencpn and re-install in a new folder, i tried it yesterday, it worked again till i edit the template and it's gone for the viewing error
Attached Files
File Type: doc Blues+equipement+equipage.doc (38.2 KB, 33 views)
__________________
Zorg is offline   Reply With Quote
Old 12-04-2012, 08:38   #217
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

i renamed your files to odt and as you can see in the attached
image they are viewable (the first file you send also).
no error occurs with OO (3.3) and LibreOffice.

i wish i could help you, but slowly i run out of ideas.

give me a bit time
konni
Attached Thumbnails
Click image for larger version

Name:	zorg.jpg
Views:	89
Size:	182.2 KB
ID:	39868  
__________________
konni is offline   Reply With Quote
Old 12-04-2012, 09:35   #218
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello to all,

i have the problem to reproduce the bug Zorg has found.

has someone the same error when followed the instructions in my post #215 ?
do you get a error with the file in post #216 (rename doc to odt) ?

thanks in advance
konni
__________________
konni is offline   Reply With Quote
Old 12-04-2012, 10:21   #219
Registered User

Join Date: Sep 2011
Posts: 16
Re: Logbook Konni for OpenCPN

Hello Konni,

As you could view my file i suspected my oo 3.3 install, so i supress it and load/install a new one and get always the same problem.
But don't worry to much about it, i'll use HTML instead of ODT.

Regards,
Zorg
__________________
Zorg is offline   Reply With Quote
Old 12-04-2012, 10:33   #220
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Zorg,

if you found a bug, somebody will have the same problem.

but i'm only able to fix it when i locate the bug.
let's wait and see, if other users send a reply.

best regards,
konni
__________________
konni is offline   Reply With Quote
Old 12-04-2012, 16:24   #221
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: Logbook Konni for OpenCPN

Hello Konni,

And now, our last version of french file language for logbook_916

Best regards

Gilletarom.
Attached Files
File Type: doc French_file_opencpn-logbookkonni_pi_0916.zip.doc (20.7 KB, 23 views)
__________________
Gilletarom is offline   Reply With Quote
Old 13-04-2012, 02:23   #222
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Gilletarom,

your file is uploaded to GitHub.
in the upcomming 0.917 it'll be in the windows-installer, too.

BTW you are the right man to help me finding a bug, because
you have a complete frensh OS environment.

if you follow the instructions in post #215, do you have the same problem like Zork posted ?
If you download and install the file (post #216) in ODTLayouts/Boat (rename doc to odt), can you display it by clicking the View-button ?
in case you get a error like Zorg, can you send me your file 'boat.odt' (it's created in the data directory) ?

this would be very helpful. i know my program and if i test the plugin
i always use the same steps and get the correct result.
when i can't reproduce the bug it's like wandering in the dark.

best regards,
konni
__________________
konni is offline   Reply With Quote
Old 13-04-2012, 02:28   #223
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Zorg,

two questions:

what OS do you use ?
can you send me the your file 'boat.odt' ?

thank's in advance,
konni
__________________
konni is offline   Reply With Quote
Old 13-04-2012, 05:56   #224
Registered User

Join Date: Sep 2011
Posts: 16
Re: Logbook Konni for OpenCPN

Hello Konni,

I use W7 family edition premium on a PIII processor based laptop.

I joined my file boat.odt (renamed in .doc), by the way i tried to double-click on it to open with OO3.3 and get the opening message errror ...

I installed open cpn and your plugin on an other pc (W7 too) and cannot reproduce the problem ...

Regards
Zorg
Attached Files
File Type: doc boat.doc (38.1 KB, 34 views)
__________________
Zorg is offline   Reply With Quote
Old 13-04-2012, 06:06   #225
Registered User

Join Date: Sep 2011
Posts: 205
Re: Logbook Konni for OpenCPN

Hello Zork,

to understand clear, only the PIII makes trouble ?

the file boat.odt doesn't open here in OO and Libreoffice, too.
i compare now this file with a working boat.odt.

this takes a bit time
konni
__________________

__________________
konni is offline   Reply With Quote
Reply

Tags
opencpn

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
Logbook Plug-in SethDart OpenCPN 98 10-01-2013 12:47
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.