[Pygridware-discuss] Python WSRF tutorial is not updated?.

Joshua Boverhof JRBoverhof at lbl.gov
Wed Dec 10 11:12:51 PST 2008


Hi Lorena,

You should get this README generated when you run wsdl2web, which  
details all the files and options.  So the "twistd" is looking for a  
plugin, and those plugins should be in the "twisted/plugins" directory  
created by wsdl2web.


Most likely you're having a problem with eggs, there is a file in  
"site-packages".  I remember having to manually edit files at times, I  
think you're looking for:

	 /usr/local/lib/python2.5/site-packages/easy-install.pth

or wherever it is:	

	% python -c "import twisted; print twisted.__file__"



$ cat README
############################################################################
# Automatically generated by wsdl2web.py
# See LBNLCopyright for copyright notice!
###########################################################################

Depending on the options provided to "wsdl2web", not all the below
files and directories may be present.


RUNNING SERVER:

     %twistd -no wsrf
       -- Run insecure wsrf container

     %twistd -no wsrf-ssl
       -- Run ssl secured wsrf container

     %twistd -no wsrf-gsi
       -- Run GSI secured wsrf container


FILES:

     client.py
       -- Barebones sample client script, sets up a locator and port.


DIRECTORIES:

     generated
       -- Directory with all code generated from the WSDL

     services
       -- Directory to populate with RPY scripts
       -- for "Test.rpy" the path will be "/wsrf/services/Test"

     twisted/plugins
       -- Directory to populate with plugins that twisted will look for.
       -- contains several service maker plugins equate to "wsrf",  
"wsrf-ssl", &
          "wsrf-gsi"





On Dec 9, 2008, at 11:56 PM, Lorena Carlo wrote:

