[Issue 128415] Opening a .docx crashes on macOS 11.0.1 Big Sur

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128415

Keith N. McKenna  changed:

   What|Removed |Added

   Keywords||needhelp
 CC||k...@apache.org

--- Comment #5 from Keith N. McKenna  ---
Cannot confirm with the following:
System Configuration:
Processor: Intel  Pentium CPU 4450U @2.10GHz
Installed Memory: 8.00 GB
System Type 64-bit Operating System X64-based processor
Operating System: Windows 10 Version 2004 (OS Build 19041.630)

Apache Open Office
AOO418m3(Build:9803)  -  Rev. 18848f57b6 2020-10-29 16:56
Language: en_US
Additional Language Packs: None

Need a volunteer with a mac to try to confirm this.

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

[Issue 128415] Opening a .docx crashes on macOS 11.0.1 Big Sur

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128415

Keith N. McKenna  changed:

   What|Removed |Added

 CC||kai-mikael.jaa-...@telia.co
   ||m

--- Comment #4 from Keith N. McKenna  ---
*** Issue 128418 has been marked as a duplicate of this issue. ***

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

[Issue 128418] Ooo crashes on opening Word file containing form

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128418

Keith N. McKenna  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE
   Keywords|needhelp|

--- Comment #4 from Keith N. McKenna  ---
Thanks for seeing that Matthias. I will close this one as a duplicate of 128415

*** This issue has been marked as a duplicate of issue 128415 ***

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

[Issue 128418] Ooo crashes on opening Word file containing form

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128418

Matthias Seidel  changed:

   What|Removed |Added

 CC||msei...@apache.org

--- Comment #3 from Matthias Seidel  ---
According to:

https://bz.apache.org/ooo/show_bug.cgi?id=128415

every docx fails on macOS Big Sur.

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

[Issue 128418] Ooo crashes on opening Word file containing form

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128418

Keith N. McKenna  changed:

   What|Removed |Added

   Keywords||needhelp
 CC||k...@apache.org

--- Comment #2 from Keith N. McKenna  ---
Cannot confirm with the following:
System Configuration:
Processor: Intel  Pentium CPU 4450U @2.10GHz
Installed Memory: 8.00 GB
System Type 64-bit Operating System X64-based processor
Operating System: Windows 10 Version 2004 (OS Build 19041.630)

Apache Open Office
AOO418m3(Build:9803)  -  Rev. 18848f57b6 2020-10-29 16:56
Language: en_US
Additional Language Packs: None

Need a volunteer with a mac to try to confirm this.

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

[Issue 127966] MacOS: Current directory wrongly set to root directory "/" for scripts

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127966

--- Comment #11 from ronyf  ---
Sorry about "setupOOo.rxo": this is only valid when using the same installer as
the one for Linux and Windows (has an untested mode for MacOSX)!

The MacOSX installer uses
"/Applications/ooRexx.app/Contents/Resources/AOO_install_support.sh" to install
the ooRexx support on MacOSX to AOO.

There you will see the location at the top where it will try to find the AOO
directory. Adjust there if needed and re-run the script with sudo or using the
Installation menu of "BSF4ooRexxMenu":

- there will be an "ooRexx.app" in "Applications"; opening/clicking on it will
open the "BSF4ooRexxMenu" (implemented with Java) with the menu items "Open
Object Rexx", "BSF4ooRexx" and "Installation" 

- to reinstall BSF4ooRexx use "Installation" -> "Reinstall ooRexx support for
AOO/LO" on MacOSX, e.g. after updating the AOO installation to test against

Sorry for the confusion!

---

P.S.: Overhauling the installers (command line and MacOSX) has been on my loong
TODO-list so please bear with the current installation strategy.

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

[Issue 127966] MacOS: Current directory wrongly set to root directory "/" for scripts

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127966

Matthias Seidel  changed:

   What|Removed |Added

 Latest|4.1.7   |4.1.8
Confirmation in||

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

[Issue 127966] MacOS: Current directory wrongly set to root directory "/" for scripts

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127966

--- Comment #10 from ronyf  ---
Hi Jim,

yes, unfortunately, the problem on MacOS is still there with 4.1.8. 

