Re: unexpected location for user/Scripts (was Re: calc BeanShell script save gives "error saving script" window.

2013-03-05 Thread Ariel Constenla-Haile
Hi Larry, On Tue, Mar 05, 2013 at 11:14:56AM -0600, Larry Evans wrote: > > I went through most of the steps in the tutorial, and now I'm at the > > place with: > > > > in Linux > > /home/user_name/.openoffice.org/3/user/Scripts/java/HelloWorld > > > > I happen to have other scrip

Re: unexpected location for user/Scripts (was Re: calc BeanShell script save gives "error saving script" window.

2013-03-05 Thread Larry Evans
On 03/05/13 10:53, Larry Evans wrote: > On 03/04/13 08:31, Ariel Constenla-Haile wrote: > [snip] >> About debugging Java stuff, if you are planning to use BeansShell, >> you should think about using an IDE to write your code, the "editor" >> that shows up when you press "Edit" in the Script Organiz

unexpected location for user/Scripts (was Re: calc BeanShell script save gives "error saving script" window.

2013-03-05 Thread Larry Evans
On 03/04/13 08:31, Ariel Constenla-Haile wrote: [snip] > About debugging Java stuff, if you are planning to use BeansShell, > you should think about using an IDE to write your code, the "editor" > that shows up when you press "Edit" in the Script Organizer is > rather suboptimal. There seems to be

Re: calc BeanShell script save gives "error saving script" window.

2013-03-04 Thread Larry Evans
On 03/04/13 13:05, Larry Evans wrote: > On 03/04/13 12:33, Ariel Constenla-Haile wrote: >> On Mon, Mar 04, 2013 at 09:15:30AM -0600, Larry Evans wrote: >>> And after enabling macros, got window entitled "OpenOffice.org error" >>> with body >>> contains yellow triangle with ! in middle and text: >>>

Re: calc BeanShell script save gives "error saving script" window.

2013-03-04 Thread Larry Evans
On 03/04/13 12:33, Ariel Constenla-Haile wrote: > On Mon, Mar 04, 2013 at 09:15:30AM -0600, Larry Evans wrote: >> And after enabling macros, got window entitled "OpenOffice.org error" >> with body >> contains yellow triangle with ! in middle and text: >> >> A Scripting Framework error occurred wh

Re: calc BeanShell script save gives "error saving script" window.

2013-03-04 Thread Ariel Constenla-Haile
On Mon, Mar 04, 2013 at 09:15:30AM -0600, Larry Evans wrote: > And after enabling macros, got window entitled "OpenOffice.org error" > with body > contains yellow triangle with ! in middle and text: > > A Scripting Framework error occurred while running the BeanShell > script Library1.Macro1.b

Re: calc BeanShell script save gives "error saving script" window.

2013-03-04 Thread Larry Evans
On 03/04/13 08:31, Ariel Constenla-Haile wrote: > On Mon, Mar 04, 2013 at 07:59:57AM -0600, Larry Evans wrote: >> On 03/03/13 17:50, Ariel Constenla-Haile wrote: >>> Hi, >>> >>> On Sun, Mar 03, 2013 at 12:09:25PM -0600, Larry Evans wrote: // Debug: Invoking method (after massaging values): pub

Re: calc BeanShell script save gives "error saving script" window.

2013-03-04 Thread Ariel Constenla-Haile
On Mon, Mar 04, 2013 at 07:59:57AM -0600, Larry Evans wrote: > On 03/03/13 17:50, Ariel Constenla-Haile wrote: > > Hi, > > > > On Sun, Mar 03, 2013 at 12:09:25PM -0600, Larry Evans wrote: > >> // Debug: Invoking method (after massaging values): public static > >> java.lang.Object > >> com.sun.star.

Re: calc BeanShell script save gives "error saving script" window.

2013-03-04 Thread Larry Evans
On 03/03/13 17:50, Ariel Constenla-Haile wrote: > Hi, > > On Sun, Mar 03, 2013 at 12:09:25PM -0600, Larry Evans wrote: >> // Debug: Invoking method (after massaging values): public static >> java.lang.Object >> com.sun.star.uno.UnoRuntime.queryInterface(java.lang.Class,java.lang.Object) >> with tmp

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Ariel Constenla-Haile
Hi, On Sun, Mar 03, 2013 at 12:09:25PM -0600, Larry Evans wrote: > // Debug: Invoking method (after massaging values): public static > java.lang.Object > com.sun.star.uno.UnoRuntime.queryInterface(java.lang.Class,java.lang.Object) > with tmpArgs: > // Debug: tmpArgs[0] = interface com.sun.star.fra

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 10:33, Larry Evans wrote: > On 03/03/13 10:01, Ariel Constenla-Haile wrote: > [snip] >> This file as a macro that runs fine: >> http://people.apache.org/~arielch/api/BeanShell.ods > After downloading that file, I opened it and got an "OpenOffice.org > Error" with text: > > Message: S

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 10:01, Ariel Constenla-Haile wrote: [snip] > This file as a macro that runs fine: > http://people.apache.org/~arielch/api/BeanShell.ods After downloading that file, I opened it and got an "OpenOffice.org Error" with text: Message: Sourced file: inline evaluation of: ``/

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 10:01, Ariel Constenla-Haile wrote: > On Sun, Mar 03, 2013 at 08:57:49AM -0600, Larry Evans wrote: >> 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.bs

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Ariel Constenla-Haile
On Sun, Mar 03, 2013 at 08:57:49AM -0600, Larry Evans wrote: > 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; > however, > whe

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 08:57, Larry Evans wrote: [snip] > and then loaded the attached .ods file OOPS. Forgot the .ods file. It's attached here: simple_script.ods Description: application/vnd.oasis.opendocument.spreadsheet - To unsubsc

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 08:21, Ariel Constenla-Haile wrote: > On Sun, Mar 03, 2013 at 08:10:41AM -0600, Larry Evans wrote: >> So: >> >> http://www.openoffice.org/dev_docs/source/sys_reqs_aoo34.html >> >> where it says gnome is required is wrong? IOW, it should just >> say libgtk2? > Gnome is only a requirem

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Ariel Constenla-Haile
On Sun, Mar 03, 2013 at 08:10:41AM -0600, Larry Evans wrote: > So: > > http://www.openoffice.org/dev_docs/source/sys_reqs_aoo34.html > > 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 u

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 07:57, Ariel Constenla-Haile wrote: > On Sun, Mar 03, 2013 at 07:51:17AM -0600, Larry Evans wrote: >> On 03/03/13 06:59, Ariel Constenla-Haile wrote: >>> On Sun, Mar 03, 2013 at 06:32:51AM -0600, Larry Evans wrote: I found gnome was needed; however, when I tried to install gno

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Ariel Constenla-Haile
On Sun, Mar 03, 2013 at 07:51:17AM -0600, Larry Evans wrote: > On 03/03/13 06:59, Ariel Constenla-Haile wrote: > > On Sun, Mar 03, 2013 at 06:32:51AM -0600, Larry Evans wrote: > >> I found gnome was needed; however, when I tried to install > >> gnome2.28, I had an unresolvable dependency between >

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/03/13 06:59, Ariel Constenla-Haile wrote: > On Sun, Mar 03, 2013 at 06:32:51AM -0600, Larry Evans wrote: >> I found gnome was needed; however, when I tried to install >> gnome2.28, I had an unresolvable dependency between >> packages; hence, I'm stuck with the OpenOffice I've got >> or at lea

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Ariel Constenla-Haile
On Sun, Mar 03, 2013 at 06:32:51AM -0600, Larry Evans wrote: > I found gnome was needed; however, when I tried to install > gnome2.28, I had an unresolvable dependency between > packages; hence, I'm stuck with the OpenOffice I've got > or at least the one that's provided by my package manager, > sy

Re: calc BeanShell script save gives "error saving script" window.

2013-03-03 Thread Larry Evans
On 03/02/13 16:48, Ariel Constenla-Haile wrote: > Hi Larry, > > On Sat, Mar 02, 2013 at 03:46:42PM -0600, Larry Evans wrote: >> The script is attached. >> >> The OpenOffice version is(from the about button): >> >> OpenOffice.org 3.2.0 >> OOO320m12 (Build:9483) > > This is too old. > >> The OS is: >

Re: calc BeanShell script save gives "error saving script" window.

2013-03-02 Thread Ariel Constenla-Haile
Hi Larry, On Sat, Mar 02, 2013 at 03:46:42PM -0600, Larry Evans wrote: > The script is attached. > > The OpenOffice version is(from the about button): > > OpenOffice.org 3.2.0 > OOO320m12 (Build:9483) This is too old. > The OS is: > > Linux evansl-desktop 2.6.32-41-generic #90-Ubuntu SMP Tue