Re: [Zope3-Users] Announcement - jsonserver 1.0 alpha, JSON-RPC for Zope3

2005-06-23 Thread Jim Washington
make it a utility, I don't know. :-) Thanks, Stephan. That sounds appropriate. It seemed unpythonic to duplicate the code for all content-type listeners to add one content-type listener. Regards, -Jim Washington ___ Zope3-users mailing list Zope3-users

[Zope3-Users] Announcement - jsonserver 1.0 beta1, JSON-RPC for Zope3

2005-07-27 Thread Jim Washington
dependencies. jsonserver is available at http://zif.hill-street.net/jsonserver For more about JSON and links about JSON-RPC, see http://en.wikipedia.org/wiki/JSON . -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

[Zope3-Users] Announce: jsonserver-1.0beta3 and jsonserver-1.1alpha

2005-09-09 Thread Jim Washington
without a complete page refresh. You may transport HTML or XML snippets as javascript strings, so there is little difference technically. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Announce: jsonserver-1.0beta3 and jsonserver-1.1alpha

2005-09-09 Thread Jim Washington
PS. username anonymous and no password are needed for read access to the svn repository. -Jim ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] pau and zope.manager

2005-10-03 Thread Jim Washington
for one of its valid principals Or did I miss something in the documentation that gets around this? -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] pau and zope.manager

2005-10-04 Thread Jim Washington
to deactivate the utility if there is anything important in the ZODB. On the good side, it will prep me for the next project, which I think will require ldap. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

Re: [Zope3-Users] Problem: Could not locate Zope software installation!

2005-10-06 Thread Jim Washington
) with python 2.3.5 and and GCC 3.4.4. Just a guess. Do you have net-zope/zopeinterface installed? It provides a package named zope in /usr/lib/[system python]/site-packages. This might make weird namespace issues. -Jim Washington ___ Zope3-users mailing list

[Zope3-Users] Eric3 unit tests and debugger?

2006-01-05 Thread Jim Washington
full PyQt applications than packages within another framework. Has anyone tried to get those working for z3 project development? -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] More MySQL

2006-01-12 Thread Jim Washington
/-- BTW, psycopgda has a similar configuration entry, and might need the same fix. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Problem: Could not locate Zope software installation! - solution

2006-01-16 Thread Jim Washington
the same problem I please anybody competent to fix this. This has been reported to the collector: http://www.zope.org/Collectors/Zope3-dev/528 My (local) fix was to make a symlink, lib64-lib, in the instance directory. This also works. -Jim Washington

Re: [Zope3-Users] Problem: Could not locate Zope software installation! - solution

2006-01-16 Thread Jim Washington
My (local) fix was to make a symlink, lib64-lib, in the instance directory. This also works. Oops, I meant swhome directory. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: Please Guido, pick me, pick me!

2006-02-03 Thread Jim Washington
/story.php?relyear=2006itemno=53 We could do something similar: Zope 3: Excellence in Web Component Design OK, I'm not a marketer, but something in that vein could help to gain community standing. -Jim Washington ___ Zope3-users mailing list Zope3-users

[Zope3-Users] Announce: httpgz - gzip compression

2006-03-18 Thread Jim Washington
. Enjoy! -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: Re : [Zope3-Users] formlib problem

2006-04-19 Thread Jim Washington
it, thanks to you all guys), I can't figure it out. Maybe these questions will help. What is an Items object? Why are you calling a page template that needs title_or_name with an Items object as the context? -Jim Washington ___ Zope3-users mailing list

Re: Re : Re : [Zope3-Users] formlib problem

2006-04-19 Thread Jim Washington
is requested. You may wish to set a different template for your ItemsForm class. Have you tried subclassing form.SubPageEditForm instead of form.EditForm? -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

[Zope3-Users] More fun with WSGI/zope.paste

2006-05-07 Thread Jim Washington
be used at the same time. But reconfiguring is just a matter of a few files. For more information go to http://zif.hill-street.net/headincludes . The readme is at http://zif.hill-street.net/headincludes/README.txt . development status: works for me -Jim Washington

