4 messages in org.openoffice.fr.progwriteRegistryInfo
FromSent OnAttachments
Yves OuvrardJul 17, 2006 11:00 pm 
Laurent GodardJul 17, 2006 11:21 pm 
Yves OuvrardJul 17, 2006 11:25 pm 
Yves OuvrardJul 18, 2006 1:09 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:writeRegistryInfoActions...
From:Yves Ouvrard (yves@collatinus.org)
Date:Jul 17, 2006 11:00:43 pm
List:org.openoffice.fr.prog

Bonjour,

Je viens d'adapter une application Python pour qu'elle tourne comme extension dans oowriter. J'ai placé mon fichier python et son fichier de données dans ~/.openoffice.org2/user/Scripts/python/, et à l'aide des menus, depuis le writer, j'ai défini des raccourcis clavier qui permettent d'appeler quelques fonctions du code Python.

Tout marche très bien, et il me reste donc à empaqueter tout ça. J'y suis presque arrivé, sauf que unopkg add mon_paquet.zip me répond (retours à la ligne aléatoires et non significatifs):

-------------------------- ERROR: (com.sun.star.uno.RuntimeException) { { Message = "exceptions.AttributeError: 'module' object has no attribute 'writeRegistryInfo', traceback follows\X000a File \"/usr/lib/openoffice/program/pythonloader.py\", line 120, in writeRegistryInfo\X000a return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

unopkg failed.

--------------------------

J'ai dû manquer une étape. Qui peut me remettre sur la voie ?

Merci, à bientôt.