Here a run of the ooRexx deafult macro script running as a macro off swriter
which queries the current directory and shows some environment variables (look
for "current directory=[/]" which gets inserted into the swriter document:

--- cut ---
Hello world [2020-12-06T14:19:58.743492], this is ooRexx (cf.
) speaking !
Infrastructure employed: [ooRexx 5.0.0 r12113 (28 Sep 2020) / BSF 641.20201022
/ Java 1.8.0_251, 64-bit / Darwin 18.7.0]. 
Operating system: [Darwin 18.7.0] 
current directory=[/]. 
current user=[rony]. 
current settings of environment variable
PATH=[.:.:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin]. 
... and now parsing the individual paths: 
  [.] 
  [.] 
  [/usr/bin] 
  [/bin] 
  [/usr/sbin] 
  [/sbin] 
  [/usr/local/bin] 
--- cut ---

In order to duplicate on MacOSX first a brief background: 

- ooRexx is an opensource object-oriented version of the IBM Rexx scripting
language (actually ooRexx is based on the opensourced IBM product)

- BSF4ooRexx is Java bridge for ooRexx using Apache BSF (and can also be used
via javax.script/JSR-223)

- BSF4ooRexx comes with support for AOO and installs ooRexx as a macro language
within AOO; there is also support for using AOO via the command line (you need
to run the AOO-ooRexx scripts after installation in a new session such that the
necessary change in the environment takes effect)

---

Now in your case if you have multiple versions of AOO installed on your Mac,
then the installer will consult "bsf4oorexx/install/setupOOo.rex" in the
routine "getOOoHomeDirMacOSX" at line # 1050 and use the following locations in
the following order to locate "soffice": 

- "/Applications/OpenOffice.app/Contents/MacOS"
- "/Applications/OpenOffice.org.app/Contents/MacOS"
- "/Applications/LibreOffice.app/Contents/MacOS" 

So you could manually change/add the location of AOO on your machine for which
you want ooRexx to be installed for. 

---

Here is what you would need to do on MacOSX:

1) get the BSF4ooRexx installation package for MacOSX which includes ooRexx
already: :
either click at the link on the very top, if browsing from a Mac or search the
file "b4r_641_500_64Bit_macosx-20201022-r12113.zip", download, unzip and
install

2) make sure AOO has been totally closed in between, start swriter, go into the
menu "Tools -> Macros -> Organize Macros" and you should have an entry
"ooRexx..." at the bottom, choose it:

- - select "My Macros" and click "Create..." accept the name "Library 1"
- - select "Library1" and click "Create ..." accept the name "Macro1.rxo"
- - select "Macro1.rxo" and click "Edit ..." such that the default macro
program gets loaded (it is quite flexible=complicated as that macro can be run
against all AOO modules, but also stand-alone from the command line: that macro
will query the current directory and write it with the other information into
the swriter document) and click "Run" at the bottom of the dialog containing
the code

---

If you have any questions, please do not hesitate to ask them!

---rony

P.S.: If I recall correctly in the past you were able to fix that for a 4.2
version.

P.P.S.: If you are interested in comparing that script e.g. on AOO on Linux,
then you would need to get the following parts:

- ooRexx 5.0 (the latest beta, which is faster and stabler than the old GA
version) from 
and install it (please note: the bitness of ooRexx must match the bitness of
your installed Java)

- BSF4ooRexx from
, if browsing
from Linux use the download link at the very top or download the file
"BSF4ooRexx_install_v641-20201124-beta.zip", unzip, go into
"bsf4oorexx/install/linux" and run "install.sh"

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

[Issue 128418] Ooo crashes on opening Word file containing form

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128418

--- Comment #1 from Kai-Mikael Jää-Aro  ---
Created attachment 86992
  --> https://bz.apache.org/ooo/attachment.cgi?id=86992&action=edit
Log file of the crash

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

[Issue 128418] New: Ooo crashes on opening Word file containing form

2020-12-06 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128418

  Issue ID: 128418
Issue Type: DEFECT
   Summary: Ooo crashes on opening Word file containing form
   Product: Writer
   Version: 4.1.8
  Hardware: Mac
OS: macOS 11.0
Status: UNCONFIRMED
  Severity: Major
  Priority: P5 (lowest)
 Component: open-import
  Assignee: issues@openoffice.apache.org
  Reporter: kai-mikael.jaa-...@telia.com
  Target Milestone: ---

Created attachment 86991
  --> https://bz.apache.org/ooo/attachment.cgi?id=86991&action=edit
Document that crashes Ooo 4.1.8

OpenOffice Writer crashes with a segmentation fault on opening a .docx file,
generated in Word 2007+.
Opening the file in Pages works, but I get a warning about “form components”
that cannot be displayed.
I attach the offending file and the crash log.

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