Karsten Petersen wrote:
Hi,
today I had *very* strange effects with the following code:
dtml-let bla="_.DateTime('2000/08/08')"
dtml-var blabr
dtml-var expr="bla.parts()"br
dtml-var expr="bla.strftime('%Y/%m/%d')"br
/dtml-let
on my
Michel Pelletier has reminded me that we need a security check by
containment at each point in the search through context.
So, in my example, the search will look like this:
/
|-Aa
| |-B b
|
|-Xx
| |-P p1
| |-Y y
|
|-Pp0
Context-first
Acquisition (P
Hi,
I have written a Product the uses a Databaseconnection to MySQL, that
works fine. but the connection in coded into my Product, and now i want
to use a Zope DatabaseConnection added to the same folder.
How does this works, it is very important for me, because we want to
change to another
At 01:57 PM 8/8/00 +0200, RC Compaan wrote:
I've added a propertysheet called "properties" to my ZClass and i notice
there is Persistent Sheetprovider under the default rack already. The
Sheetprovider has properties Sheet_Names and Sheet_Namespaces. I guess
Sheet_Names should refer to the
From: Chris Withers [EMAIL PROTECTED]
Who would be best to ask why it was set up the way it is?
I'm sure there are very good reasons for it but the search order in all
but the simple cases is very confusing and not as useful as it could be.
How much more work would it be to implement the
At 06:07 PM 8/8/00 +0100, Steve Alexander wrote:
"Phillip J. Eby" wrote:
Actually, neither relates. Property sheets created on ZClasses always have
their data stored in attributes of the object itself, so if you want to
control those property sheets you would not use a sheet provider at
Hi guys,
I'm trying to make a simple guestbook using ZClasses and ZPatterns, I
suppose this is somewhat overkill, and would be alot easier to do using
SQL, but it's for the sake of knowledge (as is everything I do). So I
read the IRC-log and msegarra asked a question regarding storing a
ZClass in
Have been delving into ZPublisher.Client to make remote procedure calls
under Zope 2.2.1. Many of the manage_... functions work just fine
through this interface (once the obvious bug on line 212 of Client.py is
fixed, anyway ;-). Check out the example utilities/load_site.py if you
want to get
Hi everybody,
I looked around the Zope site and mailing lists, but I wasn't able to
find an answer to my problem. I'm using the CVS version of Zope2. I did
an update yesterday. Since then, there's been some commits.
I just started my web site project using Zope running with
In Zope 2.2.0
If you have a bug in your DTML in a dtml-in xx next block, you don't
see the bug. DT_In assumes that you just don't have more records to
see.
DT_In.py, around line 545
This code:
elif next:
try:
# The following line is a sneaky
Hi all,
I am trying to load a Python class as an extension which again accesses data
stored under ZODB. The Python classes are stored in a directory under
"Products" and I manage to create a sub ZClass in Zope for it. I have a
method on one of these classes which I call from a DTML document...
Does somebody know how to start Zope as an NT service ?
As usual, The answer is probably in the documentation but I can't figure
where is the answer...
Thanks.
Vincent
___
Zope maillist - [EMAIL PROTECTED]
Vincent,
Take a look at ZServer/ZService.py
in your Zope installation.
--Brian
On Tue, 8 Aug 2000 09:25:13 +0100
"Vincent" [EMAIL PROTECTED] wrote:
Does somebody know how to start Zope as an NT service ?
As usual, The answer is probably in the documentation but I can't figure
where is
Hi, I d like to upload on a Local File System. I would like to use a
form, choose a file and i d like that Zope upload the file on the
LocalFS. I ve met some troubles, could you help me?
___
Zope maillist - [EMAIL PROTECTED]
[Andrew Kenneth Milton]
| This is easier than you might think:-
Hehe. Thanks a lot! :)
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
hi Zopers,
In case this is very obvious (I'm RTFM'ing meantime) ..
while hacking Squishdot's DTML, I did something to
make 'leftbox_items' inaccessible to 'Anonymous':
Unauthorized
You are not authorized to access leftbox_items.
in / , Anonymous has these permissions:
Access contents
Check if the proxy role for index_html is set to manager.
roché
-Original Message-
From: Jean Jordaan [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2000 01:02
To: RC Compaan (E-mail); '[EMAIL PROTECTED]'
Subject: About Squishdot and permissions
hi Zopers,
In case this is very
hello,
I have a ZClass called "thema" with some date properties to change creation/
modification dates independent of bobobase_modification_time. So I try to
set one date property called "date1" equal to the current time of creation:
dtml-with "manage_addProduct['RadioObjects']"
dtml-with
I have GUF installed and I have succeded in coding som managing tools
for this. From what i see i have also found a loginpromt (for cookies).
My problem lies in that i don't know how to get the user logged in. I
try to use userAuthenticate but when i look in the code i see nothing
that have
I created a MailHost but when I attempt to send an email I get a
'111 Connection Refused' error. Is this a sendmail permission
problem?
Thanks,
-- Tim Cook --
FreePM Project Coordinator - http://www.freepm.org
OS Healthcare Alliance Supporter - http://www.oshca.org
Most of those message are also sent to the Zope logging system.
I have a prototype logger which sends this information to the NT Event
log. There are several complications, but I could bump this up the
priority list if it would be generally useful
Anyone interested?
On Mon, 07 Aug 2000
If you picked running Zope as a service in the install got
to Start-Settings-Services
- Original Message -
From: "Vincent" [EMAIL PROTECTED]
To: "[Zope Org] (E-mail)" [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 3:25 AM
Subject: [Zope] Zope Server as an NT service
Does somebody know
All,
Can we drop the OS wars, please? There are newsgroups for this.
-Original Message-
From: Hannu Krosing [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 7:40 AM
To: Bill Anderson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Re: (OT) Re: sybase - hmmm
Bill Anderson
I'm still not sure what you mean (I'm sure this is my fault...)
-Original Message-
From: entropia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 7:34 AM
To: [EMAIL PROTECTED]
Subject: [Zope] Re:[Zope]Python Method question
My question is this:
I have a Zope
Hi,
I have some general Full text search questions, hope
someone can help me:
1)How can I use ZCatalogue to do full text search on
static html pages? In Zcatalogue examples I could find
search for properties like Title, I would like to have
the whole text content of a static html searched.
Hello,
At 08:25 08.08.2000 +, Vincent wrote:
Does somebody know how to start Zope as an NT service ?
The easiest is during the installation of Zope. You can then tell to have
Zope automatically started as a service.
To stop and restart the service later on, go into the "Administrative
I am a Zope Newbie. I dont understand ZOpe too much. I know python but
I am not an expert. Well, I want to make a Zope Product. There is a python
program Pagecast (pagecast.sourceforge.net, I am not the creator) that
I want to transform in a Product. This program submit a list of URL to
various
A... I see. Thanks.
Well, instead of calling execfile() (or exec()), make the PythonMethods
for google and altavista, etc. part of your Product. Then replace the
call to execfile with a call to the PythonMethod, eg.
methods = [self.googlepythonmethod, self.altavistapythonmethod]
for
How do I refer to an object that has an integer as id?
I have pdf-files stored in a folder called "pdf". Now I want to be able
to check their filesize. I looked in the API and found that this is done
with getSize(self). I have no problem to refer to objects that do not
have an integer as id. For
I use zope 2.2.0 and ZODBC-3.1.0b2. I get a strange behavior with ODBC
access and permissions. To keep it simple, I have an ODBC-Connection and a
SQL-Method. When I execute the SQL-Method everything works fine. When I call
the same method from within an DTML-document I get asked for a password
Francois wrote:
Hi, I d like to upload on a Local File System. I would like to use a
form, choose a file and i d like that Zope upload the file on the
LocalFS. I ve met some troubles, could you help me?
See Jonathan Farr's LocalFS product, which now (since v.0.8.1) allows
file uploads to the
Hallo,
what's the minimum of hardware to develop Zope-sites(only for
development).
I'd like to know because I want to buy a laptop and don't want to spend
much money !
Thanks.
___
Zope maillist - [EMAIL PROTECTED]
Thank you. This function. I have tried before but I dont put the () to call
the Python Method
Chris McDonough escribió:
A... I see. Thanks.
Well, instead of calling execfile() (or exec()), make the PythonMethods
for google and altavista, etc. part of your Product. Then replace the
Hi Francois,
try this:
upload_image_form
-
FORM ACTION="upload_image" METHOD="POST" ENCTYPE="multipart/form-data"
TABLE CELLSPACING="2"
TR
TH ALIGN="LEFT" VALIGN="TOP"File/TH
TD ALIGN="LEFT" VALIGN="TOP"
INPUT
I'm getting a System Unavailable message when I do a Zope.org search for the
keyword "book". However, a search for anything else, i.e. "bookworm", works
fine. Any ideas?
SiteIndex
!
System Unavailable
This site is currently experiencing technical difficulties. Please contact
the site
From: Martijn Pieters [EMAIL PROTECTED]
I still think something else was broken, SiteAccess should (and does, as
far
as I know) stay away from SCRIPT_NAME.
Yep. Environment/CGI variables are left alone by the virtual hosting
machinery; only Zope-specific ones are altered.
An example of a
This should work:
dtml-in substract
dtml-if "_['sequence-item']!=''"
update artikel_table set artikel_qty=artikel_qty - dtml-sqlvar
"_['sequence-item']" type=int
where artikel_id=dtml-sqlvar "artikel_id[ _['sequence-index'] ]" type=string
dtml-var sql_delimiter
/dtml-if
It's my understanding that this can only be done
in python in the Products subfolder.
I did something like this with David Murray's help
for a BannerProduct. I modified an existing
python-based banner class and added two "maps" to
each banner object called 'history_views' and
'history_clicks'
You mean, you don't know, how to force users to authenticate ?
Everytime user tries to access resources that needs higher privileges, GUF
starts working, presenting mentioned form, and then it calls
'userAuthenticate' - this method (probably written by you) have to check
if login:password pair
On Tue, 8 Aug 2000, Nico Grubert wrote:
in zope 2.2.0, when adding a new zclass the management-screen includes a
checkbox
"Include standard Zope persistent object base classes?".
What does exactly this option do ??
I could not find any differences between adding a zclass with selected
On Tue, 8 Aug 2000, Sven Hohage wrote:
Hallo,
what's the minimum of hardware to develop Zope-sites(only for
development).
I'd like to know because I want to buy a laptop and don't want to spend
much money !
Thanks.
Now I'm developping on PC with 48 MB RAM, and it's too little for me.
Folks -
How do I execute SQL statements such as select count(*) from db_table?
I'm running zope 2.2 with the SybaseDA 2.0b2. My connection to the database works
fine, ie select * from small_table where amount1000 produces a valid result set.
Using just the DA connection test, the statement
tav wrote:
ZCatalog does not seem to like Site Access2
i applied the patch from http://www.zope.org/Members/4am//SiteAccess/patch
and then updated Zope with all the patches from CVS
and it still gives me:
Error Type: IndexError
Error Value: list index out of range
You should be able to eliminate the dtml method like so:
upload_image_form
-
FORM ACTION="LocalFS_objekt_id/manage_upload" METHOD="POST"
ENCTYPE="multipart/form-data"
INPUT TYPE="hidden" NAME="action"
On Tue, Aug 08, 2000 at 12:45:02PM -0400, Evan Simpson wrote:
From: Martijn Pieters [EMAIL PROTECTED]
I still think something else was broken, SiteAccess should (and does, as
far
as I know) stay away from SCRIPT_NAME.
Yep. Environment/CGI variables are left alone by the virtual hosting
Cary O'Brien wrote:
I've done it this way:
http://www.zope.org/Members/otto/portfw
[snip]
How can this work? Won't Zope put a "base href=http://server:8080" tag
into the head of the document and mess things up? Won't you need
site-access to work around this?
-- cary
You're
Hi,
I have been trying to install ZPoPyDA (database adapter for PostGreSQL.) And
I am kind of stuck.
I was told to install the RedHat PostGreSQL development RPM first. But I
can't even install this RPM. I must be missing something obvious.
# rpm --install postgresql-devel-7.0.2-2.i386.rpm
Bob -
That did it! Thanks for the quick help and explanation.
- Steve
On Tue, 08 August 2000, Bob Tierney wrote:
One of the requirements of a DA is to return information about the result
set columns. Does Sybase give a name to column "count(*)". Some database
products do and some
Hallo,
what's the minimum of hardware to develop Zope-sites(only for
development).
I'd like to know because I want to buy a laptop and don't want to spend
much money !
Thanks.
I use an old toshiba 325 cds (cd broken) (460 bogomips) w/ 48Mb of ram
running Linux as both my desktop and
On Tue, Aug 08, 2000 at 04:16:15PM -0300, Kevin Howe wrote:
I'm trying to do a FOR statement to loop though items in a REQUEST, but keep
getting errors:
def myMethod(self,REQUEST):
for name,value in REQUEST.form:
# do this
I've tried variations:
for name,value in REQUEST.items:
I have a rather simple setup. And all I want to do is to show some news content, but
with the way I'm doing it, the HTML is not parsed.
/root
index_html
view_each_news_html
/news
news_001 (MS ruined!)# a DTML Document
news_002 (Peter on killin spree) # a DTML
Sorry,
I mixed Portuguese and English. Where you
read "Zcatalogue" in my
previous posting, please read "Zcatalog".
Sorry one more time.
Regards,
Rogerio Atem
---
E-mail enviado pelo servidor do CEFETCampos
Yes, when I use this I get the following error:
Error Type: TypeError
Error Value: loop over non-sequence
Kevin
- Original Message -
From: "peter be" [EMAIL PROTECTED]
To: "Kevin Howe" [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 5:05 PM
Subject: SV: [Zope] interating though
for name,value in REQUEST.form.keys():
Note the function call (parentheses).
--jfarr
"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998
___
Zope maillist - [EMAIL PROTECTED]
Sven wrote:
Hallo,
what's the minimum of hardware to develop Zope-sites(only for
development).
I'd like to know because I want to buy a laptop and don't want to spend
much money !
Thanks.
You did say development, right?
I'm running a personal Zope installation (not by choice, but
On Tue, 8 Aug 2000, Mathias Bengtsson wrote:
I have GUF installed and I have succeded in coding som managing tools
for this. From what i see i have also found a loginpromt (for cookies).
My problem lies in that i don't know how to get the user logged in. I
try to use userAuthenticate but
Nicholas Lo writes:
... database modification seen inside but not outside of process ...
Obviously, the database modifications have not been commited.
Auto-Commit in Zope is coupled to *one* thread serving the
request:
It works by registering with the "transaction" associated
with the
Rogerio Atem de Carvalho writes:
1)How can I use ZCatalogue to do full text search on
static html pages? In Zcatalogue examples I could find
search for properties like Title, I would like to have
the whole text content of a static html searched.
DTML methods/documents define a method
Hello,
I am looking into a solution to extend the normal acl_user management
interface.
First, I want to have properties associated with a user. This could for
example be the email, the real name or their preferences to view a site.
Second, I want to replace the normal basic authentication
LoginManager and a good deal of luck should get you there...
Chris
"Gerard Metrailler Jr." wrote:
Hello,
I am looking into a solution to extend the normal acl_user management
interface.
First, I want to have properties associated with a user. This could for
example be the email, the
peter be wrote:
I have a rather simple setup. And all I want to do is to show some news content, but
with the way I'm doing it, the HTML is not parsed.
/root
index_html
view_each_news_html
/news
news_001 (MS ruined!)# a DTML Document
news_002 (Peter on
From: Martijn Pieters [EMAIL PROTECTED]
SCRIPT_NAME will work in simple cases, but BASE1 ought to work in all
cases,
and using it is a better habit to have in general.
We better file a Collector item on this then, as the current Zope
Management
Interface uses it still.
Done. I also
Dieter Maurer wrote:
Nicholas Lo writes:
... database modification seen inside but not outside of process ...
Obviously, the database modifications have not been commited.
Auto-Commit in Zope is coupled to *one* thread serving the
request:
It works by registering with the
On Wed, 09 Aug 2000, Aleksander Salwa wrote:
Now I'm developping on PC with 48 MB RAM, and it's too little for me.
It's because I'm working on one machine - Zope, X-Window, Netscape with
few windows open, sometimes Apache and Gimp are running together.
pt.. here's a tip. I used to run
Oliver Frommel wrote:
hello,
I have a ZClass called "thema" with some date properties to change creation/
modification dates independent of bobobase_modification_time. So I try to
set one date property called "date1" equal to the current time of creation:
dtml-with
On Wed, Aug 09, 2000 at 10:12:50AM +0800, Nicholas Lo wrote:
In fact, I'm trying to use ZOPE to do some automation, eg. reminder
emails, news clipping, or maybe some WAP applications as well. I want to
make it able to schedule itselfs so as to better utilise resources, make
ZOPE more or less
Hello Sir,
I want to know does zope supports '.pfr' file for display
(for dynamic font display)...
As i have to create a website for indian languages that
will display its contains using dynamic fonts..
My old site is www.cse.iitk.ac.in/users/geeta (u can see
it to understand my
Oliver Frommel wrote:
hi,
while trying to figure out how to use Zope from Python I encountered the
following problem. The first access to a dictionary shows me an empty one,
while the next one produced the correct result (see dir(a.m)):
import sys
In Zope 2.2.0
If you have a bug in your DTML in a dtml-in xx next block, you don't
see the bug. DT_In assumes that you just don't have more records to
see.
DT_In.py, around line 545
This code:
elif next:
try:
# The following line is a sneaky
69 matches
Mail list logo