[Zope-dev] zope.formlib - Overriding default widget attributes

2012-04-12 Thread Alex Leach
if this is a duplicate. I think my original message got rejected as I hadn't subscribed... -- Alex Leach Department of Biology University of York York YO10 5DD United Kingdom www: http://bioltfws1.york.ac.uk/~albl500 EMAIL DISCLAIMER: http://www.york.ac.uk/docs/disclaimer/email.htm -- Alex Leach

[Zope-dev] WebSockets API

2012-11-25 Thread Alex Leach
Hi, I was wondering if anyone has implemented a WebSockets server API using the zope toolkit? I've just submitted a blueprint on Launchpad (https://blueprints.launchpad.net/zopetoolkit-project/+spec/websockets-api), but thought it might be quicker and easier to discuss how one could do this

Re: [Zope-dev] WebSockets API

2012-11-27 Thread Alex Leach
haven't any experience with bit-wise operations, so could do with some help with parsing that first byte of the frame. Finally, I think testing will be a bit of b*tch, as Zope would also need a WebSocket client to perform the testing... Hope that helps. Cheers, Alex Wolfgang -- Alex Leach BSc

Re: [Zope-dev] WebSockets API

2012-11-27 Thread Alex Leach
On Tuesday 27 Nov 2012 10:07:03 Adam GROSZER wrote: Some investigations and trials showed about half a year ago that a Autobahn + Twisted + pyramid combination worked. YMMV Thanks. That is a completely different and separate application stack cf. the standard grok dependencies. I've

Re: [Zope-dev] WebSockets API

2012-11-27 Thread Alex Leach
On Tuesday 27 Nov 2012 07:04:43 Jim Fulton wrote: Actually, it is. zope.server is based on asyncore. Having said that, my impression is that web sockets is largely (or completely) orthogonal to WSGI and the HTTP-based publishing infrastructure. From the RFC: The WebSocket Protocol

Re: [Zope-dev] WebSockets API

2012-11-28 Thread Alex Leach
Hi, just sending again to the list... On Tuesday 27 Nov 2012 16:51:13 Andreas Jung wrote: Use the right tool for each problem. Zope is really not the right choice for implementing a websocket server. Why is it the wrong tool for the job? I read up a bit on asyncore, and see it's supposedly a

[Zope-dev] Buildout - including per-user site-packages dir.

2013-06-25 Thread Alex Leach
Hi, I'm trying to configure buildout.cfg so that paster looks for eggs in my home folder's site packages directory, as per PEP 370[1]. In buildout.cfg, I have the line: include-site-packages = true But packages I've installed in my home folder aren't found when my app is run (with

[Zope-dev] Buildout - including per-user site-packages dir.

2013-06-25 Thread Alex Leach
Hi, I'm trying to configure buildout.cfg so that paster looks for eggs in my home folder's site packages directory, as per PEP 370[1]. In buildout.cfg, I have the line: include-site-packages = true But packages I've installed in my home folder aren't found when my app is run (with

Re: [Zope-dev] Buildout - including per-user site-packages dir.

2013-06-25 Thread Alex Leach
Hi Johannes, Thanks for the reply. On Tue, 25 Jun 2013 19:13:15 +0100, Johannes Raggam raggam...@adm.at wrote: AFAIK, you just need to create a .buildout directory in your home directory, put the file default.cfg in it with this content: [buildout] eggs-directory =

Re: [Zope-dev] Buildout - including per-user site-packages dir.

2013-06-26 Thread Alex Leach
Hi again, I got the same error with zpasswd, so had to repeat the process with that section of buildout.cfg, too... Thought I'd explain the specifics, while I remember... On Tue, 25 Jun 2013 19:44:48 +0100, Alex Leach albl...@york.ac.uk wrote: The buildout configuration that seemed