To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103074
                 Issue #|103074
                 Summary|Error converting ScriptURI to StorageURI
               Component|udk
                 Version|OOo 3.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|finnglarsen





------- Additional comments from finnglar...@openoffice.org Wed Jun 24 17:43:21 
+0000 2009 -------
I try to make an extension that contains both Basic and Python macros. I make
calls from Basic macros to Python macros. It works well as long as I call Python
macros in user/Script/python. But when I move the Python file to the extension
and try to call them there, I get a strange error message in Basic and also
errors in debug output from Python.

The Python debug output says:

[DEBUG] converting
scriptURI=vnd.sun.star.script:python.FarvOrd.py$highlightWordsFromList?language=Python&location=user:uno_packages/oofarvord
to
storageURI=file:///home/finn/.openoffice.org/3/user/uno_packages/cache/uno_packages/python.FarvOrd.py$highlightWordsFromList
Wed Jun 24 11:56:45 2009 [ERROR] <type 'exceptions.KeyError'>:
u'python.FarvOrd.py$highlightWordsFromLis'
  /opt/openoffice.org/basis3.1/program/pythonscript.py:339 in function
getStorageUrlFromPersistentUrl() [package = self.mapPackageName2Path[ 
packageName ]]
  /opt/openoffice.org/basis3.1/program/pythonscript.py:876 in function
getScript() [self.provCtx.uriHelper.getStorageURI(scriptUri) );]

Please notice the line that says:

/uno_packages/cache/uno_packages/python.FarvOrd.py

This looks wrong. The real storageURI is something like:

uno_packages/cache/uno_packages/Mda6lQ_/OOFarvOrd-dev.oxt

In other words, the directory name Mda6lQ_ is missing.

I wonder if this issue could be related to issue 100991 (fixed just before
release of 3.1).

---------------------------------------------------------------------
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: issues-unsubscr...@udk.openoffice.org
For additional commands, e-mail: issues-h...@udk.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to