[ZPT] METAL and "incompatible version"
Laurent Pointal
laurent.pointal at limsi.fr
Thu Oct 21 03:17:44 EDT 2004
Dieter Maurer a écrit :
> Laurent Pointal wrote at 2004-10-20 14:29 +0200:
>
>>...
>>While trying to put XML headers on my pages (using some hacks based on
>>metal macros found on the www), I encounter the following error:
>><<
>>Error Type: METALError
>>Error Value: macro 'here/std_template/macros/pre' has incompatible
>>version None, at line 1, column 1
>
>
> I faintly remember to have read about this problem (a ling time ago).
>
> It is very rare (we use Metal extensively and never saw it).
> I had the impression that the problem were there only for a very
> short time.
I can see the same problem in a Sept 2001 post:
http://mail.zope.org/pipermail/zope/2001-September/100254.html
But yes, there are really few posts about this.
Note: Maybe a related problem, but I tries to use alternative solutions
like showed in:
http://marc.free.net.ph/message/20040705.105321.ba503c43.html
And its look like I have problems with METAL...
> What Zope version are you using?
Version 2.7.2-0 running on Windows XP (for tests - final platform will
be a Linux server).
Q? Can it be an interraction between an installed Python and the Python
installed by Zope ?
Starting the Zope-Python (in its bin dir, I get the following Python path):
<<
C:\>\Tools\Zope-2.7.2-0\bin\python.exe
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> for i in sys.path : print i
...
C:\Tools\Zope-2.7.2-0\lib\python
C:\Tools\Zope-2.7.2-0\bin\python23.zip
C:\dev
C:\Tools\pythontools
C:\Tools\omniORBpy-2.3\lib\python
C:\Tools\omniORBpy-2.3\lib\x86_win32
C:\dev\devpyexp
C:\Tools\Zope-2.7.2-0\bin\DLLs
C:\Tools\Zope-2.7.2-0\bin\lib
C:\Tools\Zope-2.7.2-0\bin\lib\plat-win
C:\Tools\Zope-2.7.2-0\bin\lib\lib-tk
C:\Tools\Zope-2.7.2-0\bin
C:\Tools\Zope-2.7.2-0\bin\lib\site-packages
>>
Where we can see some of my python modules directories going before some
Zope modules directories...
Note: If I found no solution, I have the possibility to request to work
on the Linux box from now.
A+
Laurent.
--
Laurent POINTAL
CNRS-LIMSI dépt. CHM, groupes AMI et PS
Courriel: laurent.pointal at limsi.fr (prof)
laurent.pointal at laposte.net (perso)
Ouebe: http://www.limsi.fr/Individu/pointal/
Tél. 01 69 85 81 06 (prof)
Fax. 01 69 85 80 88
More information about the ZPT
mailing list