--On 24. September 2006 10:49:12 -0500 Perry Smith [EMAIL PROTECTED]
wrote:
Is it possible to have the same host running ZOPE 2 and ZOPE 3? I would
like to put both on a Mac OS X server. I have Apache 2.2 running on it
and PostgreSQL version 8.1.3 running my existing software. I'd
On Thu, Jun 23, 2005 at 08:55:05PM +0200, Thomas Adams wrote:
hi all,
I have specific folder name art in Zope in which i installed a user
folder, and a user
with manager role. now i want anaonymous user to access i.e view
the website ubeneath the folder art. Therefore i granted View
Paul Winkler schrieb:
On Thu, Jun 23, 2005 at 08:55:05PM +0200, Thomas Adams wrote:
hi all,
I have specific folder name art in Zope in which i installed a user
folder, and a user
with manager role. now i want anaonymous user to access i.e view
the website ubeneath the folder art.
Barry Drake [EMAIL PROTECTED] wrote:
I'm getting an error in CMFCore.utils in the
_mergedLocalRoles function. The error is:
Exception Type TypeError
Exception Value can only concatenate tuple (not
list)
to tuple
Note, this problem is due to a non-core product
I modify utils.py, after saving a copy, in order to
obtain diagnostic output. Then I delete utils.pyc,
after saving a copy, in order to force a recompile
(even used compilezpy.py for this a couple of times).
Zope never seems to use the new version.
Restart Zope. Python will pick up the
Thank you Phillip. I modified the zope.conf file as
you suggested and did
sudo ./zope stop
... usual msg
sudo ./zope start
... usual msg
Then generated the error. The error log shows the
same output as before. Not only should the line
number be one higher, I also put a dummy variable name
Then generated the error. The error log shows the
same output as before. Not only should the line
number be one higher, I also put a dummy variable name
on that line to generate a stupid error msg.
How can it not be getting to that code? I've searched
for another Zope instance, but
Thanks for your help. I really needed another brain
to bounce things off of so I can get out of the rut
I'm in. You've given me some fresh ideas to try.
Thanks.
Barry
--- Phillip Hutchings wrote:
Then generated the error. The error log shows the
same output as before. Not only should the
Phillip Hutchings wrote:
Then generated the error. The error log shows the
same output as before. Not only should the line
number be one higher, I also put a dummy variable name
on that line to generate a stupid error msg.
How can it not be getting to that code? I've searched
for another
Dean Deb Ekstrand wrote:
I'm trying to figure out Zope (on a time crunch, too), and I'm wondering how
to do something. How can I access HTTP variables in my DTML code?
Specifically, I want to return code specific to the user's browser. I know
that HTTP has provisions for determing
If a product contains only a Help object, it means that the product is a
Python Product, rather than a ZClass Product.
No broken box in front of the Product name, hmm...
Does Zope raise any errors when you try to start it? Try to remove the whole
TinyTable folder and reinstall it again after
I am still newbie in Zope, so my question may be stupid - sorry.
I have problem with access to method. Example - There are two methods: A
and
B. Method A contains common information, accessible for all user (include
anonymous). Source code in method B updates data for method A and access
On Tue, 19 Dec 2000, Michal Krejza wrote:
I have problem with access to method. Example - There are two methods: A and
B. Method A contains common information, accessible for all user (include
anonymous). Source code in method B updates data for method A and access for
method B is restrict
Go to the Control Panel and click on Products. The TinyTable product is probably going
to have a little "broken box"-icon.
Click on it and wish that it will tell you the error so that you can fix it.
Good luck, Peter
I'm running Zope on a Win98 machine; downloaded, unstuffed, and
installed
No, that's the problem. The icon isn't a broken box, but a regular
product icon. Clicking on the link shows that there's one item in
TinyTablesPlus, a Help document; when I open that, it tells me that
there are no items in TinyTablesPlus. So Zope seems to be seeing the
product, but not adding
Hi,
Chris Gray schrieb:
Here's a fragment from a table that allows sorting by clicking the header
in a dtml method named 'displayTable':
table
tr
tha href="displayTable?sort_key=ID+desc"ID/a/th
tha href="displayTable?sort_key=product"Product/a
/tr
dtml-in
Richard Blumberg writes:
Navigation works when called directly,
does not work when included in "index_html"
Navigation:
dtml-in objectValues
Is this a bug in Zope, or am I doing something wrong?
Not directly.
Almost surely, your "index_html" is a DTML
Here's a fragment from a table that allows sorting by clicking the header
in a dtml method named 'displayTable':
table
tr
tha href="displayTable?sort_key=ID+desc"ID/a/th
tha href="displayTable?sort_key=product"Product/a
/tr
dtml-in "SQLSelectQuery(sort_key=REQUEST['sort_key'])"
Then feed
* Paul Winkler [EMAIL PROTECTED] [001127 19:54]:
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
RESPONSE doesn't seem
seb bacon wrote:
* Paul Winkler [EMAIL PROTECTED] [001127 19:54]:
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
Paul Winkler wrote:
seb bacon wrote:
* Paul Winkler [EMAIL PROTECTED] [001127 19:54]:
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried
You need to be careful when redirecting from an external Python wotsit.
RESPONSE.redirect raises an exception which can make the transaction get
rolled back.
This seems not to happen when called from dtml but I've seen it happen from
an external Python wotsit.
Note:
My use of wotsit above
Michel Pelletier wrote:
Paul Winkler wrote:
(snip)
Looking through various Zope docs, I thought RESPONSE.redirect might
work, but RESPONSE is not mentioned anywhere in Boring.py. Boring
only uses REQUEST.
So pass it RESPONSE:
def manage_addMyProduct(self, blah, blah, REQUEST=None,
Dieter Maurer wrote:
If you need it in the constructor, then you must
either pass in an object that is tied by acquisition
or REQUEST or RESPONSE itself,
or you must move the call out into the method
"manage_afterAdd" (where the object already is tied in).
Well, I don't have that method.
OK, this seems to work.
def manage_addMyProduct(self, id, title='', REQUEST=None,
RESPONSE=None):
self._setObject(id, MyProduct(id, title))
if REQUEST is not None:
whereto= REQUEST['URL3']
RESPONSE.redirect(whereto, lock=0)
--
.paul winkler
MAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Andy
McKay
Sent: Thursday, November 23, 2000 7:00 PM
To: Chris Withers
Cc: Dany Rioux; Zope Mailing List
Subject: Re: [Zope] Newbie Question
Or even: dtml-in "objectValues(['File'])"
if this news thing is a file
I'm probably just being dumb... :)
PASTE--
dtml-var standard_html_header
p
dtml-with News
dtml-in objectValues
dtml-var "_['sequence-item']"
/dtml-in
/dtml-with
/p
dtml-var standard_html_footer
this should work out for you.
cu
Philipp
Dany:
These should work:
dtml-in objectIds
dtml-var "_['sequence-item']"
/dtml-in
-or-
dtml-in objectValues
dtml-var sequence-item
/dtml-in
-or-
dtml-in objectValues
dtml-var some_attribute_of_the_sequence-item
/dtml-in
--Jim Washington
Dany Rioux wrote:
I'm probably just
, November 24, 2000 5:00 PM
To: Zope Mailing List
Subject: Re: [Zope] Newbie Question
I'm probably just being dumb... :)
PASTE--
dtml-var standard_html_header
p
dtml-with News
dtml-in objectValues
dtml-var "_['sequence-item']"
/dtml-
Dany Rioux wrote:
Thanks Philipp and Jim,
It worked! But... (there's always a but! :) I thought I was clever
when I thought about naming my news files news999, news998 etc,
thinking it would parse the directory and print the news sorted by
their names. So news998 would be printed before
uot; email but if there is, my apologies.
Thanks.
Dany
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michel Pelletier
Sent: Friday, November 24, 2000 12:17 PM
To: Dany Rioux
Cc: Zope Mailing List
Subject: Re: [Zope] Newbie Question Fixed but
To: Chris Withers
Cc: Dany Rioux; Zope Mailing List
Subject: Re: [Zope] Newbie Question
Or even: dtml-in "objectValues(['File'])"
if this news thing is a file ;-P
Or even:
dtml-in objectValues
;-)
Chris
Andy McKay wrote:
dtml-in "o
dtml-in "objectValues()"
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Dany Rioux" [EMAIL PROTECTED]
To: "Zope Mailing List" [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 2:20 PM
Subject: [Zope] Newbie Question
Hi everyone,
Simple newbie question...
Or even:
dtml-in objectValues
;-)
Chris
Andy McKay wrote:
dtml-in "objectValues()"
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Dany Rioux" [EMAIL PROTECTED]
To: "Zope Mailing List" [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 2:20 PM
L PROTECTED]; "Zope Mailing List" [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 2:47 PM
Subject: Re: [Zope] Newbie Question
Or even:
dtml-in objectValues
;-)
Chris
Andy McKay wrote:
dtml-in "objectValues()"
--
Andy McKay, Developer.
ActiveState
"Bowyer, Alex" wrote:
Hi,
I have what I'm sure is a very simple question about Zope programming style:
I want to count how many objects are contained in the current container
object and then do something with that value, but I can't do the bit I need
to do at the point of reading the
From: Bowyer, Alex
I want to count how many objects are contained in the current container
object and then do something with that value, but I can't do the bit I
need to do at the point of reading the count variable because I am in
the wrong namespace.
I would try and do it like this
I want to count how many objects are contained in the
current container
object and then do something with that value, but I can't do
the bit I
need to do at the point of reading the count variable
because I am in
the wrong namespace.
I would try and do it like this (untested):
[Alex Bowyer]
| My query is really more general though, that was just an example, I need to
| know what the generally accepted method is for transferring values through
| the code (i.e between namespaces)
Unless I've misunderstood your problem, wouldn't dtml-let do the trick?
(See DTML manual
From: Bowyer, Alex
My query is really more general though, that was just an example,
I need to know what the generally accepted method is for
transferring values through the code (i.e between namespaces)
I do believe that our ugly friend REQUEST.set() is the way to go here. I
cannot remember
Hi Kathy,
Error Type: SyntaxError
Error Value: invalid syntax
Troubleshooting Suggestions
It looks like your addEntry.py file has some syntax mistakes in it
(think mis-spelled, badly indented or otherwise defective python ;-) Try
comparing it with what it should be and see if the problem
access contents information
I guess.
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 as needed later on.
My problem is that I
Yes, it was a misunderstanding regarding basic user permissions and the
Anonymous role on my part.
I did not want to allow the Anonymous role *any* permissions, and the
site I am working in is contained in a folder beneath the root Zope
folder.
The problem was that I had disabled the "Access
Aaron Straup Cope writes:
I did not want to allow the Anonymous role *any* permissions, and the
site I am working in is contained in a folder beneath the root Zope
folder.
The problem was that I had disabled the "Access contents
information" privilege for the Anonymous user (whose
Aaron Straup Cope writes:
My problem is that I can't seem to figure out, specifically, which
permissions to give a user that will allow them to read ZopeTime().
Strange...
"DateTime.DateTime" objects (and therefore "ZopeTime") are
explicitely unprotected (and can be used by everyone).
I
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
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,
Dicken, Peer writes:
I´m new to Zope ;) I´m currently composing a set of products for my website
and have a little problem now:
I need to make a Product that makes it possible to upload a file, well,
basically a tuned "FILE" object.
I need to add a description. Is it right to add the
Tamara Temple wrote:
Hi all,
My first posting here, please forgive if this is obvious, cause it
isn't to me. I already checked the How-To's and searched the zope-list
archives and came up with nothing.
I downloaded the two zexp files for ZSiteMap and ZPhotoAlbum, and put
them in the
Easy and hard answer.
The easy answer is forget what you know about scripts/cgi and pulling in
form variables from some sort of CGI method (perl module). Since Zope is a
constant running process it does not require that you point to a script.
Hard Answer: The basics are that all you have to do
A great resource for newbies is the collection of How-To's
http://www.zope.org/Documentation/How-To (or better yet:
http://www.zope.org/Members/AlexR/tips/howto_list where you can use browser
search to find what you need).
Search for "forms" and you will see, for example:
With the advent of Zope 2.2, the first thing you need to do is to create a
management user. You cannot use the 'superuser' to manage content. I
know this is a little unfamiliar, but, for now, just suspend disbelief and
create another user with the 'Manager' role (by visiting the acl_users
Darn. Those docs are a little ( ok, a lot...) out of date. They're
still useful, but they don't cover a few things.
With the advent of Zope 2.2, the first thing you need to do is to create a
management user. You cannot use the 'superuser' to manage content. I
know this is a little
Chris McDonough wrote:
With the advent of Zope 2.2, the first thing you need to do is to create a
management user. You cannot use the 'superuser' to manage content.
Can anyone remind me why?
T0he problems it's caused, particularly with broswers caching basic auth
info, seem to be pretty
"Mark A. Pappas" wrote:
I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded
the Content Manager Guide and started working through the tutorial. Went to
create a folder as instructed.
Below is what I got. What am I doing wrong?
Error Type: SuperCannotOwn
Error
See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx,
section named "The Superuser".
I hope to have this chapter really finished this weekend.
On Sat, 19 Aug 2000, Chris Withers wrote:
Chris McDonough wrote:
With the advent of Zope 2.2, the first thing you need to do is
Hi Mark,
Mark A. Pappas writes:
I installed Zope 2.2.0
I dloaded the Content Manager Guide
...
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: SuperCannotOwn
Error Value: Objects cannot be owned by the superuser
The Content Manager
David Loeffler writes:
whenever I try to get hold of this with anything like dtml-var
"_[objId].getProperty(dest)" (objId is the id of the document) it simply
redirects ...
"_[xxx]" executes (calls) the retrieved object, if possible.
In your case, execution calls
Joe Hewitt wrote:
Hi,
I'm making an input form. When I try to change the form's input field
width, it automagically displays 30 char for each field. Is there any way
to adjust the width?
Basic HTML Question. Please read HTML docs.
Different question: where can I find some good
"Richard P. Muller" wrote:
I'm in the process of learning Zope hacking, and I'm having a really
hard time getting a page counter to work. It isn't even that page
counters are all that important to me, it's that I feel that if I can't
even do something this simple, what hope do I have doing
Chris Withers wrote:
To do what you want, you probably want something like:
dtml-call
"manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)"
Erk, maybe this:
dtml-call
Alexander N Gould wrote:
Now that I've set up some virtual hosts off my zserver, I have another
question. These sites (each in a folder in the zope DB) share a lot of
data in the form of some custom zobjects representing contacts, calendar
items, and posts to discussion boards. If I put
This is my answer to another seeker's question.
It should also answer yours.
This code assumes that the variable customerid on the form
contains a value that matches up with customerid in
the query custcompanysearch
___
dtml-let tcustid="customerid"
select
CURTIS David wrote:
I wish to use use the date of a database file in my dynamic html code. For example,
this database was last updated on 06/06/2000. I suppose that there must be a dynamic
html tag that zope uses. What could it be? I looked at all the documentation and
have yet to
snip
However, I want to keep all of my commonly used image files in a
subdirectory called /images. So I create a folder called "images", upload
another copy of logo.jpg into it, everything's fine. I change the dtml in
the "test" document to be "dtml-var /images/logo.jpg". And it
At 11:35 am -0400 7/6/00, Randy Edwards wrote:
dtml-var standard_html_header
h2dtml-var title_or_id/h2
pThis is the dtml-var id Document./p
pNow show a graphic: br
dtml-var logo.jpg
/p
dtml-var standard_html_footer
That references an image file in the root directory called logo.jpg.
eh tone, your using my name in vain again ;)
- Original Message -
From: "Tony McDonald" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; "Zope List" [EMAIL PROTECTED]
Sent: 07 June 2000 16:56
Subject: Re: [Zope] Newbie question: graphics in subdirs
At 11:35 am -0400 7
With dtml-call insertItem, Zope gives me following error message:
If the parameters are from another SQL statement, then the SQL method will
not find them, since not the entire namespace is sent.
Try:
dtml-call "insertItem(param1=pvalue1, param2=pvalue2, param3=pvalue3,
param4=pvalue4)"
With dtml-call insertItem, Zope gives me following error message:
If the parameters are from another SQL statement, then the SQL method will
not find them, since not the entire namespace is sent.
Try:
dtml-call "insertItem(param1=pvalue1, param2=pvalue2, param3=pvalue3,
param4=pvalue4)"
create an other object (DTML Method) called bigfolder with these contents
(untested):
dtml-call "RESPONSE.redirect('BigFolder')"
- Original Message -
From: "Alexander N Gould" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 24, 2000 12:43 PM
Subject: [Zope] newbie
Alexander N Gould wrote:
How can I make a folder on my site case - insensitive in regards to access
from URLs. If someone types http://mysite.com/bigfolder/ into their
browser, I want it to take them to the Bigfolder, but right now, it
produces a missing object error. Any hints? Sorry if
You could try using Apache rewrite rules to convert all URL's to lower case,
and then use only lower case names for your folders, documents and methods.
As long as the case is consistent, one rewrite rule should cover everything.
hth,
-- Marcus
-Original Message-
From: Alexander N
72 matches
Mail list logo