BASIC execution error property or method not found

Hi,

I have installed in ubuntu 8.01, Open Office 3.01 zootero 1.0.10 and the OO extension v1.0b4, when I try to inserta a citation or bibliography or any of the buttons, this error message appears:

BASIC execution error, property or method not found

and a window with the code opens:


Function fnRangeComp(m1, m2) as boolean
'Needed for the sort routine in OOo to get marks in correct order.
Dim oR1, oR2, nLT1 as Integer, nLT2 as Integer

oR1 = fnMarkRange(m1)
oR2 = fnMarkRange(m2)
nLT1 = fnLocationType(oR1)
nLT2 = fnLocationType(oR2)
if nLT1 > nLT2 then
fnRangeComp = true
elseif nLT1 < nLT2 then
fnRangeComp = false
elseif nLT1 = ZOTERO_MAIN then
fnRangeComp = thisComponent.Text.compareRegionStarts(oR1, oR2) > 0
else

nLT1 = oR1.Text.ReferenceId <------------------- This is the offending line
nLT2 = oR2.Text.ReferenceId
fnRangeComp = nLT1 < nLT2
end If
End Function


The problem only arises when I am working with a document created by the previous version of OO 2.4. If I create a new document the plugin works without problems.

I generated a report problem ID 575023207

thanks
  • I found that the problem was caused by a reference inside a frame, I deleted this reference and everything works OK.
  • edited June 2, 2009
    I'm not sure if this is fixable, but I've added it to the troubleshooting page. Thanks.
  • I've just had the same problem. I had some references within a table and when I attempted to insert a citation anywhere else in the document, I got the BASIC execution error. I converted the table to text, and the error disappeared.
    Mario
Sign In or Register to comment.