From: Arnar L. <arn...@bo...> - 2004-08-03 13:03:22
|
On Tuesday 03 August 2004 13:17, Bernard Chabot wrote: > Hello Arnard, > > I have installed the last version of ZTM (ZTM-2.5-Beta1-no_NO) on my > computer (windows XP) Wohoo! :-) Beware that the no_NO part means that a lot of the templates in the TMS=20 (ZTMDefault) are in Norwegian. You should be able to understand their purpo= se=20 though, and the core templates for the engine are in English. (I've fixed a couple of bugs since Beta 1, and I'm planning on releasing Be= ta=20 2 this weekend.) > I have also installed python 2.3.4 and Py XML 0.8.3 for python 2.3 > But have got this message when I go to the portal_topicmaps page of my > portal > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > It appears that Python's XML package. is not installed on this machine, at > least not a correct version or one that can be reached from ZTM's current > runtime environment The PyXML package is required in order to import XML > TopicMaps. > > You can still use ZTM without any other reduced functionality, but the > setup routine below will only create some folders. > > Language =A0English Norsk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Is there any special thing to do ? Setting a variable for exemple ? Yes, you need to make PyXML available to the version of Python that Zope us= es.=20 I believe you can find the path to the version in Zope's Control Panel. IIRC, the binary version that comes with Zope is usually installed under '\bin' in Zope's SOFTWARE_HOME variable which is probably something like "C:\Program files\Zope-2.7." So Zope does probably not use the Python version you downloaded from=20 python.org. PyXML looks in the windows registry for Python versions where it can instal= l=20 itself. Unfortunately, the binary python version that comes with Zope is no= t=20 added to the windows registry. If you check the folder where you installed Python (probably C:\Python23), = you=20 will find a folder named _xmlplus under C:\Python23\Libs\site-packages or=20 similar. You need to copy this _xmlplus folder and all its content into Zope's=20 site-packages folder. Most likely: =A0 =A0 "C:\Program files\Zope-2.7\bin\Lib\site-packages\" Then you need to restart Zope. (Drop by #ztm on irc://irc.freenode.net to chat with me directly if this=20 doesn't work.) =A0 -- Arnar =2D-=20 =A0Arnar Lundesgaard =A0| =A0Konsulent=20 Bouvet AS, Sandakerveien 24C D11, Postboks 4430 Nydalen, N-0403 Oslo=20 Tlf. +47 23 40 60 00/61 22 =A0| =A0Faks: +47 23 40 60 01 =A0| =A0Mob: +47 9= 8 23 80 36=20 http://www.bouvet.no =A0| =A0a...@bo...=20 |