From users-return-4221-apmail-openoffice-users-archive=openoffice.apache.org@openoffice.apache.org Mon Mar 4 19:18:45 2013 Return-Path: X-Original-To: apmail-openoffice-users-archive@www.apache.org Delivered-To: apmail-openoffice-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 227A195EE for ; Mon, 4 Mar 2013 19:18:45 +0000 (UTC) Received: (qmail 2306 invoked by uid 500); 4 Mar 2013 19:18:44 -0000 Delivered-To: apmail-openoffice-users-archive@openoffice.apache.org Received: (qmail 2278 invoked by uid 500); 4 Mar 2013 19:18:44 -0000 Mailing-List: contact users-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openoffice.apache.org Delivered-To: mailing list users@openoffice.apache.org Received: (qmail 2270 invoked by uid 99); 4 Mar 2013 19:18:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 19:18:44 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.180.40.75] (HELO txasav-vm06.suddenlink.net) (208.180.40.75) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 19:18:37 +0000 Received: from [192.168.1.2] (really [74.192.40.248]) by txasav-vm06.suddenlink.net (InterMail vM.8.04.01.08 201-2343-100-153-20121108) with ESMTP id <20130304191611.UPFL21381.txasav-vm06.suddenlink.net@[192.168.1.2]> for ; Mon, 4 Mar 2013 13:16:11 -0600 Message-ID: <5134F376.6080605@suddenlink.net> Date: Mon, 04 Mar 2013 13:18:14 -0600 From: Larry Evans User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: users@openoffice.apache.org Subject: Re: calc BeanShell script save gives "error saving script" window. References: <513359E1.5020805@suddenlink.net> <20130303142121.GE29551@localhost> <513364ED.6030602@suddenlink.net> <20130303160129.GF29551@localhost> <51337B62.5050100@suddenlink.net> <513391D5.9030801@suddenlink.net> <20130303235054.GG29551@localhost> <5134A8DD.6010008@suddenlink.net> <20130304143159.GH29551@localhost> <5134BA92.20806@suddenlink.net> <20130304183356.GA3362@localhost> <5134F05C.6080800@suddenlink.net> In-Reply-To: <5134F05C.6080800@suddenlink.net> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=xGd+3R4YEoif1yDCP3iI4FQ10ArTR87gcpeKPZcKSLw= c=1 sm=0 a=eFosVe0FMc8A:10 a=AQoAr5FUJ5wA:10 a=xzW3HwPJiLYA:10 a=8nJEP1OIZ-IA:10 a=-hyCGDrDAAAA:8 a=mV9VRH-2AAAA:8 a=ZIkMvhgpWEjqxUSvwXAA:9 a=wPNLvfGTeEIA:10 a=1IQtyGFH-7MA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Virus-Checked: Checked by ClamAV on apache.org 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: >>> >>> A Scripting Framework error occurred while running the BeanShell >>> script Library1.Macro1.bsh >>> >>> Message: The scripting language BeanShell is not supported. >>> >>> What should I do now? >>> >>> Again, thanks for the help, Ariel. >> My mistake, I took the jars from the build I work with (to be 4.0), not >> 3.4.1. These are the proper JARs from 3.4.1: >> >> http://people.apache.org/~arielch/api/class_3.4.1.tar.gz >> >> >> Regards > Thanks Ariel. I downloaded > > class_3.4.1.tar.gz > > unzipped and untarred and then copied all the jars to the classes directory > which now shows: > > /home/evansl/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/openoffice.org/basis3.4/program/classes: > total used in directory 10132 available 54240108 > C -rw-r--r-- 1 evansl evansl 371657 Mar 4 12:08 bsh.jar > C -rw-r--r-- 1 evansl evansl 16258 Mar 4 12:03 ScriptProviderForJavaScript.jar > C -rw-r--r-- 1 evansl evansl 11684 Mar 4 12:03 ScriptProviderForJava.jar > C -rw-r--r-- 1 evansl evansl 22500 Mar 4 12:03 ScriptProviderForBeanShell.jar > C -rw-r--r-- 1 evansl evansl 94774 Mar 4 12:03 ScriptFramework.jar > > I then started scalc, as before: > > ~/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/openoffice.org3/program $ ./scalc BeanShell.ods & > [sh<1>] 6945 > ~/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/openoffice.org3/program $ > > I enabled the macros; however, I'm still getting the same error message that I mentioned in my previous post :( > > Should I maybe set the class path to: > > home/evansl/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/openoffice.org/basis3.4/program/classes > > somewhere? > > TIA. > > OOPS. I killed the QuickStart and then did the same command line invocation, and now the error message doesn't appear. That's kinda unintuitive :( Anyway, I can now run the macro without problem. Thanks for the help, Ariel. -regards, Larry --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org For additional commands, e-mail: users-help@openoffice.apache.org