Re: [Zope3-Users] More fun with WSGI/zope.paste

2006-05-09 Thread Jim Washington
. This will be handled in a most appropriate and satisfactory manner. With the caveats above, sounds great. :-) Good. You will find that my code has the very liberal Academic Free License referenced. If you need different, I will be happy to relicense. -Jim Washington

Re: [Zope3-Users] How to make catalog working?

2006-05-16 Thread Jim Washington
(ICatalog,[name]) for item in some_function_that_returns_the_items(): catalog.index_doc(intids.register(item), item) The most important part is the intids.register(item) statement. -Jim Washington ___ Zope3-users mailing list Zope3-users

[Zope3-Users] Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-16 Thread Jim Washington
.vtdata.org . It's fast and does the async communication with little fuss. jsonserver is available at http://zif.hill-street.net/jsonserver -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-16 Thread Jim Washington
Benji York wrote: Jim Washington wrote: I have a public example (not open-sourced, sorry - line-of-business app) of jsonserver in action at http://www1.vtdata.org . It's fast and does the async communication with little fuss. Very cool. Thanks! (and apologies to non-US-ians about the US

Re: [Zope3-Users] How to make catalog working?

2006-05-16 Thread Jim Washington
think. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] New Request Variable?

2006-05-19 Thread Jim Washington
? Suggestions (or solutions), anyone? I fear I may have missed something obvious. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] New Request Variable?

2006-05-19 Thread Jim Washington
Fred Drake wrote: On 5/19/06, Jim Washington [EMAIL PROTECTED] wrote: Request is also the wrong place. It's slotted; I cannot add variables. Isn't this what the request annotations are for? -Fred Thanks, Fred. That is, of course, the correct (and quite elegant) solution. -Jim

[Zope3-Users] Dojo Support

2006-05-30 Thread Jim Washington
At the moment, Dojo is just a new toy for me, but I see a lot of potential for rich user interfaces using Zope 3 and Dojo. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: Dojo Support

2006-05-31 Thread Jim Washington
Rocky Burt wrote: On Tue, 2006-30-05 at 14:49 -0400, Jim Washington wrote: I am just starting to try-out Dojo (http://dojotoolkit.org). Interestingly, the RPC it does is JSON-RPC. Since I am well-acquainted with JSON-RPC support in Zope 3, I have put together a package for making Dojo

Re: [Zope3-Users] zc.tables integration with Zope3

2006-08-23 Thread Jim Washington
Martijn Faassen wrote: Jim Washington wrote: This is probably a bit premature, but I have been doing some thinking about reordering/batching of large sets. My current (not-quite-ready-for-prime-time) solution involves factoradics, and I have done a bit of a write-up on my blog, http

Re: [Zope3-Users] zc.tables integration with Zope3

2006-08-23 Thread Jim Washington
annotations to the container/data source, particularly when sqlite may already be in the mix for memoizing factorial and/or factoradic calculations. It may still turn out that this is all not worth the effort in practice. -Jim Washington ___ Zope3-users

Re: [Zope3-Users] Re: zc.tables integration with Zope3

2006-08-25 Thread Jim Washington
this morning. It now memoizes to an sqlite db, and is much much faster overall. http://blog.hill-street.net -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread Jim Washington
skinning within this framework), but if there is interest, I should be able to release a preview in the near future. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Reportlab threadsafe solution?

2006-09-26 Thread Jim Washington
that there is a utility for this already, but search in the source for queue or serialize or lock gets me a lot of stuff that does not seem to relate to what I want. This looks like it would be a relatively simple utility. Has this been done yet? Any hints? -Jim Washington

[Zope3-Users] ANN: JSONView

2006-10-08 Thread Jim Washington
information the README (ftest) is at http://codespeak.net/svn/z3/jsonserver/trunk/JSONViews.txt . This is new code, so comments/suggestions are welcome. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

Re: [Zope3-Users] App server tracebacks for functional tests

