[Zope] String problem with ZClassReverse
Philipp Auersperg
zope@philosoft.at
Tue, 09 Jan 2001 01:47:39 +0100
Hi!
it seems that you have problems to access the server-sided part of ZClassReverse (I know I have to refine the error messages)
Check out if you can correctly access the server-sided part of ZclassReverse, point your
browser to the following (of course fill in your specific host,port and product):
http://yourserver:8080/zclassInfo/getClassInfos?product=QSurvey
If you see a long python dict containing the classdata, then it works, otherwise check if:
0. you have copied zclassInfo.py to your Zope's /Extensions directory
1. you have imported zclassInfo.zexp into the root folder of your ZODB
you can check this, if in your ZopeRoot exists a folder called zclassInfo with three external methods declared
let me know if it helped
regards
phil
*********** REPLY SEPARATOR ***********
On 08.01.2001 at 12:29 peter bengtson wrote:
>I try to use zclassReverse 1.1.1, but when I am asked for details of the
>Zclass this error (below) occurs almost instantly. This happens with all
>ZClasses I have tried.
>Zope 2.2.2 on WinNT.
>Ideas? I have not been able to see any diagrams yet.
>
>Regards, Peter
>
>>From the JPython (1.0.3) command line in ObjectDomain Evaluation 3.00.002:
>
>>>> execfile('C:/Program Files/domain30/python/scripts/zclassReverse.py')
>starting ZClass reverse engineering dialog...
>>>> Error: ('invalid syntax', ('<string>', 1, 1,
>'<HTML><HEAD><TITLE>Zope</TITLE></HEAD><BODY BGCOLOR="#FFFFFF">'))
*********** REPLY SEPARATOR ***********
On 08.01.2001 at 12:29 peter bengtson wrote:
>I try to use zclassReverse 1.1.1, but when I am asked for details of the
>Zclass this error (below) occurs almost instantly. This happens with all
>ZClasses I have tried.
>Zope 2.2.2 on WinNT.
>Ideas? I have not been able to see any diagrams yet.
>
>Regards, Peter
>
>>From the JPython (1.0.3) command line in ObjectDomain Evaluation 3.00.002:
>
>>>> execfile('C:/Program Files/domain30/python/scripts/zclassReverse.py')
>starting ZClass reverse engineering dialog...
>>>> Error: ('invalid syntax', ('<string>', 1, 1,
>'<HTML><HEAD><TITLE>Zope</TITLE></HEAD><BODY BGCOLOR="#FFFFFF">'))
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )