Bug 66316

Summary: Bookmarks Menu Extension crashes
Product: LibreOffice Reporter: ribotb <ribotb>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: jbfaure, michael.meeks, serval2412
Version: 4.1.0.1 rc   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description ribotb 2013-06-28 10:48:47 UTC
Hi,

Bookmarks Menu Extension version 0.6.2:

When I click on "Edit bookmarks", the extension crashes with this message :

"Erreur d'exécution BASIC
Une exception s'est produite :
Type : com.sun.star.lang.IllegalArgumentException
Message : ." 

in :

Macro : mytools_bookmarksMenu
Module : module1
Instruction : oBKTree.expandNode(oRootNode) ' expand top node 

My configuration: LO 4.1.0.1 under Windows 7 x86.
I use my profile from LO 4.0.4.

When using a new profile and re-installing Bookmarks Menu Extension, extension, although activated, does not appear in the menu bar !

Bernard
Comment 1 Ysabeau 2013-06-28 11:38:56 UTC
Windows vista SP2 and same versions of LibO and Bookmarks Menu Extension.

1- When I want to add a new files, I have this message:

'NoneType' object has no attribute 'write

2- When I click "Edit bookmarks": nothing happens.

I still open the documents marked before (profiles LibO 4.04).
Comment 2 ribotb 2013-06-28 12:19:36 UTC
I forgot to say:
With my old profile (LO 4.0?4) 
- Access to a document already marked is OK,
- Add a new bookmark is OK.

Only "Edit bookmarks" crashes.
Comment 3 Ysabeau 2013-06-28 13:40:28 UTC
(In reply to comment #1)
> Windows vista SP2 and same versions of LibO and Bookmarks Menu Extension.
> 
> 1- When I want to add a new files, I have this message:
> 
> 'NoneType' object has no attribute 'write
> 
> 2- When I click "Edit bookmarks": nothing happens.
> 
> I still open the documents marked before (profiles LibO 4.04).
Comment 4 Ysabeau 2013-06-28 13:41:11 UTC
Same problem with the last version 1.0.9.
Comment 5 Julien Nabet 2013-06-28 20:50:34 UTC
ribotb: according to http://extensions.openoffice.org/fr/project/bookmarksmenu, it WOULD be compatible with LO 4.0 from 1.0.8
you should use last version 1.0.9 as Ysabeau did and try again to see if there's still some crashes.
Comment 6 ribotb 2013-07-08 16:19:58 UTC
Hi,
Sorry for the delay.
I installed version 1.0.9 in a new profile. Whenever I want to mark a document I get the following error message:
'NoneType' object has no attribute 'write'
Regards,
Bernard
Comment 7 Julien Nabet 2013-07-21 07:13:31 UTC
Ribotb: thank you for your feedback, I put it back to Unconfirmed.

Michael: I noticed that the crash isn't reproduced, should we change the title of this bugtracker since there's still a problem or should we close this one and ask to fill a new one?
Comment 8 Jean-Baptiste Faure 2013-08-15 16:20:32 UTC
I tried this extension (version 1.0.9) with LO 4.1.2.0.0+ (Build ID: 9c0b035c617b0ee4095e673e756d0a93df7864a) and master under Ubuntu 12.04 x86-64. Installation worked as expected.
Extension seems to work well. I edited the bookmarks (entry Edit bookmarks in the Bookmark additional menu) but LO crashes when I close the dialog. I am not sure if there is a problem in the source code of the extension, but it is clear that LO should not crash.
The error message in the terminal is: 
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
Not sure if it is the same problem or has the same root cause.

Best regards. JBF
Comment 9 Jean-Baptiste Faure 2013-12-13 15:55:17 UTC
Please could report problems with this extension to its developer: http://extensions.openoffice.org/fr/project/bookmarksmenu

A priori the problem is on the extension side. So closing as NotOurBug

Please, feel free to reopen if there is clear argument in favor of a LibreOffice bug.
If the extension works in AOO is not enough as argument because of API changes between both AOO and LibreOffice.

Best regards. JBF

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.