Hi all,
Is there a way to search for all the records where one indexed field
equals another indexed field?
Equivalent SQL query would be:
SELECT * FROM table WHERE field1 = field2
I know I can get all the unique values for field1 and then do a search
for records where field2 = [unique field1
--On 21. Oktober 2005 13:00:35 +0200 Etienne Labuschagne
[EMAIL PROTECTED] wrote:
Hi all,
Is there a way to search for all the records where one indexed field
equals another indexed field?
no.
-aj
pgpT5FL2z86QW.pgp
Description: PGP signature
On Thu, Oct 20, 2005 at 09:43:24PM +0200, Dieter Maurer wrote:
asonhe is not there, but vitester has a __getitem__ method which
executes a PageTemplateFile instance and returns it. I.e.
Thus, it returns a string.
However, ZPublisher requires that all intermediate traversal
steps return an
I have a desktop program that develops DTML
pages for a ZOPE/PLONE website. I planned to upload them via FTP or
WebDav.
When they arrive they are empty.
I can upload graphics via FTP and the images arrive OK. So basic
transfer works.
Any ideas on setting or changes needed to make the text
Vangelis Mihalopoulos wrote:
Tino Wildenhain wrote:
The threading is handled by the ZDA, so you can use query() or what
the method actually is.
I couldn't find a method like that... any hints?
Have a look at the ZSQL methods code, I remember this being pretty old
and convoluted :-(
Vangelis Mihalopoulos wrote:
I am loading the zodb in read-only mode. If someone breaks into Zope
What do you mean by this?
(which btw i believe to be very secure)
The why do you consider it a risk?
i don't want him to be able to
directly access (read/write) the database i am using.
Anders Bruun Olsen wrote:
Ahh.. that makes sense I guess. It just seems counterintuitive that you
can return a string in a normal function, but not in __getitem__.
I have a feeling you're after traverse_subpath, which is available in
both Python Scripts and Page Templates...
cheers,
Chris
Garito wrote:
Sorry for the off topic but I try to subscribe to ParsedXML dev mail
list but I can't (mail list doesn't exists)
Doesn't look like it. Is ParsedXML an Infrae or a Zope Corp product?
You could always try asking about your problem on this list...
cheers,
Chris
--
Simplistix -
Jürgen Herrmann wrote:
hmm, i'm a bit confused now. do you say that changeOwnershipType() only
has to do with executeable ownership?
Yep, I think so...
especially i have to know which methods of the IOwned interface are
essential and have to be reimplemented properly on my objects.
Why do
Dieter Maurer wrote:
Be careful with External Methods and locks:
An External Method does not share the module namespace
with the same External Methods in other workers.
Thus, you should not use locks defined in the source file
of the External Method (but outside in a true Python
Florent Guillaume wrote:
Actually all third-party userfolders I know of reimplement allowed() in
terms of calling getRolesInContext().
SUF doesn't, it aims to keep Simple ;-)
I would like to see this fixed in Zope though, I agree the code that's
there probably isn't much fo a performance
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Withers wrote:
Jürgen Herrmann wrote:
hmm, i'm a bit confused now. do you say that changeOwnershipType() only
has to do with executeable ownership?
Yep, I think so...
especially i have to know which methods of the IOwned interface
I've been tasked with rapidly developing a demo for a proposed workflow
application using Zope. I have plenty of CMF experience including
customized workflows based on DCWorkflow, but I'm wondering what other
workflows are actively supported and of production quality. In the past
I've read blurbs
--On 21. Oktober 2005 12:18:31 -0400 Robert Boyd [EMAIL PROTECTED]
wrote:
I've been tasked with rapidly developing a demo for a proposed workflow
application using Zope. I have plenty of CMF experience including
customized workflows based on DCWorkflow, but I'm wondering what other
On 10/21/05, Chris Withers [EMAIL PROTECTED] wrote:
Garito wrote:
Sorry for the off topic but I try to subscribe to ParsedXML dev mail
list but I can't (mail list doesn't exists)
Doesn't look like it. Is ParsedXML an Infrae or a Zope Corp product?
You could always try asking about your
Etienne Labuschagne wrote at 2005-10-21 13:00 +0200:
Is there a way to search for all the records where one indexed field
equals another indexed field?
Equivalent SQL query would be:
SELECT * FROM table WHERE field1 = field2
If the index has only a few different values,
enumerating them may be
D Washburn wrote at 2005-10-21 10:03 -0400:
I have a desktop program that develops DTML pages for a ZOPE/PLONE
website. I planned to upload them via FTP or WebDav.
When they arrive they are empty.
This usually works.
Are you sure, your files do not contain bugs?
Can you upload the same file
Anders Bruun Olsen wrote at 2005-10-21 15:06 +0200:
...
Ahh.. that makes sense I guess. It just seems counterintuitive that you
can return a string in a normal function, but not in __getitem__.
Can can return a string from __getitem__ (without problem),
*but* you cannot use this string during
Hi,
We're running Zope 2.7.3, Plone 1.0.something
relatively large Data.fs ( 300MB )
Decent amount of anonymous traffic,
But relatively low administrative use (1 - 2 users usually).
Could these factors be brining the machine down?
I've been getting intermittent 'corrupted data' messages for
On Fri, 2005-10-21 at 15:50 -0400, Aaron Bauman wrote:
Hi,
Hi,
We're running Zope 2.7.3, Plone 1.0.something
relatively large Data.fs ( 300MB )
But relatively low administrative use (1 - 2 users usually).
Could these factors be brining the machine down?
What products? just Plone 1.0.x?
On 21 Oct 2005, at 20:50, Aaron Bauman wrote:
Hi,
We're running Zope 2.7.3, Plone 1.0.something
relatively large Data.fs ( 300MB )
Decent amount of anonymous traffic,
But relatively low administrative use (1 - 2 users usually).
Could these factors be brining the machine down?
I've been
Folks,
First post from a
real newbie, I have currently got Zope installed under a test server and would
like to ensure that I get things right for our production environment. Being a
complete newbie to Zope I would like to be sure I am doing things right and
understood the numerous
On 10/18/05, Chris Crownhart [EMAIL PROTECTED] wrote:
Good day,
I am wondering if/how I could control the permissions on an object based
on the value of an attribute.
So, as an example, I have multiple users, and multiple values for the
category field. I would like User A to access the
Russel,
we do install our zope/plone instances in a simmilar way you did.
in addition to the steps you described we the do the following
- make Zope-2.7 and Zope-2.8 a softlink to the respective source
directory and then create the instances from
the Zope-2.X/bin directory. the
Please send all Zope related questions to a Zope related mailing
list and not to me privately.
Usually, I do not answer questions sent to me privately!
I added zope@zope.org.
Christoph Berendes wrote at 2005-10-21 14:12 -0400:
I created a mount point, /default_site and a corresponding directory
Log message for revision 39545:
Collector #1926: add tests for both not-yet-encrypted and pre-encrypted
passwords handed to '_doAddUser'.
Changed:
U
Zope/branches/Zope-2_8-branch/lib/python/AccessControl/tests/testUserFolder.py
U
Log message for revision 39547:
Forward-port tests for collector #1926 from 2.8 branch.
Changed:
U Zope/trunk/lib/python/AccessControl/tests/testUserFolder.py
-=-
Modified: Zope/trunk/lib/python/AccessControl/tests/testUserFolder.py
Log message for revision 39550:
Collector #1927: Don't save rendered HTML / warnings as persistent
attributes.
Changed:
U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
U Zope/branches/Zope-2_8-branch/lib/python/Products/ZReST/ZReST.py
A
Log message for revision 39551:
Forward-port fix for collector #1927 from 2.8 branch.
Changed:
U Zope/trunk/lib/python/Products/ZReST/ZReST.py
A Zope/trunk/lib/python/Products/ZReST/tests/
-=-
Modified: Zope/trunk/lib/python/Products/ZReST/ZReST.py
Log message for revision 39552:
Repair copy-paste error.
Changed:
U
Zope/branches/Zope-2_8-branch/lib/python/Products/ZReST/tests/test_ZReST.py
-=-
Modified:
Zope/branches/Zope-2_8-branch/lib/python/Products/ZReST/tests/test_ZReST.py
Tim Peters wrote:
I think it's worse, but mostly because a key with name name is also
an option in _related_ sections, but with unrelated meaning. For
example, if you had a nested zeoclient section there it could also
have specified a name key, which would have nothing to do with the
zodb key
[Tim Peters]
Note: sometimes _internals_ use deprecated gimmicks in order to
support deprecated gimmicks too, and then stacklevel=3 is too small.
It's happened so rarely in ZODB that I haven't tried to do something
about that yet.
[Chris Withers]
Interestingly, I've found that even this is
[Tim Peters]
I think it's worse, but mostly because a key with name name is also
an option in _related_ sections, but with unrelated meaning. For
example, if you had a nested zeoclient section there it could also
have specified a name key, which would have nothing to do with the
zodb key
Tim Peters wrote:
[Tim Peters]
I think it's worse, but mostly because a key with name name is also
an option in _related_ sections, but with unrelated meaning. For
example, if you had a nested zeoclient section there it could also
have specified a name key, which would have nothing to do with
On Fri, 2005-10-21 at 11:13 -0400, Jim Fulton wrote:
Not really: a DB's database_name was introduced specifically for the
new-in-ZODB-3.5 multidatabase feature, and has no meaning or use apart
from its multidatabase role. That's better explained in the ZConfig
description section for
[Chris McDonough]
| Note that I don't have a strong opinion about this either way but I will
note that at least Zope 2's subclass of the zodb config handler will
need to continue to be willing to use the section title as the database
name for backwards compatibility reasons, as people who have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The default usecase for running tests should be a developer making
changes and running tests. In this case, silent mode is unhelpful;
it gives no feedback until the very end of the run, which takes a
**long** time for the whole Zope2 tree. The dots
Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The default usecase for running tests should be a developer making
changes and running tests. In this case, silent mode is unhelpful;
it gives no feedback until the very end of the run, which takes a
**long** time for the whole
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim Fulton wrote:
Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The default usecase for running tests should be a developer making
changes and running tests. In this case, silent mode is unhelpful;
it gives no feedback
Chris Withers wrote:
Jim Fulton wrote:
I made an attempt to document the hardware setup. I announced this
a long time ago. If you have the right privileges, you can:
svn co svn+ssh://svn.zope.org/repos/zope.org/system-documentation/trunk
I don't think it's up to date, but it does
Ciao Dario,
I want to use MySQL in my Zope Installation.
But I'm not able to install software (I don't really understand what
shall I use and what shall I do...) I'm using
Zope: 2.8.1
MySQL 4.1
Windows XP
You have to install MySQL for Python:
When I try to execute MySQL-python.exe-1.2.0.win32-py2.4.exe I receive
a
message Box saying: ...MSVCR71.dll not found (I receive a message in
italian..) Thanks Dario
I'm sorry, but I don't live in the Windows world...
With a quick google-search I found:
.NET Framework SDK Version 1.1:
Cynthia Kiser wrote:
open. FYI just closing the database connection via the ZMI does not
release the idle connections Oracle still sees.
Yes, that button actually does nothing ;-)
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
Dieter Maurer wrote:
Usually, there is not need for a sophisticated connection
management. Just do not create unnecessary DA instances.
Yes, this is the most common mistake...
Bugs should be fixed and not worked around with more complex
software (complex connection management).
Well, it
44 matches
Mail list logo