Description: xray, an *incredibly valuable* macro debugging tool for many years, stopped working with Libre Office in version 4.4. Apparently xray is broken and unfixable because of some incompatible API changes and/or changes to how documentation is indexed. https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=74169 may be relevant. Some issues might be tinged by political/ideological/religious considerations, but I hope those can be set aside. Loss of the xray tool is a major loss for real users (who have to debug macros). Steps to Reproduce: 1. Load xray tool 6.0 (attached XrayTool60_en.odt) 2. Enable macro execution 3. Click "Install Xray" on page 5 of the document Actual Results: Run-time errors Expected Results: "Xray installed successfully" Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Created attachment 133883 [details] xray 6.0 (XrayTool60_en.odt)
The "run-time errors" while installing xray start with several pop-ups like this: BASIC runtime error. An exception occurred Type: com.sun.star.lang.IllegalArgumentException Message: . docLibs.loadLibrary(sourceLibName) myLib = docLibs.getByName(sourceLibName) globLibs.loadLibrary(libName) copyLib = globLibs.getByName(libName) libModules = myLib.ElementNames for x = 0 to UBound(libModules) xName = libModules(x) >> copyLib.insertByName(xName, myLib.getByName(xName)) next
Hi Jim, Tried installation Xraytool60_fr.odt on LO 4.4.1.1 Build ID: b5ac74bf8683a92078a2bc8aff97d4b436af63cb Locale : fr_FR and LO 5.3.3.2 Build ID: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448 Threads CPU : 2; Version de l'OS :Windows 6.1; UI Render : par défaut; Moteur de mise en page : nouveau; Locale : fr-FR (fr_FR); Calc: CL No issue.
Tried also XrayTool610_en.odt installation on LO 5.3.3.1 (x64) Build ID: 46360c72c4823cefeaa85af537fba22bd568da7e CPU Threads: 2; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; Locale: en-US (fr_FR); Calc: CL always without issue.
I have tried it with Version: 5.5.0.0.alpha0+ Build ID: b56d1e294d838d4b3d0f237c81325a0d1a1cff83 CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@39, Branch:master, Time: 2017-05-26_06:14:42 Locale: de-DE (de_DE); Calc: group It installs without problems and works as expected.
Today xray also works for me in all versions (tried 4.4, 5.3, & master). I can't figure out what happened! A few days ago xray would *not* install in 4.4.6 and later versions (but would work in 4.3.3). There must have been something in my LO profile or other environment which caused the problem but which I unwittingly fixed. With embarrassent, -Jim