To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93994
                 Issue #|93994
                 Summary|Python user's scripts are not recognized
               Component|scripting
                 Version|OOo 3.0 RC1
                Platform|PC
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|hanya





------- Additional comments from [EMAIL PROTECTED] Wed Sep 17 16:05:19 +0000 
2008 -------
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%

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to