openoffice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Evans <>
Subject Re: calc BeanShell script save gives "error saving script" window.
Date Sun, 03 Mar 2013 14:57:49 GMT
On 03/03/13 08:21, Ariel Constenla-Haile wrote:
> On Sun, Mar 03, 2013 at 08:10:41AM -0600, Larry Evans wrote:
>> So:
>> where it says gnome is required is wrong?  IOW, it should just
>> say libgtk2?
> Gnome is only a requirement for accessibility to work (via Orca), but
> you can use OpenOffice in any desktop environment as long as you have
> gtk2 libraries.
>>> What desktop environment do you have?
>> My os is ubuntu 10.04 LTS.  However, it appears I've also
>> got gnome because on my panel, when I select System,
>> it shows an "About Gnome" item.  What's confusing is
>> that synaptic shows gnome is not installed.
> If you have the default Ubuntu installation, then you already have all
> gtk2 libraries :)
>>> You
>>> don't need to install gnome, and sure you have gtk2 libraries already
>>> installed ;)
>> Yep, synaptic shows several packages installed with names
>> starting with libgtk2, in particular it shows:
>>   libgtk2.0-dev
> packages ending with *-dev are for development, you don't need them
> unless you are planning to develop with that library.
> Regards
Thanks.  I've downloaded:

and gunzipped and tar -xf the .tar.gz file.  This resulted in 2 directories:

  total used in directory 16 available 54485852
  drwxr-xr-x 4 evansl evansl 4096 Aug 18  2012 .
  drwxr-xr-x 3 evansl evansl 4096 Aug 18  2012 ..
  drwxr-xr-x 4 evansl evansl 4096 Aug 18  2012
  drwxr-xr-x 5 evansl evansl 4096 Aug 18  2012 openoffice.org3

In a terminal window, in directory:


I typed:


and the calc window opened.  I then put macros security at medium, and then
loaded the attached .ods file, and then created a macro containing the
previously attached NumberFive.bsh. I was able to save it this time;
when I tried to run it, I got an Error window with a pink octagon and red
X and the message:
   Sourced file: inline evaluation of : ``import; import;
i...": Not an array
So obviously it's not interpreting the file as java.  I've again attached
the file.  What am I doing wrong?




View raw message