> Hi Joshua,
>
> Please disregard my previous email, I found a pdf in the web with  
> the pyGridWare-tutorial-v1.4.0 documentation.  Now I have other  
> problem.  In the chapter Writing a NON-WSRF Stateful Web Service of  
> the tutorial, and the section:  "Deploy the service", I am trying to  
> run the following command:
>
> twistd -no wsrf --tree=SimpleMathService.SetUpResourceTree
>
> I get the following error: Unknown command: wsrf.  I am using python  
> 2.4 and twisted 8.1.0, is there a problem with this version?.  I  
> read in a forum that you would have this problem if you are using a  
> version of twisted older than 2.5, but in this case is not like  
> that.  I also downloaded twisted 2.5 and installed, but it is still  
> showing twisted 8.1.0 as the installed and running version.  Please  
> let me know what I can do about this, thanks. The following is the  
> output error:
>
> Usage: twistd [options]
> Options:
>     --savestats        save the Stats object rather than the text  
> output of
>                        the profiler.
> -o, --no_save          do not save state on shutdown
> -e, --encrypted        The specified tap/aos/xml file is encrypted.
>     --nothotshot       DEPRECATED. Don't use the 'hotshot' profiler  
> even if
>                        it's available.
> -n, --nodaemon         don't daemonize
> -q, --quiet            No-op for backwards compatibility.
>     --originalname     Don't try to change the process name
>     --syslog           Log to syslog, not to file
>     --euid             Set only effective user-id rather than real  
> user-id.
>                        (This option has no effect unless the server  
> is running
>                        as root, in which case it means not to shed all
>                        privileges after binding ports, retaining the  
> option to
>                        regain privileges in cases such as spawning  
> processes.
>                        Use with caution.)
> -l, --logfile=         log to a specified file, - for stdout
> -p, --profile=         Run in profile mode, dumping results to  
> specified file
>     --profiler=        Name of the profiler to use, 'hotshot' or  
> 'profile'.
>                        [default: hotshot]
> -f, --file=            read the given .tap file [default: twistd.tap]
> -y, --python=          read an application from within a Python file  
> (implies
>                        -o)
> -x, --xml=             Read an application from a .tax file (Marmalade
>                        format).
> -s, --source=          Read an application from a .tas file (AOT  
> format).
> -d, --rundir=          Change to a supplied directory before running  
> [default:
>                        .]
>     --report-profile=  DEPRECATED.
>                                               Manage --report- 
> profile option, which does nothing currently.
>                            --prefix=          use the given prefix  
> when syslogging [default: twisted]
>     --pidfile=         Name of the pidfile [default: twistd.pid]
>     --chroot=          Chroot to a supplied directory before running
> -u, --uid=             The uid to run as.
> -g, --gid=             The gid to run as.
>     --help-reactors    Display a list of possibly available reactor  
> names.
>     --version          Print version information and exit.
>     --spew             Print an insanely verbose log of everything  
> that
>                        happens. Useful when debugging freezes or  
> locks in
>                        complex code.
> -b, --debug            run the application in the Python Debugger  
> (implies
>                        nodaemon), sending SIGUSR2 will drop into  
> debugger
> -r, --reactor=         Which reactor to use (see --help-reactors for  
> a list of
>                        possibilities)
>     --help             Display this help and exit.
>
> module(name[, doc])
>
> Create a module object. The name must be a string; the optional doc  
> argument can
> have any type.
> Commands:
>   ftp              An FTP server.
>   telnet           A simple, telnet-based remote debugging service.
>   socks            A SOCKSv4 proxy service.
>   manhole-old      An interactive remote debugger service.
>   portforward      A simple port-forwarder.
>   web              A general-purpose web server which can serve from a
>                    filesystem or application resource.
>   inetd            An inetd(8) replacement.
>   news             A news server.
>   words            A modern words server
>   toc              An AIM TOC service.
>   dns              A domain name server.
>   mail             An email service
>   manhole          An interactive remote debugger service accessible  
> via
>                    telnet and ssh and providing syntax coloring and  
> basic line
>                    editing functionality.
>   conch            A Conch SSH service.
>
> /Library/Frameworks/Python.framework/Versions/Current/bin/twistd:  
> Unknown command: wsrf
>
> Thanks,
>
> Lorena
>
>
>
>
> Lorena Carlo wrote:
>> Hi Joshua,
>>
>> I am trying to generate the pygridware tutorial from source.  But I  
>> am getting the following error:  unable to parse tutorial-xinc.dbk;  
>> make: *** [pyGridWare-tutorial-v1.4.0] Error 6.  Please look at it,  
>> and let me know what I am missing.  Is the first time I am building  
>> this documentation form source, and I am not sure if I should  
>> install any dependency program.
>>
>> Here is the output:
>>
>> python -c "import pyGridWare.version as v; print 'VERSION=v%d.%d. 
>> %d' %v.Version" > makefile.cfg
>> echo "REMOTE_HOST=localhost" >> makefile.cfg
>> echo "REMOTE_DIR=/tmp/" >> makefile.cfg
>> echo "XSL_CHUNK_HTML=customize/custom_chunk.xsl" >> makefile.cfg
>> echo "XSL_SINGLE_HTML=customize/custom_single.xsl" >> makefile.cfg
>> echo "XSL_FO=customize/custom_fo.xsl" >> makefile.cfg
>> echo "DOCBOOK_XSLT_FILES=customize/docbook-xsl-1.72.0" >>  
>> makefile.cfg
>> echo "FOP=/usr/local/java/fop-0.20.5/fop.sh" >> makefile.cfg
>> echo "export XML_CATALOG_FILES=OCBOOK_XSLT_DIR/customize.xml" >>  
>> makefile.cfg
>> make: `makefile.cfg' is up to date.
>> hsc-6-27:Tutorial lcarlo$ vi makefile.cfg
>> hsc-6-27:Tutorial lcarlo$ make all
>> curl -O http://superb-east.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.72.0.tar.gz
>> % Total    % Received % Xferd  Average Speed   Time    Time      
>> Time  Current
>>                                Dload  Upload   Total   Spent     
>> Left  Speed
>> 100 2262k  100 2262k    0     0  30196      0  0:01:16  0:01:16  
>> --:--:-- 58383
>> tar zxf docbook-xsl-1.72.0.tar.gz -C customize
>> ln -s docbook-xsl-1.72.0 customize/docbook-xsl
>> xmllint --xinclude tutorial.dbk > tutorial-xinc.dbk
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %list.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %admon.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %linespecific.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %synop.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %para.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %informal.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %formal.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %compound.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %genobj.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %descobj.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:119: parser  
>> warning : PEReference: %ndxterm.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %list.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %admon.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %linespecific.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %synop.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %para.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %informal.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %formal.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %compound.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %genobj.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %descobj.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:129: parser  
>> warning : PEReference: %ndxterm.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:139: parser  
>> warning : PEReference: %linespecific.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:139: parser  
>> warning : PEReference: %synop.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:139: parser  
>> warning : PEReference: %para.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:139: parser  
>> warning : PEReference: %informal.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:139: parser  
>> warning : PEReference: %link.char.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:145: parser  
>> warning : PEReference: %tech.char.class; not found
>>       %local.refname.char.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %xref.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %gen.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %link.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %tech.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %base.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %docinfo.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %other.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:160: parser  
>> warning : PEReference: %ndxterm.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:208: parser  
>> warning : PEReference: %role.attrib; not found
>> <!ENTITY % set.role.attrib "%role.attrib;">
>>                                         ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:214: parser  
>> warning : PEReference: %ubiq.inclusion; not found
>>       %ubiq.inclusion;>
>>                       ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:224: parser  
>> warning : PEReference: %status.attrib; not found
>>       %status.attrib;
>>                      ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:225: parser  
>> warning : PEReference: %common.attrib; not found
>>       %common.attrib;
>>                      ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:235: parser  
>> warning : PEReference: %role.attrib; not found
>> <!ENTITY % setinfo.role.attrib "%role.attrib;">
>>                                             ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> warning : PEReference: %info.class; not found
>> <!ELEMENT setinfo %ho; ((%info.class;)+)
>>                                    ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : ContentDecl : Name or '(' expected
>> <!ELEMENT setinfo %ho; ((%info.class;)+)
>>                                    ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : expected '>'
>> <!ELEMENT setinfo %ho; ((%info.class;)+)
>>                                      ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : Content error in the external subset
>> <!ELEMENT setinfo %ho; ((%info.class;)+)
>>                                      ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> warning : PEReference: %beginpage.exclusion; not found
>>       %beginpage.exclusion;>
>>                            ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : Content error in the external subset
>>       %beginpage.exclusion;>
>>                            ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : Content error in the external subset
>> <!--end of setinfo.element-->]]>
>> ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : Content error in the external subset
>> <!--end of setinfo.element-->]]>
>>   ^
>> http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod:239: parser  
>> error : Content error in the external subset
>> <!--end of setinfo.element-->]]>
>>       ^
>> tutorial.dbk:57: element include: XInclude error : could not load  
>> docbook-files/core/simplewebservice.dbk, and no fallback was found
>> mkdir pyGridWare-tutorial-v1.4.0
>> xsltproc -stringparam base.dir pyGridWare-tutorial-v1.4.0/ - 
>> stringparam current.docid "progtutorial" -stringparam  
>> target.database.document docbook-files/olinkdb.xml  customize/ 
>> custom_chunk.xsl tutorial-xinc.dbk
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %list.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %admon.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %linespecific.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %synop.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %para.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %informal.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %formal.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %compound.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %genobj.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %descobj.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:115: parser  
>> warning : PEReference: %ndxterm.class; not found
>>       %local.divcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %list.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %admon.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %linespecific.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %synop.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %para.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %informal.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %formal.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %compound.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %genobj.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %descobj.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:125: parser  
>> warning : PEReference: %ndxterm.class; not found
>>       %local.refcomponent.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:135: parser  
>> warning : PEReference: %linespecific.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:135: parser  
>> warning : PEReference: %synop.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:135: parser  
>> warning : PEReference: %para.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:135: parser  
>> warning : PEReference: %informal.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:135: parser  
>> warning : PEReference: %link.char.class; not found
>>       %local.indexdivcomponent.mix;">
>>                                     ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:141: parser  
>> warning : PEReference: %tech.char.class; not found
>>       %local.refname.char.mix;">
>>                                ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %xref.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %gen.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %link.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %tech.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %base.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %docinfo.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %other.char.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:156: parser  
>> warning : PEReference: %ndxterm.class; not found
>>       %local.refinline.char.mix;">
>>                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:204: parser  
>> warning : PEReference: %role.attrib; not found
>> <!ENTITY % set.role.attrib "%role.attrib;">
>>                                         ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:219: parser  
>> warning : PEReference: %status.attrib; not found
>>       %status.attrib;
>>                      ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:220: parser  
>> warning : PEReference: %common.attrib; not found
>>       %common.attrib;
>>                      ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:230: parser  
>> warning : PEReference: %role.attrib; not found
>> <!ENTITY % setinfo.role.attrib "%role.attrib;">
>>                                             ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:236: parser  
>> warning : PEReference: %bibliocomponent.mix; not found
>>   | keywordset | itermset | %bibliocomponent.mix;)+)>
>>                                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:236: parser  
>> error : ContentDecl : Name or '(' expected
>>   | keywordset | itermset | %bibliocomponent.mix;)+)>
>>                                                  ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:236: parser  
>> error : expected '>'
>>   | keywordset | itermset | %bibliocomponent.mix;)+)>
>>                                                    ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:236: parser  
>> error : Content error in the external subset
>>   | keywordset | itermset | %bibliocomponent.mix;)+)>
>>                                                    ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:243: parser  
>> warning : PEReference: %setinfo.attlist; not found
>> <![%setinfo.attlist;[
>>                   ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:243: parser  
>> error : conditional section INCLUDE or IGNORE keyword expected
>> <![%setinfo.attlist;[
>>                   ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:243: parser  
>> error : Content error in the external subset
>> <!ATTLIST setinfo
>> ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:243: parser  
>> error : Content error in the external subset
>> <!ATTLIST setinfo
>>   ^
>> http://www.oasis-open.org/docbook/xml/4.1/dbhierx.mod:243: parser  
>> error : Content error in the external subset
>> <!ATTLIST setinfo
>>      ^
>> unable to parse tutorial-xinc.dbk
>> make: *** [pyGridWare-tutorial-v1.4.0] Error 6
>>
>> ---
>>
>>
>> Thanks,
>> Lorena
>>
>>
>> Joshua Boverhof wrote:
>>> There should be a README generated by wsdl2web.  I changed the  
>>> generation scheme I think back in May 2007 after  twisted-2.5 was  
>>> released.  The "test" code uses wsdl2web so this can be a good  
>>> resource to figure out to do things.
>>>
>>> -josh
>>>
>>>
>>>
>>> You may want to attempt generating the documentation from source,  
>>> I think I added updates but didn't update the web page ( in case  
>>> you have svn code )
>>>
>>>    "pyGridWare/docs/Guides/Tutorial/README"
>>>
>>>
>>>
>>> Here is some text from the INSTALL file:
>>>
>>>    Twisted >= 2.5.0
>>>    TwistedWeb >= 0.7.0
>>>          http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2
>>>
>>>          ** extension subcommands for the twistd command, as a way  
>>> to facilitate the
>>>          deployment of your applications. (This feature was added  
>>> in Twisted 2.5)
>>>
>>>
>>>
>>> $ cat pyGridWare/test/README
>>> ############################################################################
>>> # Automatically generated by wsdl2web.py
>>> # See LBNLCopyright for copyright notice!
>>> ###########################################################################
>>>
>>> Depending on the options provided to "wsdl2web", not all the below
>>> files and directories may be present.
>>>
>>>
>>> RUNNING SERVER:
>>>
>>>    %twistd -no wsrf
>>>      -- Run insecure wsrf container
>>>
>>>    %twistd -no wsrf-ssl
>>>      -- Run ssl secured wsrf container
>>>
>>>    %twistd -no wsrf-gsi
>>>      -- Run GSI secured wsrf container
>>>
>>>
>>> FILES:
>>>
>>>    client.py
>>>      -- Barebones sample client script, sets up a locator and port.
>>>
>>>
>>> DIRECTORIES:
>>>
>>>    generated
>>>      -- Directory with all code generated from the WSDL
>>>
>>>    services
>>>      -- Directory to populate with RPY scripts
>>>      -- for "Test.rpy" the path will be "/wsrf/services/Test"
>>>
>>>    twisted/plugins
>>>      -- Directory to populate with plugins that twisted will look  
>>> for.
>>>      -- contains several service maker plugins equate to "wsrf",  
>>> "wsrf-ssl", &
>>>         "wsrf-gsi"
>>>
>>>
>>>
>>>
>>> On Nov 19, 2008, at 1:08 PM, Lorena Carlo wrote:
>>>
>>>> Hi Keith and Joshua,
>>>>
>>>> I am trying to run the WSRF example in the Python WSRF  
>>>> Programmers' Tutorial. I installed in my MAC all the software  
>>>> specified in the following link:
>>>>
>>>> http://acs.lbl.gov/gtg/projects/pyGridWare/doc/tutorial/html/c622.html
>>>>
>>>> No problem with these steps in my mac.  I did have problems doing  
>>>> this in windows.
>>>>
>>>> Then I generated the web site as specified by the steps listed  
>>>> here:
>>>>
>>>> http://acs.lbl.gov/gtg/projects/pyGridWare/doc/tutorial/html/x740.html
>>>>
>>>> Everything looked fine, but the files server-config.tac and  
>>>> server-config.txt didn't generate.  I passed this but the next  
>>>> step is to modify the tac file!. I read that tac files are no  
>>>> longer needed by the wsdl2web.  My question is which is the  
>>>> equivalent file type?.  Do you have an updated version of the  
>>>> tutorial?.  Any suggestion?.
>>>>
>>>> I need to develop a wsrf interface for a project built using  
>>>> python that has a soap interface developed with ZSI.
>>>>
>>>> Thanks so much for your help,
>>>>
>>>> Lorena
>>
>>
>



More information about the pygridware-discuss mailing list