[Grok-dev] grok.XMLRPC hangs

Michael Haubenwallner michael at d2m.at
Wed Apr 1 16:29:11 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tobias Daub wrote:
> Hi There,
> 
> I'm basically using Grok to display data in our intranet.
> 
> Currently I'm running two version (for testing), one with Grok 0.14 and 
> the other with 1.0a.
> 
> I'm using the grok.XMLRPC server to import new data into the ZODB. From 
> another python script I connect via xmlrpclib to the XMLRPC server and 
> call a method that gets a list (that contains the data) as parameter.
> 
> I know that this might not be the most secure or elegant way to do this, 
> but 1st, the data is public anyway, 2nd it runs in intranet only and I 
> found it really easy to implement.
> 
> The problem is now that with Grok 0.14 everything works fine, but with 
> Grok 1.0a the call of the XMLRPC method kind of "hangs". A funny thing I 
> noticed is, when I abort the script that connects to the server, then 
> the XMLRPC method call is invoked on the server....
> 
> 

Hi, this is a known bug with Grok1.x when using paste.httpserver (WSGI).
https://bugs.launchpad.net/grok/+bug/332063

Workaround 1
https://bugs.launchpad.net/grok/+bug/332063/comments/1

Workaround 2
create your project the old zopectl style
grokproject --zopectl projectname

Regards
Michael

- --
http://blog.d2m.at
http://planetzope.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ086Xl0uAvQJUKVYRAsgPAJ9jpi6Gl5odW4A3X4Lm1pHqN3+IJQCcCE+Q
FBAtRpWlkIN4deYSli2vLLA=
=7gyG
-----END PGP SIGNATURE-----



More information about the Grok-dev mailing list