To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95118
                 Issue #|95118
                 Summary|Cannot deploy python macros in add-on
               Component|framework
                 Version|OOo 3.0
                Platform|PC
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|fhatat





------- Additional comments from [EMAIL PROTECTED] Sat Oct 18 12:51:54 +0000 
2008 -------
I'm trying to deploy a Python macro (i.e. which can be run from Tools/Macros/Run
macro) with an extension, using an entry of the following form in manifest.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest>
 <manifest:file-entry manifest:full-path="python/"
manifest:media-type="application/vnd.sun.star.framework-script;type=Python"/>
</manifest:manifest>

(It's the same code as in issue #93806, yet the problems are different).

The installation of the extension fails, with the message:
"Cannot expand package for
vnd.snd.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/2B.tmp_/pyscript.oxt/python/"

You can use the attachment pyscript.oxt provided in issue #93806 to reproduce
this bug.

The problem happens also without the ";type=Python" part in manifest.xml.

I also get the same error, with "USER" replaced by "SHARED" when asking the
extension manager to install the extension for all users.

I know there are lots of issues with PyUno and OOo3, yet none of the workarounds
mentionned on http://udk.openoffice.org/python/python-bridge.html seem to apply
to my case (workaround #1 about the scripting framework doesn't help).

---------------------------------------------------------------------
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