incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120359] New: ScriptProviderForooRexx.oxt cannot be successfully installed with unopkg on MacOSX 3.4.0, 3.4.1
Date Tue, 24 Jul 2012 18:07:10 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120359

          Priority: P3
            Bug ID: 120359
          Assignee: ooo-issues@incubator.apache.org
           Summary: ScriptProviderForooRexx.oxt cannot be successfully
                    installed with unopkg on MacOSX 3.4.0, 3.4.1
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: Mac OSX, all
          Reporter: rony@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: installation

Report copied from the email on the developer list. 

Problem exists in the rc of MacOSX (en-US), r1364591 AOO 3.4.1, as of
2012-07-17, as well, hence filing a bug!

In the case the Java code for interfacing ooRexx with AOO is relevant, here a
link to the source:

- jar with sources:
<http://bsf4oorexx.svn.sourceforge.net/viewvc/bsf4oorexx/tags/release-410.20120618/ScriptProviderForooRexx-source.jar?view=log>

- individual Java source files starting at:
<http://bsf4oorexx.svn.sourceforge.net/viewvc/bsf4oorexx/tags/release-410.20120618/com/sun/star/script/framework/provider/oorexx/>



-------- Original Message --------
Subject:     MacOSX: problems deploying an extension in shared mode
Date:     Sun, 22 Jul 2012 14:07:28 +0200
From:     Rony G. Flatscher (Apache) <rony@apache.org>
Reply-To:     ooo-dev@incubator.apache.org
To:     ooo-dev@incubator.apache.org


In the context of creating a new version of BSF4ooRexx for MacOSX as well
(<http://sourceforge.net/projects/bsf4oorexx/files/GA/BSF4ooRexx-410.20120618-GA/ooRexx411WithBSF4ooRexx-410.20120618-i386-MacOSX.pkg.zip/download>)
the automatic installation of an oxt-extension to AOO 3.4.0 to add ooRexx as a
macro language
directly to AOO, there are errors with the MacOSX version.

If you download the package from the above link you'll get ooRexx and
BSF4ooRexx for MacOSX in
32-Bit (as OOo is still 32-bit on MacOSX) installed and both ooRexx and
BSF4ooRexx (a Rexx function
package camouflaging Java as the dynamically typed ooRexx) are operational.

Unfortunately, the OOo extension named "ScriptProviderForooRexx.oxt" cannot be
added to the MacOSX
AOO 3.4 installation using "unopkg"! Here a few infos to the locations and the
scripts that are run
as sudo with the error message:

    wu114123:sources rony$ *ls -al
/Applications/OpenOffice.org.app/Contents/program/unopkg**
    lrwxr-xr-x@ 1 rony  admin     10 Apr 19 08:28
/Applications/OpenOffice.org.app/Contents/program/unopkg -> unopkg.bin
    -r-xr-xr-x@ 1 rony  admin  13568 Apr 19 08:28
/Applications/OpenOffice.org.app/Contents/program/unopkg.bin



    wu114123:sources rony$ *ls -al
/System/Library/Frameworks/BSF4ooRexx.framework/Libraries/ScriptProviderForooRexx.oxt*
    -rwxrwxrwx  1 root  wheel  330778 Jun 15 17:24
/System/Library/Frameworks/BSF4ooRexx.framework/Libraries/ScriptProviderForooRexx.oxt



    wu114123:sources rony$ *sudo
/Applications/OpenOffice.org.app/Contents/program/unopkg add --shared
/System/Library/Frameworks/BSF4ooRexx.framework/Libraries/ScriptProviderForooRexx.oxt*

    *ERROR: Error binding package:
vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE/uno_packages/Qpgmug_/ScriptProviderForooRexx.oxt*
           Cause: an error occured during file opening

    unopkg failed.

There is no directory named "Qpgmug_" in the shared cache directory; not sure
why.

---

Trying to do the same from AOO's "Tools -> Extension Manager" is not successful
either, if intending
to install for "All users" with the scarce error message "an error occured
during file opening".

However adding this extension via AOO's "Tools -> Extension Manager" for "Only
for me" works o.k.!
Restarting AOO, and the extension is available and operational allowing ooRexx
to be used as a macro
language!

    Using the user extension has another irregularity: if using for the first
time in a totally
    fresh AOO session "Tools -> Macros -> Run Macro" and then executing any
ooRexx macro will yield
    an error ("unable to load language"). However, if first doing a "Tools ->
Macros -> Organize
    Macros -> ooRexx" and editing any ooRexx macro and running it via the edit
window menu, ooRexx
    can be later found via "Tools -> Macros -> Run Macro" as well.

[Using the oxt-extension on Windows and Linux with AOO, OOo, LO works in shared
mode, and AFAIK
there are no anomalities that I know of.]

Any ideas, what might be wrong, what I could do?
[To duplicate: just install the MacOSX package and then run the above commands
from a command line
to see for yourself.]

TIA for any hints, ideas and suggestions,

---rony

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message