Apache OpenOffice (AOO) Bugzilla – Issue 93994
Python user's scripts are not recognized
Last modified: 2013-02-24 21:00:40 UTC
All user's python scripts are not recognized that placed in Scripts/python directory of user directory and they are not shown on the Python Macros dialog. Shared macros are recognized and they work well. Here is a debug output: mo4plus-x86% ./opt/openoffice.org3/program/soffice pythonloader.Loader ctor pythonloader.Loader.activate pythonloader: interpreting url vnd.openoffice.pymodule:pythonscript pythonloader: after expansion vnd.openoffice.pymodule:pythonscript Thu Sep 18 00:47:09 2008 [DEBUG] pythonscript loading Thu Sep 18 00:47:09 2008 [DEBUG] pythonscript finished intializing Thu Sep 18 00:47:09 2008 [DEBUG] Entering PythonScriptProvider.ctoruser user Thu Sep 18 00:47:09 2008 [DEBUG] PythonScriptProvider could not be instantiated because of : uno.com.sun.star.uno.RuntimeException: ScriptingFrameworkURIHelper cannot find script directory /home/user/Desktop/opt/openoffice.org/basis3.0/program/pythonscript.py:686 in function __init__() [urlHelper = ctx.ServiceManager.createInstanceWithArgumentsAndContext(] Thu Sep 18 00:47:09 2008 [DEBUG] Entering PythonScriptProvider.ctorshare share Thu Sep 18 00:47:09 2008 [DEBUG] got urlHelper pyuno object (com.sun.star.uno.XInterface)0x-4e6e5310{implementationName=com.sun.star.script.provider.ScriptURIHelper, supportedServices={com.sun.star.script.provider.ScriptURIHelper}, supportedInterfaces={com.sun.star.script.provider.XScriptURIHelper,com.sun.star.lang.XServiceInfo,com.sun.star.lang.XInitialization,com.sun.star.lang.XTypeProvider,com.sun.star.uno.XWeak}} Thu Sep 18 00:47:09 2008 [DEBUG] share transformed to file:///home/user/Desktop/opt/openoffice.org3/program/../basis-link/share/Scripts/python Thu Sep 18 00:47:10 2008 [DEBUG] Entering PythonScriptProvider.ctorvnd.sun.star.tdoc:/1 vnd.sun.star.tdoc:/1 Thu Sep 18 00:47:10 2008 [DEBUG] got urlHelper pyuno object (com.sun.star.uno.XInterface)0x-5143a8b8{implementationName=com.sun.star.script.provider.ScriptURIHelper, supportedServices={com.sun.star.script.provider.ScriptURIHelper}, supportedInterfaces={com.sun.star.script.provider.XScriptURIHelper,com.sun.star.lang.XServiceInfo,com.sun.star.lang.XInitialization,com.sun.star.lang.XTypeProvider,com.sun.star.uno.XWeak}} Thu Sep 18 00:47:10 2008 [DEBUG] vnd.sun.star.tdoc:/1 transformed to vnd.sun.star.tdoc:/1/Scripts/python mo4plus-x86%
Joerg, are you the right one for this? Kay
Created attachment 57441 [details] User url fixed
*** Issue 95118 has been marked as a duplicate of this issue. ***
now that we have a patch for ~ 3 weeks now, can we get this into a cws to fix it for 3.1 (or even 3.0.1)? :-)
set target (as discueed in the release status meeting)
Issue 95118 contains a more general patch (which fixes both issues): could you use it, instead of the patch attached here?
patch for issue 93994 commited to cws sb101 (target milestone 3.1), which contained the fix for this issue. @rene: Or did you apply the patch to some other cws ? I won't be able to setup a separate cws for 3.0.1
> @rene: Or did you apply the patch to some other cws ? No, I didn't. > I won't be able to setup a separate cws for 3.0.1 why?
jbu: I've no idea why you (or Sun) decide to not fix those (togethet with 95118) regressions yourself, but to make it 3.0.1 I set up a cws. Fixed in cws pyunoregressions301
taking for verification
verified in pyunoregressions301, new target
verified additionally on sb101 (see remarks in 95118)
ok in 3.1 - closed