hi all
has anybody successfully used Client.py that ships with Zope-2.2.0? i can't
seem to run it. even on the command line. i've searched the mailing list,
but to no avail
this is what i did:
python Client.py http://www.zope.org
and here's the traceback.
Traceback (innermost last):
Fil
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
> >>> sys.path.append('/hom
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 proble
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 le
was working happily on the server, when all of a sudden it keeled over and
didnt restart automatically. so, i went to restart it manually, and got the
following error message:
charizard:/usr/local/zope/z1# Traceback (innermost last):
File "/usr/local/zope/z1/z2.py", line 554, i
Please help!
Install problems on FreeBSD
I've installed ZOPE several times before on
different systems(win(win98, NT, Linux) for testing purposes. Always logged
in as rootI never encountered any problems. Recently I finally decided to
upgrademy web-site to a ZOPE-Site and that's when th
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:
>
>
>REQUEST)">
>
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 ru
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
Tom Deprez wrote:
> 'next-sequence-size', 'next-sequence' only exist in the 'end-sequence' phase.
>
Tom -
My understanding is that this limitation is removed in Zope 2.2, and I seem to
remember seeing a page (tutorial? demo?) where both previous and next were
present at both the start and end of
> for name,value in REQUEST.form.keys():
>
> Note the function call (parentheses).
Oops! I meant:
for key in REQUEST.form.keys():
--jfarr
"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998
___
Zope maillist - [E
looks like you downloaded the postgresql-devel rpm for redhat 6.2 (or
thereabouts), whereas you are running something earlier? (pre glibc?).
-d
On Tue, Aug 08, 2000 at 12:01:59PM -0700, Hung Jung Lu wrote:
> Hi,
>
> I have been trying to install ZPoPyDA (database adapter for PostGreSQL.) And
>
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 al
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 (Pete
Gerard,
For ideas, you may want to take a look at some of the alternate User
Folder implementations.
We still need help on deciding an API for user folders. You may want to
participate in the discussion at
http://www.zope.org/Members/michel/Projects/Interfaces/UserDatabase to
help determine out
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 emai
Dieter Maurer wrote:
>
> Tim Cook writes:
> > 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?
> Apparently, there is no STMP server listening on the port.
One might think that at first. But here'
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 me
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 metho
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 cu
Bill Broadley writes:
> Does someone have an example (with DTML or similiar source) that
> demonstrates the following:
> 1. A search field for record id, or a list with a clickable URL for each
> record (that is the result from a SQL select)
> 2. Allows updating of the record with a DTM
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
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,
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]
http://lists.zope.org/mailman/listinfo/z
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 REQ
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
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 Docu
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 REQUE
> 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 an
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
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:
for item in REQUEST.form.items:
for key in REQUEST.keys:
but none see
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
fai
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?
>
> --
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
You should be able to eliminate the dtml method like so:
upload_image_form
-
File
--jfarr
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org
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
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 don't. Try giving the column an alias name like so
select count(*) as total from db_table
assuming Sybase supports this of c
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 amount>1000 produces a valid result set.
Using just the DA connection test, the statement se
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
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 sele
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 is
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' in
This should work:
update artikel_table set artikel_qty=artikel_qty -
where artikel_id=
__
Jim Sanford
. Database Engineer
/ \ / Accelerated Technology, Inc.
/ /
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
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
if i get rid
My colleague had a dtml document turn itself into a folder. When we try
to delete it we get a "CorruptedDataError". Any thoughts on how to kill
the offending vermin?
DR
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zop
Zope is not very resource intensive. I can't specify the _bare_ minimum
configuration, but I can tell you what I use for development and am
satisfied with:
500MHz Celeron (but I'm sure you could get by with 400MHz or less)
Windows 98
96MB Ram (I bet you could get by with less, but I wouldn't skim
Hi,
I have a page wich is created out of a database. For every artikel (item)
I have a description and a number of available items.
The page has multiple rows (depending on the database content)
in every row is a input-box in wich the user can enter a number. This
number needs to be substracted f
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 administra
Hi Francois,
try this:
upload_image_form
-
File
upload_image
-
In Zope 2.2.0
If you have a bug in your DTML in a 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 way to test whet
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,
When does the next-sequence-item exists?
Does it only exists in the sequence-end face?
I want to provide the following:
Next
Line1
Line2
Line3
...
Next
Clicking on 'Next' will move to the next result set. The problem is that I
seem not be able to put a Next link on top of the result
I have been able run (not by choice) a Zope 2.1.6 installation on RH 6.1
with a Pent 166 and 12 MB or RAM. Not very fast but it ran and kept running.
J
> From: Sven Hohage <[EMAIL PROTECTED]>
> Organization: die zeitspringer
> Date: Tue, 08 Aug 2000 17:13:12 +0200
> To: [EMAIL PROTECTED]
> Subje
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]
http://lists.zope.org/mailman/listin
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
Peter Arvidsson wrote:
> (gives me syntax error)
> (gives me syntax error)
> (gives me syntax error)
> (says I am unauthorized but I
> am sure I am not because I could access the same object if I gave it a
> string as id instead of an integer. I am the owner of both the object
> and folder and
On Mon, Aug 07, 2000 at 10:08:06PM +0100, Chris Withers wrote:
> > I don't see this would make a difference; Zope is passed the base URL at which
> > it takes over the URL. A SiteAccess object may only influence parts of the URL
> > that come _after_ this base.
> >
> > http://zopeintherooturl/foo
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 and
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
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 method
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 s
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
to
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.
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 Zo
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 A
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 k
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 21:2
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
___
Hello,
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
checkbox and adding a zclass with not-s
Bill Anderson wrote:
>
> Andrew Kenneth Milton wrote:
> >
> >
> > One wonders if Oracle's Linux product has actually recouped them the
> > development costs.
>From what I heard they had to do configure/make ;)
Most of the costs are sure in marketing there.
--
Hannu
___
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 anythi
My question is this:
I have a Zope Product. I want that some modules from this product be
configurable. I can use exec() but then I have a big security hole. I am
not
a ZOBD expert, but I belive thet it doesn't save methods, only
variables.
Exits somo trick thet permits me:
import aPythonMethod
o
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:
Unfortunately I am getting an "In
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
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 i
[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 -
http://lists.zope.
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
>>> sys.path.append('/home/oliver/Zope-2.1.6-src/lib/python')
>>>
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]
http://lists.zope.org/mai
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
> wher
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]
http://lists.zope.org/mailman/listinfo/zo
81 matches
Mail list logo