Bug#719941: libreoffice-script-provider-python: python 3 porting issues
On Fri, Aug 16, 2013 at 07:21:50PM -0500, Mike Dupont wrote:
> --- /usr/lib/libreoffice/program/pythonscript.py~ 2013-08-16
> 18:51:06.865451812 -0500
> +++ /usr/lib/libreoffice/program/pythonscript.py 2013-08-06
> 12:25:04.000000000 -0500
> #-------------------------------------------------------------------
> @@ -70,7 +70,7 @@
> userInstallation = pathSubst.getSubstituteVariableValue( "user" )
> if len( userInstallation ) > 0:
> systemPath = uno.fileUrlToSystemPath(
> userInstallation + "/Scripts/python/log.txt" )
> - ret = open( systemPath , "a" )
> + ret = file( systemPath , "a" )
>
> And another one :
> 104c106
> + encfile(msg).decode() +
> - encfile(msg) +
And this also works with python 2.x?
> Also note :
> Gathering additional data, this may take a while...
>
> ERROR: There is no such extension deployed:
> com.sun.star.script.provider.ScriptProviderForPython
>
> unopkg failed.
> The package bug script
> /usr/share/bug/libreoffice-script-provider-python/script exited with
> an error status (return code = 256). Do you still want to file a
> report? [y|N|q|?]? y
Yeah, that bug-script does
-/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.script.provider.ScriptProviderForPython >&
so this can be removed; as it's not a extension (anymore). But you shouldn't
have added it to this bug (doesn't match the rest). Anyway, thanks.
Regards,
Rene
Reply to: