On Montag 24 September 2007, Alexandro Colorado wrote: > On Mon, 24 Sep 2007 00:11:32 +0200, Sebastian Hilbert > > <[EMAIL PROTECTED]> wrote: > > Hi allm > > > > My name is Sebastian Hilbert. I am with the GNUmed team. We produce a > > software > > for medical offices, basically an EMR and a (medical) document archive. > > > > For medical discharge and referral letters we make use of OpenOffice.org > > through templates. We use pyuno since GNUmed is written in python. > > > > On GNU/Linux everything is fine. But on MS Windows we encounter a known > > problem. > > > > This is mentioned here. > > http://udk.openoffice.org/python/python-bridge.html > > The solution seems to be to recompile pyuno for the corresponding python > > version on the user's system. > > > > Has anyone ever done this ? Is anyone here able to provide a precompiled > > version for python 2.2 through 2.5 ? > > > > If neccessary I would create installer packages using NSIS (nullsoft > > installer) > > > > I have seen quite a few postings and it is really neccessary for GNUmed > > to > > have pyuno available. Otherwise OpenOffice.org currently cannot be used > > with > > GNUmed on MS Windows. > > > > Thanks > > There has been some work on upgrading the bridge as you can see here: > http://wiki.services.openoffice.org/wiki/Python > > However no new updates on the status of this merge. I would hope to see > an upgrade happen soon but 2.3 is out and we still have python 2.3.4 > going on. > > Ubuntu uses python 2.5 which is the same as the system python without a > problem which is a great advantage over the current vanilla build of OOo. > Which is the library that is giving you issues?
The problem is on Windows only. Once I install OOO.org I can't import pyuno because it is not in the python path. If I add ooo/program to the path I can do >>> import uno Traceback (most recent call last): File "<stdin>", line 1, in ? File "/Applications/OpenOffice.org 2.0.app/Contents/openoffice.org2.0/program/uno.py", line 37, in ? import pyuno ImportError: No module named pyuno which means python finds uno but not pyuno (pyuno.dylib). Actually the above is copied from Mac outout but it's the same on MS Windows -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] -> PGP welcome, HTML ->/dev/null --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
