Cheers!
I actually tried to implement support for local roles in almost exactly the
same way as you did, but for some reason I didn't get it to work.
Perhaps I should look into the matter again... I just threw in the
user_names(), and getUserNames() into the LoginManager, added some dtml to
Hola,
I would like to know how to remove removed Products from the ZODB. This might
sound silly, but I tried out POPMail and the PTK-0.8, then I uninstalled them
and removed all the files. After I restarted Zope everything looked fine, no
trace of the Products in the Control Panel Products
Hi,
now I know how to generate a user in the acl_user folder via
dtml-var "acl_users.manage_users('Add',REQUEST,RESPONSE)"
Now, how to login a user automatically via DTML?
Thanks to all readers and perhaps writers :-)
___
Zope-Dev maillist -
I'm using Zope 2.2.2 and ZPatterns-0-4-2a2(3).
Now I'm REALLY looking forward to ZPatterns-0-4-3 ;-)
I can't wait until this weekend.
Get your Free E-mail at http://tacoma.zzn.com
Get your own Web-Based E-mail Service at
I should point out a couple of things that might not be
obvious (that I noticed only on a second 'read' of the explaination):
1) getPersistentItemIds() can be a pain.
dtml-in "defaultRack.getPersistentItemIDs()" sort
is straightforward enough... but what if I don't care if they are
sorted, or
Erp! Sorry... I think the ZClass and the Rack got out of sync...
I'll upload a new 'consistent' pair..
sorry!
-steve
"Itai" == Itai Tavor [EMAIL PROTECTED] writes:
Itai Hi,
Itai I installed the ToDoManager/ToDoProduct example
Itai
Ack.. sorry... I was making little changes last night to make sure the
ZClass was completely consistent with my explaination, and to make
sure I could start 'from scratch'. I created a 'new' ZClass, and a
'new' rack. This confused the 'old' Rack. (I didn't update the
ToDoManager.zexp, so if you
On Thu, 5 Oct 2000, Chris Withers wrote:
Sebastian Luehnsdorf wrote:
i'm having a strange problem with cookie based user authentication with
ms internet explorer 5.5 on windows. it seems that the browser (but only
this version and only under windows!) seems to "forget" its cookies, which
Yours is the third enquiry I've had about this in the past week !!!
You can do this in a very general way using wget which is freely
available and very configurable.
Another option is to look at ZMirror in
http://www.zope.org/Members/rossl/ZMirror - not because it will solve
all your problems,
Toby Dickenson wrote:
[cc to zope-dev.]
Ive been using Zope only with Python 2.0 recently.
That's great to hear. I'm frankly a bit surprised that
this works.
2.0 is a suprisingly conservative upgrade from 1.5.2
Did you have to make many changes to Zope?
All my critical
[Toby]
It looks like a little work is needed to support 2.0's garbage collection of
cyclic trash
[Neil]
Which 2.0 are you using?
I was basing my comments on my last attempt in mid July.
Ive just tried enabling WITH_CYCLE_GC again (and with the patch below)
and it does all seem to be
The Oracle8i recordset I'm retrieving includes a few columns which are
NUMBER(10,0) format which are milliseconds. I would like to divide each by
1000 and use the ROUND function to return a result with one decimal place,
e.g. ROUND(column1/1000, 1) returns 3.1 where column1 == 3080.
This works
At 04:01 PM 10/6/00 +, Ty Sarna wrote:
I think this is due to Shane's fix for allowing LM's as non-top-level
acl_users. I had it originally so that _owner was a class attribute,
which works fine. With the change, it was added as an instance
attribute. Now, UnownableOwner is just an empty
On 10/6/00 12:19 PM, "Walter Miller" [EMAIL PROTECTED] wrote:
The Oracle8i recordset I'm retrieving includes a few columns which are
NUMBER(10,0) format which are milliseconds. I would like to divide each by
1000 and use the ROUND function to return a result with one decimal place,
e.g.
This supercedes the original WriteLocking proposal which was initially just
to cover WebDAV's current write locking ability.
http://dev.zope.org/Wikis/DevSite/Proposals/WriteLocking
--
Jeffrey P Shell, [EMAIL PROTECTED]
http://www.zope.org/
Is this behavior correct?
See http://www.zope.org/Members/paulabrams/howto_deleteundeadzclassprops
for help.
It is not a bug per se, Python (upon which ZOPE is based) is built this
way, i.e. if you create a class with certain attributes, every instance
will keep those attributes, even if they
On Fri, 6 Oct 2000, Morten W. Petersen wrote:
It is not a bug per se, Python (upon which ZOPE is based) is built this
way, i.e. if you create a class with certain attributes, every instance
will keep those attributes, even if they are deleted from the class
itself, and new instances that are
Steve Spicklemire wrote:
Ack.. sorry... I was making little changes last night to make sure
the ZClass was completely consistent with my explaination, and to
make sure I could start 'from scratch'.
Ok, I just got through stepping through the walkthrough. Thanks! That
*was* a really simple
At 10:09 AM 10/5/00 -0700, James Johnson wrote:
I heard that it's possible to have a dtml only zpatterns based
example. I would like something like
Product
specialist
addObj
Zclass
index_html
readObj
Factory
Permission
Would this be a correct way to proceed?
Yes, except
At 07:59 AM 10/5/00 -0700, Michael Bernstein wrote:
"Phillip J. Eby" wrote:
Domain logic: methods which implement the basic behavior of an object, by
manipulating its attributes and by calling methods on itself or other
objects. (Including delegation to a Specialist, its own or another.)
At 02:24 PM 10/5/00 -0500, Steve Spicklemire wrote:
You're not using propertysheet providers, but DataSkin propertysheets
'installed' in a ZClass that directly inherits from DataSkin. Your use
of the "Data Skin Attribute Property Sheets" is primarily to associate
permissions with groupings of
At 03:44 PM 10/6/00 -0500, Michael Bernstein wrote:
Steve Spicklemire wrote:
Ack.. sorry... I was making little changes last night to make sure
the ZClass was completely consistent with my explaination, and to
make sure I could start 'from scratch'.
Ok, I just got through stepping through
"pje" == Phillip J Eby [EMAIL PROTECTED] writes:
- Propertysheets: You don't expressly say that Shared needs to
be a 'Common Instance Property Sheet'.
pje Actually, if it's intended to be shared across all instances,
pje there seems to me to be little reason to have it in
"pje" == Phillip J Eby [EMAIL PROTECTED] writes:
pje It is *not* undesirable to have ZClasses be subclasses of
pje your core logic base class. Just make sure they *also*
pje subclass DataSkin, or that you use the metaclass definition
pje stuff above. You've actually got a
Timothy Wilson wrote:
Hi everyone,
I've been working away on a ZClass-based product that will provide a
searchable job board for our Human Resources Dept. here at school. Things
were going along fine until, it seemed, out of the blue I started getting an
error message about an "Invalid
On Fri, 06 Oct 2000, Andy McKay wrote:
AUTHENTICATED_USER is not a string so need to cast it before doing the
string operation:
dtml-call "RESPONSE.redirect(URL1 + '/' + _.str(AUTHENTICATED_USER))"
dtml-var AUTHENTICATED_USER effectively does the same thing, it calls the
string
Also, you could always import the specific module for your database, and
create a db connection, then execute() and fetch() directly. Although, if
you are putting this in an external method, it would be wiser to use your
existing ZSQL methods ;]
Knight
[EMAIL PROTECTED]
On Fri, 6 Oct 2000,
Hi,
I'm trying to make an external method create and set some attributes of nodes
in an XML document. The following is a fragment of the code, and the error. I
can't even get a valid attribute created, let alone set. Does anyone have some
examples?
Please could you reply to me as well as the
Take a look at http://www.zope.org/Products/Zope/2.2.0/upgrading_to_220.
Ragnar
I have a Zope based web site running under 2.1.6. I want to move it
to a different machine which will be running 2.2.2. Can someone
identify the steps I need to take to make this move? What things do
I need to
I have a form comprising two selection lists, each supporting multiple
selection. I want the inputs to become parameters to a zsql method. I find
the input works if the user selects at least one item from each list, but
fails with a 'bad object id' message if either list is left unselected. I
I've got a ZClass "A" that subclasses another ZClass "B". I can use the
default propertysheets/B/manage method to update B's properties; but how do
I access the properties of A through the management interface?
Many thanks
Seb.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Either I don't fully understand your question, or I'm misinterpreting what
you are trying to accomplish.
If you are subclassing A, calling it B, then it _already_ has the
properties of A when it was subclassed. However, if you have two instances
running, one A, and one subclass of A called B,
Hi all,
What is the new way to apply the "__no_before_traverse__" using SiteAccess2
?
When I was younger, in SiteAccess1, I used to postfix my URL with this (ex :
http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not
apply ; this enabling to play with the management
It will be that somebody knows with I obtains to capture the last
register registered in cadastre in some 0 variable.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!
the new magic buzz word is : "_SUPPRESS_SITEROOT"
et voila !
Olivier.
- Original Message -
From: "Olivier Deckmyn" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 06, 2000 3:16 PM
Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__
Hi all,
What is the new
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Aitor Grajal Crespo
Director General
e-mail: [EMAIL PROTECTED]
INETSYS, S.L.
ETSI Informática
Ctra. Colmenar, km. 15,500
28049 MADRID
SPAIN
Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22
66
http://www.inetsysonline.com
I also don't get the LDAP Methods to work, even tried on 2.1.6.
The test tab works as usual, but when I use them in DTML I don't have success
either.
Can anybody who got them working please try to explain the syntax step by step?
The provided examples don't work for me.
That's what I do:
1. I
Hi there,
I've got a strange problem.
I want to upload an animated GIF to my Zope, but when I want to view it,
animation stops at the last frame instead of looping indefinitely.
When not uploaded to Zope, the animation works fine,
also, when I download the GIF by rightclick from a Zope site
Hi there,
I've got a strange problem with animated GIFs:
They work fine in any browser.
Uploading to Zope, viewing it.
Animation goes up to the last frame, but instead of looping
indefinitely, it stops at the last frame.
Downloading that file from Zope, viewing it in any browser outside
Hi all.
Correct me, if i am wrong, but AFAIK ZServer (coming with Zope)
is multi-threaded by default, whereas Apache/Zope uses PCGI or
FCGI and is *not* multi-treaded.
Best regards,
Ansgar W. Konermann
eMail: [EMAIL PROTECTED]
WWW: http://www.inf.tu-dresden.de/~ak26
Okay, has anything been done at all?
Where would I start? What's left to do?
Petru Paler contributed some preliminary work:
http://classic.zope.org:8080/Collector/1360/view
While I think that this is a good thing and I'm glad he did it,
I think that experience has shown that just
Concurrency Level: 25
Time taken for tests: 1.807 seconds
Complete requests: 1000
Failed requests:137
(Connect: 0, Length: 137, Exceptions: 0)
Non-2xx responses: 864
Total transferred: 660974 bytes
HTML transferred: 473471 bytes
Requests per
Why do you test the one with ZServer and the other with Apache?
If you want correct results you've to test both with ZServer or both with
Zope behind Apache. Not?
Tom.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
The Oracle8i recordset I'm retrieving includes a few columns which
are NUMBER(10,0) format which are milliseconds. I would like to
divide each by 1000 and use the ROUND function to return a result
with one decimal place, e.g. ROUND(column1/1000, 1).
This works as expected in SQL*Plus. It
I asked this question a couple of months ago but received no response, so I
figured I would ask it again to see if anyone can answer the question...
We are running Zope behind an Apache server. We've got things configured so
that it mostly works. However, we noticed that the "breadcrumbs" list
Hi, Seb
Go to the "Views" tab of the ProductItem ZClass. You should be able to
add another tab referring to propertysheets/Picture/manage. This has
worked for me in a similar situation.
-- Jim Washington
Seb Bacon wrote:
Thanks,
I'll rephrase it using my real life problem:
I have a
Hi again,
this time I'd like to put some html-code in a variable via dtml-let.
Unfortunately, when I have the following:
dtml-let myText="'h1this is some html/h1'"...
results in the following string: "lt;h1gt;this is some htmllt;/h2gt;
What can I do against it???
TIA
Lars
Hi all,
I associated a Z SQL Method to a class. This class MUST have attributes
but I obtain a Zope error on them. Did anyone know why and what I can do
???
Thanks
Fred
HERE IS THE ERROR
Error
Zope has encountered an error while
both of them go through the apache server, cos I have installed a proxy server (the
reason is that windows is located on a different machine, and the proxy redirects to
the windows zserver)
thanks.
*** REPLY SEPARATOR ***
On 06/10/2000 at 17:27 Tom Deprez wrote:
Why do you
Hi James,
Are you using SiteAccess? If not.. it would probably be worth a try.
It will take care of setting BASE0 etc to soemthing intelligent.
-steve
"James" == James Howe [EMAIL PROTECTED] writes:
James I asked this question a couple of months ago but received
James no
You need to set an environment variable and restart zope, see the
siteaccess2 documentation on zope.org for more details.
-Simon
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!
Inside magazine http://www.inside.com/ has a feature on Zope:
"Can Free Software Manage Your Web Site?"
---| Steven D. Majewski (804-982-0831) [EMAIL PROTECTED] |---
---| Department of Molecular Physiology and Biological Physics |---
---| University of Virginia
Since installing ZopeLDAP 1.0b4, I get the following error when trying to
access the security tab at the root directory:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value: string member test
Are you using Zope behind apache under Linux? Or it's a direct request to
ZServer? As I can see the files are not the same, try to bench exactly the same
file...
On Fri, 06 Oct 2000, you wrote:
Hi, I have a problem with Zope speed.
I've done benchmarking in two machines, with the same
Hi,
I was working with zope and try to use the "-D" flag within it but a
terrible thing happend when i was restarting the server:
Starting ZopeTraceback (innermost last):
File "/usr/sbin/zope-z2", line 558, in ?
exec "import "+MODULE in {}
File "string",
I forgot:
Zope version 2.2.0-1 (On a Debian Potato i386)
Thanks,
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com
___
Zope maillist - [EMAIL PROTECTED]
Hi,
Does anyone know any Java software (commercial or not) that is equivalent to
WorldPilot?
regards,
Hung Jung
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about
Hi,
Where can I find out more information on HTTP user authentication? I have
seen the RFC before, but it's a bit too technical to follow. I think Python
does not include the authentication/cookie handling part probably because
out of concern about abuses. :)
Does anyone know where I can
Hi,
My name is Aaron.
I am trying to set up zope with (atleast) three roles : manager, admin,
user.
I'd like to give the last two the bare minimum Security permissions
possible and adding them as needed later on.
My problem is that I can't seem to figure out, specifically, which
permissions
I'm using some example code that defines an External Method to process
a form. That External Method calls another utility function to log
some data. I'm not quite sure what choices I have for creating that
utility function, so I created another External Method for it. Both
functions are in the
Title: Zope, Threads and Signals
It all began when I was a small child, but I'll skip ahead a bit Last night I wrote a network client class with plans to use it as an External Method in Zope. Works great from the command line. My first real Python program. Mom and Dad were so proud!
From: James Howe [EMAIL PROTECTED]
We are running Zope behind an Apache server. We've got things configured so
that it mostly works. However, we noticed that the "breadcrumbs" list at
the top of a workspace screen doesn't work correctly.
This was broken with respect to virtual hosting, as
Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an
excuse in the form of a NEW TEST with the Win32 ZServer running properly?
;-)
Especially to all Linux supporters for the badwill of the emails title.
I would really be interested in its correct results.
Cheers
Hi all!
Peter Bengtsson wrote:
Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an
excuse in the form of a NEW TEST with the Win32 ZServer running properly?
Definitely, yea!
I would really be interested in its correct results.
Me too. :-)
Cheerio!
Ansgar
Hung Jung Lu wrote:
Hi,
Does anyone know any Java software (commercial or not) that is equivalent to
WorldPilot?
regards,
Hung Jung
take a look at the java.apache.org projects.
relevant ones james (mailet server)
jetspeed (icalendar functionality and content feeds in a portal
On Fri, 6 Oct 2000, Tom Deprez wrote:
Why do you test the one with ZServer and the other with Apache?
If you want correct results you've to test both with ZServer or both with
Zope behind Apache. Not?
Tom.
Exactly, or atleast both ZServer. You can definately attribute some
latency due to
To get ACCURATE timings, you need to create the situations almost
identical, other than the operating system.
So, that means:
1) Windows and Linux tunings should be similar; are you running extra
daemons on the Linux box that Windows isn't (smtp, ftp, etc)?
2) The server architecture should
Aaron, you left out the error. What was it...
On Fri, 6 Oct 2000, Aaron Straup Cope wrote:
Hi,
My name is Aaron.
I am trying to set up zope with (atleast) three roles : manager, admin,
user.
I'd like to give the last two the bare minimum Security permissions
possible and adding them
External methods are not extensions to any Zope classes. External methods
allow you to incorporate external functionality from Zope, as you already
know. You can define classes that are referenced in your functions though.
Keep in mind, that the external method that you created that gets called
cw,
Are you spawning additional threads by chance? Or just the threads that
Zope creates?
Knight
[EMAIL PROTECTED]
On Fri, 6 Oct 2000, Wilkinson Charlie E wrote:
It all began when I was a small child, but I'll skip ahead a bit Last
night I wrote a network client class with plans to use
Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an
excuse in the form of a NEW TEST with the Win32 ZServer running properly?
;-)
Especially to all Linux supporters for the badwill of the emails title.
I would really be interested in its correct results.
Doh! Sorry.
Error Type: KeyError
Error Value: ZopeTime
On Fri, 6 Oct 2000, knight wrote:
Aaron, you left out the error. What was it...
On Fri, 6 Oct 2000, Aaron Straup Cope wrote:
Hi,
My name is Aaron.
I am trying to set up zope with (atleast) three roles : manager, admin,
Does anyone have a simple example of creating and setting the properties of a
node within an xml document, using xmldocument and external methods.
thanks
Matt
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No
73 matches
Mail list logo