[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#719941: libreoffice-script-provider-python: python 3 porting issues



Package: libreoffice-script-provider-python
Version: 1:4.1.1~rc1-1
Severity: minor

Dear Maintainer,
here are some patches for python 3 porting.

--- /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) +

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

thanks
mike

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice-script-provider-python depends on:
ii  libreoffice-common  1:4.1.1~rc1-1
ii  libreoffice-core    1:4.1.1~rc1-1
ii  python3-uno         1:4.1.1~rc1-1

libreoffice-script-provider-python recommends no packages.

libreoffice-script-provider-python suggests no packages.

Versions of packages python3-uno depends on:
ii  libc6             2.17-92
ii  libgcc1           1:4.8.1-8
ii  libpython3.3      3.3.2-5
ii  libreoffice-core  1:4.1.1~rc1-1
ii  libstdc++6        4.8.1-8
ii  python3           3.3.2-13
ii  uno-libs3         4.1.0-4
ii  ure               4.1.0-4



-- 
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3


Reply to: