[Libreoffice-commits] .: 2 commits - pyuno/README wizards/Pyuno_fax.mk
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Sep 18 14:05:14 PDT 2012
pyuno/README | 7 +++++++
wizards/Pyuno_fax.mk | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
New commits:
commit b565c57f4b42ffeea5c7d07b5c2c926ee2a9eff0
Author: Michael Meeks <michael.meeks at suse.com>
Date: Tue Sep 18 21:05:16 2012 +0100
correct python wizards component file
diff --git a/wizards/Pyuno_fax.mk b/wizards/Pyuno_fax.mk
index fa1e350..868eecf 100644
--- a/wizards/Pyuno_fax.mk
+++ b/wizards/Pyuno_fax.mk
@@ -38,6 +38,6 @@ $(eval $(call gb_Pyuno_add_files,pyfax,\
FaxWizardDialog.py \
FaxWizardDialogResources.py \
))
-$(eval $(call gb_Pyuno_set_componentfile_full,pyfax,wizards/com/sun/star/wizards/fax/pyfax,vnd.sun.star.expand:\dLO_LIB_DIR/wizards/fax/CallWizard,.py))
+$(eval $(call gb_Pyuno_set_componentfile_full,pyfax,wizards/com/sun/star/wizards/fax/pyfax,vnd.openoffice.pymodule:wizards.fax,.CallWizard))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
commit f26187ff157a86210d4f8d03e4524380a88ed844
Author: Michael Meeks <michael.meeks at suse.com>
Date: Tue Sep 18 20:52:19 2012 +0100
add help on python debugging.
diff --git a/pyuno/README b/pyuno/README
index 57853a9..1138ce7 100644
--- a/pyuno/README
+++ b/pyuno/README
@@ -1 +1,8 @@
UNO bindings for the Python programming language.
+
+To have much joy debugging python extensions you need to:
+ a) edit pythonloader.py in your install setting DEBUG=1 at the top
+ b) touch pyuno/source/module/pyuno_runtime.cxx and 'make debug=true' in pyuno
+
+Then you'll start to see your exceptions on the console instead of them getting
+lost at the UNO interface.
More information about the Libreoffice-commits
mailing list