I've created a proposal to gather feedback for implementing a facility
to transform arbitrary XML directly into arbitrary Python objects. It's
at http://dev.zope.org/Wikis/DevSite/Proposals/XMLToObjects. Please
comment on the Wiki discussion page associated with it.
One thing that has been bothering me is that I can't easily test my
ZSQL Methods if they accept a date type unless I completely fill all the
date arg types.
For example, if the sqlmethod has argument type
startdate:date=''
and in the body I have
...
When i use the test form, I can't lea
This is just a SWAG (Strategic Wild-Ass Guess), but Ty and I have been
having a problem with the search feature in Squishdot 0.7.0 that seems
possibly to be related. Our trace of the problem shows that catalog
searches from the SquishSite return objects which are wrapped with a
*different* acquis
It would be wonderful if ZCatalog could support something like a SQL where
clause for doing complex searching. Is this anything anybody has in the
works or would be interested in working on?
I forsee something like Catalog(query_expr="title contains 'foo' and not
title contains 'bar' or title con
I'm getting an error in Catalog when I specify sort_on on a field-index,
and also search on a text index.
Zope 2.2.1, Python 1.5.2
Error Type: TypeError
Error Value: loop over non-sequence
Traceback (innermost last):
File lib/python/ZPublisher/Publish.py, line 222, in publish_module
File l
I took an example of strucuture text from the document string of StructuredText.py
- Text encloded by double quotes followed by a colon, a URL, and concluded
by punctuation plus white space, *or* just white space, is treated as a
hyper link. For example:
"Zope":http://www.zope.org/ is ..
Sorry for the cross post and so on, panicked with a deadline approaching.
The error was caused my a cataloguing error after intialisation.
Thanks.
- Original Message -
From: "Andy McKay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 10:0
Brian Lloyd wrote:
>
> Here's a quick thing to try- if 'subject' is an attribute
> of your Article class, try adding:
>
> class Article(...):
> subject__roles__=None
>
> then restart and see if you still get unauthorized...
yup, I do :-(
And besides, 'subject' is already in __ac_permissions
Brian, Shane and anyone else who's interested...
Help! I'm dying here ;-)
(and yes, I know it's a Friday)
Chris Withers wrote:
> > Are you certain that you are not losing the acquistion context
> > on your Articles somehow?
Well, okay, I don't think so... here's the source causing the problem:
"Phillip J. Eby" wrote:
>
> >I see that Folders w/ customizer support now have their own
> >Data-plug-ins tab (they didn't before), and that it does direct
> >delegation, rather than filtered forwarding.
>
> Direct delegation? I've lost you here. If it's doing that, then
> something's broken.
> > Are you certain that you are not losing the acquistion context
> > on your Articles somehow?
>
> There's a good chance that's right :S
> Is there anything bad about storing wrapped attributes in a persistent
> object?
> Butch seemed pretty religious about unwrapping objects before
> he stor
Brian Lloyd wrote:
> (I'm coming to this late, so ignore me if this is covered
> ground...)
It isn't :S
> Are you certain that you are not losing the acquistion context
> on your Articles somehow?
There's a good chance that's right :S
Is there anything bad about storing wrapped attributes in a
At 10:37 AM 9/1/00 +0100, Steve Alexander wrote:
>Steve Alexander wrote:
>
>> Phillip J. Eby wrote:
>>
>> > Now, I can provide *unfiltered* linkage by direct delegation, but this
>> > would mean dropping the ability to selectively take only certain
>> > attributes
>> > or sheets from the parent.
Chris McDonough wrote:
> Did you run the Article class through Globals.default__class_init__()?
> E.g. (at the module level), e.g.:
>
> Globals.default__class_init__(Article)
Yup, all the possible related classes have been run through this...
cheers,
Chris
Bill Anderson wrote:
>
> OK, I've bee trailing this bug for quite some time, and haven't found a solution
>other than not use 2.2.1 :(
> (snip)
> File /local/ZopeSites/TestBed/lib/python/OFS/DTMLMethod.py, line 172, in __call__
> (Object: mailPasswordTemplate)
> File /local/ZopeSites/Tes
Steve Alexander wrote:
> Phillip J. Eby wrote:
>
> > Now, I can provide *unfiltered* linkage by direct delegation, but this
> > would mean dropping the ability to selectively take only certain
> > attributes
> > or sheets from the parent. But I suppose that, compared to dropping the
> > capabili
The following dtml-snipplet:
bis:
produces the following output:
2000 8 1
2000 8 2
2000/08/01 2000/08/02 <--- correct
31.07.2000 bis: 01.08.2000 <--- one day less if used with fmt
Bug or feature ?
there is no TZ enviromentvariable set.
Server is Zope-2.2.0 on RH 6.2 behind
In looking over the code for ZWiki/ZC, I see a lot of places with the
following construct:
apply(foo.__call__, some, arguments)
Why not just say
foo(some, arguments)?
Examples of the construct from ZWikiPage.py:
apply(self.aq_parent.standard_wiki_page.__call__,
18 matches
Mail list logo