2006-10-26 Thread Jim Washington
500 error. If you are using zope.testbrowser, you can set browser.handleErrors=False to get a more informative traceback. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] getId in zope3?

2006-11-05 Thread Jim Washington
a look at zope.traversing.api If you have an older source tree, look for zope.app.traversing.api which is deprecated, but OK to use until 3.5. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3

Re: [Zope3-Users] Menus

2007-02-19 Thread Jim Washington
title=Main Page action=/index.html permission=zope.Public / browser:menuItem title=About Us action=aboutus.html permission=zope.Public / /browser:menuItems - Jim Washington ___ Zope3-users mailing list

Re: [Zope3-Users] Crash

2007-03-12 Thread Jim Washington
in Zope 3, AFAICT. I found last week that sending out emails through a very slow SMTP server tied up Zope 3's server threads waiting for that server's response, which led to in turn to Zope 3 being nonresponsive. -Jim Washington ___ Zope3-users mailing

Re: [Zope3-Users] Is DTML Deprecated In Zope3?

2007-03-20 Thread Jim Washington
://zif.svn.sourceforge.net/svnroot/zif/zif.xtemplate/trunk/src/zif/xtemplate -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Initial File Releases - Zif Collective

2007-04-14 Thread Jim Washington
of the packages will find utility in other python efforts. Our software packages are available as eggs or tar.gz sources at the Python Cheese Shop and Sourceforge. We welcome your feedback and participation to improve our offering. You will find our landing page at: zif.sourceforge.net Regards, Jim

Re: [Zope3-Users] Blog naming proposals

2007-05-28 Thread Jim Washington
expressionz or noize might be fun. Certainly better than anything with a z prepended. If you really want your product to have a stand-out name, check whatever you are evaluating on google. If there are no matches, all the better. For example: junglefig . (It's a planet earth reference.) -Jim Washington

Re: [Zope3-Users] Calling a view in a doc test

2007-06-04 Thread Jim Washington
/') #browser.handleErrors = False browser.open('/somepath/someview.html') -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: Zope3 still not compatible with Python2.5

2007-09-11 Thread Jim Washington
is stopped and restarted. Is this more helpful? Regards, -Jim Washington 2007-09-11T22:42:56 ERROR SiteError http://localhost:8080/@@index.html Traceback (most recent call last): File /home/jwashin/buildout-eggs/tmprA8xJD/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py

Re: [Zope3-Users] best way to get started nowadays?

2007-09-22 Thread Jim Washington
. Where's zopeproject's home? Chris Start at pypi (cheeseshop). You easy_install it. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: AW: [Zope3-Users] Re: header trouble

2007-10-10 Thread Jim Washington
is not present, parsers and browsers cannot be sure what the character encoding is. The HTTP header should have precedence when the document is delivered over the web, but on disk, you do not have that header. More at: http://www.trilithium.com/johan/2005/09/meta-http-equiv/ -Jim Washington

Re: AW: AW: [Zope3-Users] Re: header trouble

2007-10-10 Thread Jim Washington
Roger Ineichen wrote: Hi Jim Right now I can see the following usecases: - File is encoded on file system - PageTemplate class defines a encoding - HTML template defines encoding - is there a encoding option in ZCML? Are more components involved in this? Hi, Roger Are you

Re: [Zope3-Users] Find the zope3 instance home directory (or the /var directory)

2007-11-07 Thread Jim Washington
get the location from an instance: d = Decimal('0.12') getsourcefile(d.normalize) '/usr/lib64/python2.5/decimal.py' From there, standard os.path functions can get you locations relative to the location given. HTH, -Jim Washington ___ Zope3-users

Re: [Zope3-Users] z3c.jsonrpc response content type bug

2008-10-28 Thread Jim Washington
specification. It maybe should continue to be the default for compatibility with creaky old web browsers. But maybe it can be changeable (if you *really* know what you are doing) so that the outgoing document can meet the expectations of client libraries. - Jim Washington