Andy McKay <[EMAIL PROTECTED]> said:
>The heavy lifting, logic and anything more should be in python. I won't
>pretend its particularly easy Zope hurt quite a lot some times, but we got
>there..
>
I think this is the biggest problem of Zope. Contrary to Python, Zope
makes it /hard/ to do things th
Hi
I am trying to run a stored procedure from Zope against Sybase 11.0.3.
However it is returning the following error
Error Type: Error
Error Value: ct_command(): user api layer: external error: This routine
cannot be called while results are pending for a command that has been sent
to the serve
Hi
I have modified ZDGChart to display multiple
columns of data returned from a ZSQL query. However I have not been able
to find a way to display a legend which describes what data each line on the
graph represents.
Can anyone tell me how to display a
legend.
Thanks
Austin
Chris Withers wrote:
>
> > and also nice
> > wolud be a search-function which gives an administrator a list of all the
> > users with all the roles in the system.
>
> That's not going to be pretty, as that's an _awful_ lot of data ;-)
membership can be set up to do this :^)
Can you say ZCatal
Paul Everitt wrote:
>
> I'll take the blame on this miscommunication. I'm the one that told
> Gary not to take support contracts on PTK.
>
> We have a nearly ironclad support policy: we don't support stuff that
> isn't official. We won't support ZDiscussions, for instance. If we had
> to supp
I need to intercept NotFoundErrors, but am banging my head against a problem
Normally this can be done by changing the standard_error_message, but there I have
some questions:
considering a minimal standard_error_message:
--
Error!
-
Tim Cook wrote:
> The folder doesn't exist until after the first response. So you
> can't GET it's context in the same call you create it in.
>
> Make more sense?
It makes perfect sense, but still doesn't work. I returned it to the two
file call setup as you gave it to me and I get the same Auth
Hi,
I have already copied the gadfly table to other mechine.There when i use
a existing query for lookup table details it works. But i can't add a new
record using the existing
script.
Thanks,
jacintha
___
Zope ma
> The Doctor What <[EMAIL PROTECTED]> wrote:
> * Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]:
> > Chris Withers <[EMAIL PROTECTED]> wrote:
> > 'lambda' is actually a keyword, not a function, and hence works
> > fine in PM0.1.7. 'map()', 'filter()', et al., were deemed to
> > be susceptible to
I'm trying to write a method that works with dtml-tree. It works great,
until I try to expand a node :(
Here's what I've got:
class Foo:
__allow_access_to_unprotected_subobjects = 1
def __init__(self, item):
self.title = item.title
self.items = item.items
def tpVal
I built a user folder with LoginManager, tested it on normal folder. Then I tried to
build a folder zclass containing the tested LM user folder, hoping that, when I
instantiate this zclass, I have a folder ready for customized authentication. I tried
this on objectmanager baseclass and ofs:folder
Max,
Try self.REQUEST.PARENTS[-1].
Phil
- Original Message -
From: "Max M" <[EMAIL PROTECTED]>
To: "Zope@Zope. Org" <[EMAIL PROTECTED]>
Sent: Thursday, November 30, 2000 10:50 PM
Subject: [Zope] Finding PARENTS in an external method.
| I have an external Method. How do I call PARENTS[
Thank you...
just what the doctor ordered.
It was the passing of PARENTS that did the trick I was looking for.
Regards maxm
Max M. W. Rasmussen,Denmark. New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-
Specializat
PARENTS is part of REQUEST so:
def test(self, REQUEST):
msg = ''
for parent in REQUEST.PARENTS:
msg = msg + str(parent.absolute_url()) + ''
return "%s" % msg
Is a convoluted way of listing parents urls...
--
Andy McKay, Developer.
ActiveState.
- Original Message
Inspired by this I wrote a quote db in about 3 minutes using Zope, sometimes
I just love it to bits.
http://dna.yi.org/Quotes
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Andy McKay" <[EMAIL PROTECTED]>
To: "Andy McKay" <[EMAIL PROTECTED]>; "Chris Withers"
<[EMA
hi, Max
i tried this and it works. the output is pretty ugly if you return it to
Zope though. maybe someone knows how to clean it up.
def index(self, PARENTS, REQUEST):
n = PARENTS[0].objectItems(['File','DTML Document','Folder','ListMate','DTML
Method'])
n.sort()
#n.reverse()
r
I have an external Method. How do I call PARENTS[-1] from it?
in dtml it would be:
I have tried something like:
self.PARENTS[-1].objectValues('Folder')
I have also checked if PARENTS get passed to the method like:
myMethod(self, PARENTS=None):
To get a list of the root's Folder's, but
I have to say though reading his site a few interesting quotations popped up
(http://www.amk.ca/quotations/python-quotes.html)
I picture a lump of inanimate flesh (a result from a relational database
query) being infused with the spark of life (object behavior, aka class).
-Jim Fulton on the
> > Hi guys,
> > I found this article written by someone from Quixote concerning Zope,
> > describing its weaknesses and possible future development
> > http://www.amk.ca/python/writing/why-not-zope.html
>
> This guy is quite far up his own arse :-)
I agree and Im just agreeing with what Chris sa
I am a zope newbie and I have downloaded Xen to try. I realise it is no
longer being developed but has anyone got it to work with Zope2.2.4?
Whatever I try and open it gives me the following error message:
AttributeError
Sorry, a Zope error occurred.
Traceback (innermost last):
File /usr/loca
Hi,
Michel Pelletier wrote:
>
> Lalo Martins wrote:
> >
> > Hi all
> >
> > I'trying to write a document on ZUnit and Unit Testing in
> > general, following Michel's and Amos' documentation process. I
> > wrote an outline, and now I'm stuck :-) anyone with a few free
> > moments is welcome to tak
Alexander DePauli writes:
> ... using Zope management interface with custom objects ...
The form actions of the Zope management interface are not
built in. They are methods of the managed objects.
This implies, if your objects override these management
method, you get different behaviour.
I
> ... dtml-tree with SQL tables ...
There is a HowTo on zope.org about advanced usage of dtml-tree.
Search for "tree".
I think, it covers the use of "dtml-tree" with SQL tables.
Alternatively, you may search the list archive (at NIP).
There are several threads on this issue.
Dieter
Greetings Zope Fans,
I don't know how long this has been on the Web, but it got my attention:
http://www.powernethk.com/~gobeyond/t2server/model_z.html
Very interesting . . .
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman
http://www.zope.org/Members/alanpog/zmysqlda_steps
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of K H
Subrahmanyan
Sent: Thursday, November 30, 2000 4:08 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [Zope] MySQL
hi,
I want to add MySQL to
I have this (internal) PythonMethod called filtered_meta_types
user=self.REQUEST.AUTHENTICATED_USER
meta_types=[]
if callable( self.all_meta_types ):
all=self.all_meta_types()
else:
all=self.all_meta_types
for meta_type in all:
if meta_type.has_key( 'permission' ):
# this is always fals
From: The Doctor What <[EMAIL PROTECTED]>
> For those of us who are trying to figure out everything at
a low
> level, where would this be in the source?
Here's an example of adding stuff to '_' using a monkey
patch Product.
Contents of __init__.py of directory Products/MoreBuiltins:
def _AddBui
seb bacon wrote:
>> Rob Miller wrote:
>>
>> In a manner of speaking, yes. That is, Apache needs to have correctly
>> configured VirtualHost directives to handle the requests from the
>> outside world appropriately, and Zope needs to have the SiteAccess
>> product installed with correctly co
Where'd the collector go? The link on the resources page is
pointing to:
http://www.zope.org:8080/Collector
Ciao!
--
When a trainstation is were a train stops what is a workstation?
The Doctor What: "What, Doctor What" http://docwhat.gerf.org/
[EMAIL PROTECTED]
On Thu, Nov 30, 2000 at 01:20:06PM +, Chris Withers wrote:
> Paul Everitt wrote:
>
> >
> > Brian veto'd it, declaring it too ambitious. He's basically waiting for
> > Zope to better figure out how to keep presentation separate from the object
> > model.
>
> Been pretty quiet on the lists W
Hi Zopistas,
My first message :-)
How can access Python objects' methods from a DTML Method.
I get An 'Unauthorized' exception. I would like to do the following:
etc...
where 'newObj()' is defined in an Extensions module as:
import someObject # a module defining the s
I'll take the blame on this miscommunication. I'm the one that told
Gary not to take support contracts on PTK.
We have a nearly ironclad support policy: we don't support stuff that
isn't official. We won't support ZDiscussions, for instance. If we had
to support everything we made available,
Hi,
Is there a reason why the attribute 'having' doesn't exists?
I want to use
this way when the sql-test tag contains nothing, also the having clause is
not attached to the query.
Why does 'where' exists and 'having' not? Is there another way to mimic
'having'?
Thanks, Tom.
_
Congrats on the clusters. We are all waiting for a full detailed
description of how it works.. (ie, logs, products, load balancing,
speed, etc).
J
At 1:26 AM -0500 11/30/2000, emf wrote:
>Zopatistas!
>
>Zope.org is finally living in its new home.
>
>Right now, you may be getting zope.org throu
I have a similar need and have found the How-To's cryptic also. I too get
company1 over and over.
Original Message dated 11/30/00, 3:12:00 PM
Author: Mike Kelland <[EMAIL PROTECTED]>
Re: [Zope] dtml-tree stuff:
I think I may not have asked a specific enough question last time round.
I'll try
Note that Gadfly does not support the DATE datatype. You can use VARCHAR to
store a string, or switch to a different database, such as PostgreSQL (my
personal preference) or MySQL. The answer to your question is found here:
http://www.chordate.com/kwParsing/gadfly.html#table
The main Gadfly pa
* Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]:
> Chris Withers <[EMAIL PROTECTED]> wrote:
> 'lambda' is actually a keyword, not a function, and hence works
> fine in PM0.1.7. 'map()', 'filter()', et al., were deemed to
> be susceptible to being used in DOS attacks, and hence are not
> permitte
> > I found this article written by someone from Quixote concerning Zope,
> > describing its weaknesses and possible future development
> > http://www.amk.ca/python/writing/why-not-zope.html
>
> No CVS is also a problem, but with the improvements in the History tab
> and the like, this less of an
emf wrote:
>
> Zopatistas!
>
> Zope.org is finally living in its new home.
>
> Right now, you may be getting zope.org through the old apache, so don't
> be surprised if it's a tad slow. By late tomorrow, just about
> everybody's dns should have updated to the new IP address.
>
> If you want t
Thanks a lot! Do you know whether it's also possible to set a folder
based variable within Zope to allow for different messages when
logging into different folders?
Ragnar
>On Thu, 30 Nov 2000, Ragnar Beer wrote:
>
>> Hi Zopistas!
>>
>> When users connect to a restricted area a dialog box po
I think I may not have asked a specific enough
question last time round. I'll try it again. I've been looking
through the How-To's and the documentation and the dtml-tree stuff that I have
found seems exceedingly cryptic. The closest that I've come to a solution
is the following code:
Chris Withers <[EMAIL PROTECTED]> wrote:
>
> Terry Kerr wrote:
> >
> > Hi,
> >
> > Is there any way to get access to inbuild python functions like 'filter'
> > and 'lambda' within pythonMethods?
>
> I think the powers that be decided they were 'unsafe' :-(
>
> Can anyone confirm or deny?
'la
On Thu, 30 Nov 2000, Ragnar Beer wrote:
> Hi Zopistas!
>
> When users connect to a restricted area a dialog box pops up that
> looks more or less like this:
>
>
> Enter user name for Zope at myhost:
> User: _
> Password: _
> ---
Dennis Nichols <[EMAIL PROTECTED]> wrote:
> At 11/29/00 03:42 PM, ethan mindlace fremen wrote:
> >Dennis Nichols wrote:
> >
> >>At 11/28/00 11:34 AM, albert boulanger wrote:
> >>
> >>>Whether to go with portal products from Plumtree or iPlanet.
> >>
> >>If this implies that you are considering us
Hi Ruediger,
You might consider ZPatterns. It allows you to develop
applications with ZODB, and then, later, 'easily' switch to
other forms of attribute storage for your objects.
-steve
> "Alexander" == Alexander DePauli <[EMAIL PROTECTED]> writes:
Alexander> Hi Zopistas!
Al
Daryl Stultz wrote:
> It DID import into the root folder (I did this purely by accident!) I
> was then able to recreate the called-for classes and IT WORKED!! I
> haven't figured out HOW yet but I will. Thanks a lot for the help, and
Maybe we COULD say the how is, "because it creates one object(
> Hallo,
> I'got a fundamental question:
> Why should you switch from the built-in authentication mechanism to a
> product like GUF or Login-manager??
You can choose the storage for your userdata yourself,
which may be practical for i.e.
- huge user base and/or you also like to store adresses e
Hi Zopistas!
When users connect to a restricted area a dialog box pops up that
looks more or less like this:
Enter user name for Zope at myhost:
User: _
Password: _
Where and how can I change the con
Daryl Stultz wrote:
>
> Tim Cook wrote:
> >
> > Daryl,
> >
> > Import the DarylProduct.zexp into your Products folder.
> > The DarylExample.zexp can go anywhere in you Zope tree.
>
> As luck would have it, the file did not import into Products (File
> /usr/local/Zope/lib/python/OFS/CopySupport.p
Paul Everitt wrote:
>
> Brian veto'd it, declaring it too ambitious. He's basically waiting for
> Zope to better figure out how to keep presentation separate from the object
> model.
Been pretty quiet on the lists WRT HiperDOM, which I got the impression
was going to be about this. Are there a
>
> ServerName www.foobar.com
> RewriteEngine on
> RewriteRule ^/(.*) https://www.foobar.com/
>
of course i actually meant:
ServerName www.foobar.com
RewriteEngine on
RewriteRule ^/(.*) https://www.foobar.com/$1
___
Zope
Karim Yaici wrote:
>
> Hi guys,
> I found this article written by someone from Quixote concerning Zope,
> describing its weaknesses and possible future development
> http://www.amk.ca/python/writing/why-not-zope.html
This guy is quite far up his own arse :-)
It's probably more useful to work ar
On Tuesday 28 November 2000, at 19 h 19, the keyboard of "Jason C. Leach"
<[EMAIL PROTECTED]> wrote:
> Is there a faster way to access Zope? I find I wate too long for page
> refreshing and updates.
Several are documented. I like the Squid accelerator.
http://www.zope.org/Members/htrd/howto/s
On Wednesday 29 November 2000, at 8 h 20, the keyboard of Eric Walstad
<[EMAIL PROTECTED]> wrote:
> I like to let javascript handle the validation, it lightens the load a
> little on the server.
You still need server-side validation, otherwise, a rogue user can set up a
form which will allow
[EMAIL PROTECTED] wrote:
>
> Why should you switch from the built-in authentication mechanism to a
> product like GUF or Login-manager??
When you want to do something that the built in user folder can't, like
authenticate against usernames and passwords stored in an SQL table, or
and LDAP server
Hi Zopistas!
we are looking for a method to do a better integration of mysql
3.23.27 with zope 2.2.2. (we are using the Z MySQL database adapter Z
MySQL DA 1.1.3.)
We have to store data in a mysql database - we can´t use ZODB
because we need the data accessible by other programs via ODBC.
We h
K H Subrahmanyan wrote:
>
> hi,
>I want to add MySQL to my ZOPE.
>
> Please help me in installing it.
>
> Please give the links, necessary information.
How about actually doing some work for yourself for a change rather than
expecting everyone else to do it for you?
Chris
___
hi,
I want to add MySQL to my ZOPE.
Please help me in installing it.
Please give the links, necessary information.
thanks
bye
subrahmayan.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or
>>Zope has a function "get_valid_userids()".
>>Now my question;
>>How is it possible to get something like (username;role;path)?
>refer to the ZQR:
> http://zdp.zope.org/projects/zqr/ZopeQR
>and look for the section describing the AUTHENTICATED_USER object.
>
Thanks seb,
but i need to get (usern
Hallo,
I'got a fundamental question:
Why should you switch from the built-in authentication mechanism to a
product like GUF or Login-manager??
Except of the different login interface, I dosn't see any advantage??
Please correct me.
What I'm looking for is a product that redirects the authenticated
* Sven B. <[EMAIL PROTECTED]> [001130 10:34]:
> Zope has a function "get_valid_userids()".
> Now my question;
> How is it possible to get something like (username;role;path)?
sven,
refer to the ZQR:
http://zdp.zope.org/projects/zqr/ZopeQR
and look for the section describing the AUTHENTICAT
Olaf Zanger wrote:
>
> hi everybody,
>
> after a long 10h struggle with installing and running zope i found some
> interesting things.
>
> may anybody be able to explain these to me?
>
> i run a suse7.0 system with a suse zope installation on 8080.
> i changed the access file to a new account
* Bowyer, Alex <[EMAIL PROTECTED]> [001129 22:21]:
> Essentially what we are doing is saying "If you want to View this object,
> you have to have the Manage Properties permission"
>
> There are probably better ways, but if it ain't broke don't fix it.
>
> I don't understand why you have to choo
> In a manner of speaking, yes. That is, Apache needs to have correctly
> configured VirtualHost directives to handle the requests from the
> outside world appropriately, and Zope needs to have the SiteAccess
> product installed with correctly configured SiteRoots and access rules.
> It tak
Guessing that you mean a Gadfly table: you need to copy the table you need
from the ../var/Gadfly/.. directory to your other machine.
hth, cb
Cornelis J. de Brabander
==
Department of Education, Leiden University
P.O.Box 9555, NL-2300 RB Leiden
+31 71 527 3
Chris McDonough wrote:
>
> The place to start might be to actually help write some documentation.
> There is a docs process description at
> http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/Documentatio
> nGuide . This should at least give you an idea of how to proceed.
Doug,
If
Terry Kerr wrote:
>
> Hi,
>
> Is there any way to get access to inbuild python functions like 'filter'
> and 'lambda' within pythonMethods?
I think the powers that be decided they were 'unsafe' :-(
Can anyone confirm or deny?
cheers,
Chris
___
Zop
Bocquillon Philippe wrote:
>
> Hello everybody,
>
> I would like to know if Zope provides the functionality for the user of a
> portal to have his personalized page of the portal.
Checkout the PTK:
http://www.zope.org/Products/PTK
Chris
___
Zope m
Zope has a function "get_valid_userids()".
Now my question;
How is it possible to get something like (username;role;path)?
Thanks in advance
Sven
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts
Hi, I have a question about ZPatterns:Rack.
I got 10 items in a Rack and I want to remove those objects.
By reading Rack.py , I know that manage_pack can do this for me if
getItem(key) return None for those objects.
Well, how to return None?
One way I found is that: under "Storage" manage_tab, the
On Tuesday 28 November 2000, at 19 h 2, the keyboard of Robert Senger
<[EMAIL PROTECTED]> wrote:
> The ZPoPyDA module refuses to work properly.
Give at least your operating system and the traceback you get (I had good help
from the list because I gave the details).
ZPyGreSQL works fine for m
Jason C. Leach wrote:
> hi,
>
> With Apache in front of zope, do you disable Medusa?
No. Apache merely acts as a proxy server. Apache gets a request,
passes the request on to Zope, Medusa/Zserver serves up the results back
to Apache, which then hands them out to the original requester.
> A
hi everybody,
after a long 10h struggle with installing and running zope i found some
interesting things.
may anybody be able to explain these to me?
i run a suse7.0 system with a suse zope installation on 8080.
i changed the access file to a new account name.
with this account name i can do
Hi,
Just to try , by using import/export i ported the product to another
windows 98 machine.I am able to open the whole folder in the ported machine.
The problem is i am not able to add a new record there using the existing
script.If write new script to add record to the same table it works .
Toby Dickenson wrote:
>
> On Mon, 20 Nov 2000 14:20:41 -0800, "Andy McKay"
> <[EMAIL PROTECTED]> wrote:
>
> >Is there an updated version or product similar to jcNTUserFolder (allowing
> >NT authenitcation in Zope) that works in Zope 2.2.x? Or am I going to have
> >to upgrade jcNTUserFolder?
>
>
75 matches
Mail list logo