Well, reading your mail tells me that you are looking at Zope for the first
time today. :) You have the typical Zope newbie syndrom, but that will
quickely change if you just spent a little bit more time. :)
What can you do with REQUEST? RESPONSE? AUTHORIZED_USER?
REQUEST - contains all cookie
I think what I really need is a reference:
What can you do with REQUEST? RESPONSE? AUTHORIZED_USER?
It looks like when you say it's plain
Python. What's the context? What do I need to do to call some function
in a product class? What about a function in a class under some other
folder (ie. c
Can/Should/Will this documentation be avaliable on the Zope.org (or
zdp.zope.org) site.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In article <[EMAIL PROTECTED]>
, R. David Murray <[EMAIL PROTECTED]> writes
>Here's a clue :
>
>
> value=""
>
Worked straight away. Thanks,
- --
Regards, Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase
> >> You should also note that your subclass must obey the ZODB
> >> persistence rules, which basically state that mutable sub-objects
> >> should be treated immutably. For example,
> >>
> >> self.bird='parrot' # OK
> >> self.map['bird']='parrot' # NOT OK, will not trigger persistence
> >>
Jim Sanford <[EMAIL PROTECTED]> wrote:
>
> Does anyone out there know how I can prevent LocalFS from
> translating CR/LF pairs in a text file to LFs when serving up
> the file?
>
> Or will I need to "massage" it in Zope before sending it?
>
> In this case the files are Windows/DOS batch files.
Erik Enge wrote:
>
> Tres Seaver <[EMAIL PROTECTED]> writes:
>
> > If you fill out the ID and press 'Add', le voilà!
>
> Yeah, your right! But that still means I need to do
> some hacking about, and me and my semantics does not
> like that ;-)
>
> > (Actually it looks like a duplicate of #811)
I need some guidance or pointers to more information. My Zope journey
began last Thursday and I've been glued to zope.org ever since. I'm
trying to understand the following paragraph from the Zope Developer's
Guide from the section on "Subclassing from Custom Python Classes":
>> You should also
On Tue, May 23, 2000 at 09:05:55PM +0200, Dieter Maurer wrote:
>
> You can try to fix this problem, by removing the "int(...)"
> in "OFS.Image.py:186"
>
> mod_since=int(DateTime(header).timeTime())
>
> >
>
> mod_since=DateTime(header).timeTime()
Using the
srl wrote:
>
> So, I was hanging out on IRC last night, and mentioned Zope to
> someone who's fairly active in the Python community. I ended up
> receiving a rant about how "bloated" and slow Zope is, and anecdotal
> evidence about Zope crashing Linux servers repeatedly.
Those conviced by 'anecd
> Tom Smith wrote:
>
> hi all, I'm currently experimenting with zope and noodling with
> pythoncan anyone give me an answer on these?
>
> Python is beautiful (nearly as beautiful as Prograph (but that's
> another story)).
>
> I'm a BIG fan of human readable code, I loved HyperCard and
> pa
I have add a property
to an object_O :
"path.object_O.manage_addProperty(id,file,content_type)"
But i wanted to
change "object_O" with another variable
"var_V" which is an object like imae or
file .
How to do it
?
On Wed, 24 May 2000, Graham Chiu wrote:
> >But I now want this dtml-document when rendered to read the values of
> >fieldname, and fieldname-error, and then generate the dtml equivalent to
> >this ...
> >
> >
> > value=""
> >>
> >
> >
> >
Here's a clue :
value=""
This checks for the exist
On Wed, 24 May 2000, Luis Cortes wrote:
> Hi Curtis,
>
> You provide this sample code a long time ago. I have a question about
> it. I really am sort of new at Zope and HTML, and I was wondering ... Do the
> side bar and header "stick (stay on the screen)" even when you click to a new
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In article <[EMAIL PROTECTED]>, Graham Chiu
<[EMAIL PROTECTED]> writes
>
>To help me with the tedious business of creating forms, I would like to
>make a generic field gadget.
>
>I thus have a dtml-document which has a number of attributes:
> Eg: fie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In article <[EMAIL PROTECTED]
>, Stuart Foster <[EMAIL PROTECTED]> writes
>When I try this I get an unauthorized user error. Can you give an example of
>how to connect to port 8021 with a simple ftp program.
Using WS_FTPPro, the address of the ftp s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In article <[EMAIL PROTECTED]>, Tony
Mann <[EMAIL PROTECTED]> writes
>We have a form with a textarea on it, that can contain line breaks. When we
>try to pass it into an SQL statement
How do you enter line breaks into a text area?
What database ad
Felipe Alvarez Harnecker wrote:
>
> Hi Zopistas,
>
> it's a pain looking to variables defined in a form such as checkboxes
> that can be a string if one is selected or a sequence if many are.
>
> to solve this problem i'd like to do something like:
>
>
> ...
> ...
>
>
> That is, calling the
Hi Zopistas,
it's a pain looking to variables defined in a form such as checkboxes
that can be a string if one is selected or a sequence if many are.
to solve this problem i'd like to do something like:
...
...
That is, calling the list function of Python on checkbox.
But that doesn't wo
- Original Message -
From: Steve Drees <[EMAIL PROTECTED]>
> I have the following code stuffed away in a DTML Method
>
>
>
>
>
> >
Roles is supposed to be a list. Try:
Cheers,
Evan @ digicool & 4-am
___
Zope maillist - [EMAIL PROT
Shane,
The Advocacy FAQ is much need here is some help..
Benchmarks: http://www.zope.org/Members/BwanaZulia/benchmarks.html
Pro Zope Links: http://www.zope.org/Members/BwanaZulia/zope.html
How the competition does it..
Tomcat User Guide: http://jakarta.apache.org/tomcat/index.html (a really
n
You Rock Dieter,
Thanks to everyone for their input!
This has solved the nasty Netscape Image problem for now!
j
[EMAIL PROTECTED]
At 09:05 PM 5/23/00 +0200, you wrote:
>Jon Delheimer writes:
> > charset="iso-8859-1"
> >
> >
> > Shane,
> >
> > I made the changes you suggested to Image.py.
We have a form with a textarea on it, that can contain line breaks. When we
try to pass it into an SQL statement
we get a parsing error, due to the embedded newlines.
We would like to convert the newlines to "" strings. Does anyone have an
easy solution for doing this?
We have tried using s
I have the following code stuffed away in a DTML Method
>
After that code excutes there is a user with the name 'steve3'
but if I try to edit 'steve3' via the web interface I get the following.
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error V
So, after poking around on Zope.org for awhile, I haven't found an
Advocacy FAQ. Have I missed something? I hope not, because I started
one.
This is a very rough draft, hacked together from memory. As such,
it's quite likely inaccurate on some particulars, and most certainly
incomplete. I'll be
Aha! I got Web Folders to work when pointed to a Zope/Zserver on the same
machine, so the problem is probably with the servers I tried to point to
first. I found an explanation in an earlier email on this list: the attempt
to access _vti_bin is an attempt by Web Folders to see if the server
suppor
Jon Delheimer writes:
> charset="iso-8859-1"
>
>
> Shane,
>
> I made the changes you suggested to Image.py.
>
> Here are the results:
>
> ...
> Thursday, 11-May-00 15:53:50 GMT
> 1900/05/11 15:53:50 GMT
> -2197699570.0
That explains the exception:
1900 is a bit too far in the
srl wrote:
>
> So, I was hanging out on IRC last night, and mentioned Zope to
> someone who's fairly active in the Python community. I ended up
> receiving a rant about how "bloated" and slow Zope is...
"Slow" is a relative term. Zope will always be slower than hard-coding
an application in Pyth
On Mon, May 22, 2000 at 03:10:59PM -0500, Jon Delheimer wrote:
>
> Shane,
>
> I made the changes you suggested to Image.py.
>
> Here are the results:
>
> Thursday, 11-May-00 16:21:32 GMT
> 1900/05/11 16:21:31 GMT
> -2197697908.0
I have stepped through the debugger with the call of
ZPublisher.
So, I was hanging out on IRC last night, and mentioned Zope to
someone who's fairly active in the Python community. I ended up
receiving a rant about how "bloated" and slow Zope is, and anecdotal
evidence about Zope crashing Linux servers repeatedly.
I know there was/is a memory leak that might
try just plain
That on it's own will probably give you what you want...
Chris
kwan wrote:
>
> I remember I saw somewhere about it.
> but I couldn't search it out again.
>
> Can anyone tell me the correct way to do things like following?
>
>
> :
>
>
> I want to check the indivial item
I remember I saw somewhere about it.
but I couldn't search it out again.
Can anyone tell me the correct way to do things like following?
:
I want to check the indivial item inside the REQUEST one time at a time.
but if I do I think it is not actually a list so that
it is
usable by dtm
On Tue, 23 May 2000, peter wrote:
> Q1 {A}
> Is it possible to rewrite the following piece of DTML into something easier
> and managable?
>
> Cool! You are viewing foobar_html
>
> More cool! You are viewing barfoo_html
>
>
Andy Gates writes:
> This one is so dumb you'll be laughing, but any help would be greatly
> appreciated.
>
> I need to evaluate an IF. That's all. I have a variable called Action
> that's a string, and it can be null, "Add", "Update" etc.
>
> I try something along the lines of:
>
>
The Zope Weekly News
The opinions expressed in Zope Weekly News are solely the author's,
and not the opinions of Digital Creations, The Zope Community
at-large, or the Spanish Inquisition.
If you have something newsworthy to contribute, don't
forget to include it in the ZWN Wiki:
ht
Q1.
Q1 {A}
Is it possible to rewrite the following piece of DTML into something easier
and managable?
Cool! You are viewing foobar_html
More cool! You are viewing barfoo_html
This is supposed to be in the standard_html_h
At 05:01 PM 5/23/00 +0100, you wrote:
>This one is so dumb you'll be laughing, but any help would be greatly
>appreciated.
>
>I need to evaluate an IF. That's all. I have a variable called Action
>that's a string, and it can be null, "Add", "Update" etc.
>
>I try something along the lines of:
>
I fixed my own problem. The version of MySQL that I
installed from source appended an extra directory (mysql) to the include and lib
directories. I modified my Setup to reflect the full paths below.
/usr/web/databases/mysql/include/mysql
/usr/web/databases/mysql/lib/mysql
I then ran into a p
I would like to know,if there is a Variable, which delivers as value the
author of a document, similiar to "AUTHENTICATED_USER", which delivers
the user name.
I couldn't find anything about it in the Zope DTML Reference.
Thanks a lot in advance,
Stefan
Andy Gates wrote:
>
Been there, done that, learned the magic incantations ;-)
The " " makes it into a python expression...
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross pos
At 5:01 pm +0100 23/5/00, Andy Gates wrote:
>This one is so dumb you'll be laughing, but any help would be greatly
>appreciated.
>
>I need to evaluate an IF. That's all. I have a variable called Action
>that's a string, and it can be null, "Add", "Update" etc.
>
>I try something along the lines
>
> blah
>
blah
Things inside quotes get evaluated as Python expressions. :)
Have fun Zopeing!
-CJ
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
This one is so dumb you'll be laughing, but any help would be greatly
appreciated.
I need to evaluate an IF. That's all. I have a variable called Action
that's a string, and it can be null, "Add", "Update" etc.
I try something along the lines of:
blah
and wh
When I try this I get an unauthorized user error. Can you give an example of
how to connect to port 8021 with a simple ftp program.
-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 7:37 AM
To: David Shen
Cc: [EMAIL PROTECTED]
Subject: Re: [Zop
Configuration: Mandrake 7.02 with the
following;
Zope 2.1.6-1 python 1.5.2MySQL-python
0.2.1-1 Mysql 3.22.32
All the above were installed using binary RPMs
except for Mysql database. The path to mysql is
/usr/web/databases/mysql
I have a symbolic link to mysql at
/usr/local/mysql
I've do
Thanks to everone who has given me suggestions on this. I really do
appreciate it.
After looking over the PTK snapshot, I've tried to duplicate the catlog
that is implemented there. I could not find any search utilities built in,
so I'm assuming this is still done by adding the
Alan Runyan asked:
>just out of curiosity - can a ZEO StorageServer now have multiple ZODB's?
Another way to look at this, with Mountable Databases, is that you can run
two ZEO StorageServers. Then the question is, can the ZEO Clients refer to
both at once, in the form of Mountable Databases? If
Our entire site (5 MB data.fs - 97% form and
method objects, no data - that is kept in RDMS)
is hand coded in the little text boxes with
occasional CUT-PASTE IN EDITOR-
SEARCH-REPLACE-CUT PASTE
BACK TO ZOPE.
A simple Java applet that
just did search/search and replace and had
line numbers would
On Tue, 23 May 2000, you wrote:
>>
>> hi all, I'm currently experimenting with zope and noodling with
>> pythoncan anyone give me an answer on these?
>>
>> Python is beautiful (nearly as beautiful as Prograph (but that's another
>> story)).
>>
>> I'm a BIG fan of human readable code, I l
On Tue, 23 May 2000, you wrote:
>>
>> Hi all,
>>
>> This is a conceptual rather than technical question
>>
>> I intend to build an intranet with zope...though it's not as simple as
>> that...I'd like 90% of the site to be password protected (giving access
>> to members of my company)...do
At 9:29 am -0500 23/5/00, David Shen wrote:
>Hello,
> Can Zope system be accessed by FTP? If yes, how to do so?
>
>Thanks,
>
>David
David,
Please turn off HTML mail, it means less people can see your message.
FTP works fine. If you start a ZServer out of the box, it's set up on
port 8021 (h
Hi Andrew,
as discussed earlyer, there is no hard coded limit in the size
of the files (ok, you might not go over 2GB per file)
Althought its usually not nessecary to edit such big files.
Use inheritance, reuseable code and part your document into smaller
pieces.
This is what Zope is for.
I can
>>> Pavlos Christoforou wrote
> OTO an RDBMS maybe a more reliable datastore than the filesystem with
> better consistency, recovery tools etc etc.
The other bigwin for an RDBMS-based one is, of course, that you
can share it between zopes. And for me, it's easier to manage a
DBMS table than a ch
> David Shen wrote:
>
> Hello,
> Can Zope system be accessed by FTP? If yes, how to do so?
Yes. Assuming you have a standard Zope installation and you've not
tampered with the ftp settings of ZServer (you'd know about ftp then
wouldn't you). THe ZServer ftp is running under the (non defau
hi,
sorry about the HTML postings.
quick questioncan anyone recommend a super simple IMAP server to use on
NT Workstation with worldpilot?
cheers
tom
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No c
Hello,
Can Zope system be accessed by
FTP? If yes, how to do so?
Thanks,
David
- Original Message -
From: Heiko Stoermer <[EMAIL PROTECTED]>
> My question:
> Do you like the idea of having a slim java-based editor applet instead
> of the textarea?
> (NO, not a 400k editor with WYSIWYG preview and an exotic scripting
> engine - it's supposed to be _very_ slim)
>
> P
Hi Daniel,
Resources I'd recommend:
The Zope Documentation Portal - http://zdp.zope.org
The Zope Site - http://www.zope.org
The Zope Mailing List - [EMAIL PROTECTED]
(see http://lists.zope.org/mailman/listinfo/zope for details)
I've copied your questions to the zope list in the hope that someon
On Sun, 21 May 2000, chas wrote:
> Hi Folks,
>
> Sorry if this has been asked before, but can anybody
> advise on FSSession vs SQLSession for:
>
> a) Speed.
> b) Scalability.
>
FSSession does not use ZODB to store data, but stores session pickles
directly on the harddisk. It will also update
Hello,
Is there any problem with mailman list manager for
this list? It looks like some mails are getting
sent as if it is from my id. I'm forwarding one
such mail... Can the list manager please take
a look?
Thanks
~ V.Satheesh Babu [EMAIL PROTECTED](Xt: 5348)
. . http://www.csoft.net
Hi all,
I've been working with Zope for quite some time now, and one point that
always slows me down is DTML or SQL source editing in the well-known
wonderful textboxes. You all like them...
My question:
Do you like the idea of having a slim java-based editor applet instead
of the textarea?
(NO
Tom,
could you please not post HTML-formatted messages to the list. You
message contains stylesheet information that breaks the reply - at least
in netscape.
thank you.
Heiko Stoermer
--
[EMAIL PROTECTED]
innominate AG
"R. David Murray" wrote:
> Perhaps the load_site (or whatever it's name is) product would help
> with this? I've never looked at it.
Yes - it has command line and GUI clients for uploading multiple files to
Zope. And you shouldn't use the one included with Zope - it trashes HTML
entities like
Hi Again,
Thanks to all the people who signed up for our Free Hosting Option.
We reached our maximum capacity after 3 hours, 5 times the number of
applications we were expecting! :-)
Unfortunately, this means that no more Free Hosting accounts are
currently available. We plan to monitor usage of
>in fact I never used a zope product from the zope site.
>I downloaded the SiteAccess product. what do I have to do to use it???
I was about to just send you the installation instructions when I saw
that they are pretty meager. Actually, very. (shame shame)
1) Go to your root Zope directory
well, this can sound a newbie question... well,it is one...
in fact I never used a zope product from the zope site.
I downloaded the SiteAccess product. what do I have to do to use it???
thanks for your attention (special thanks for mindlace)
___
Hi Andrew,
as discussed earlyer, there is no hard coded limit in the size
of the files (ok, you might not go over 2GB per file)
Althought its usually not nessecary to edit such big files.
Use inheritance, reuseable code and part your document into smaller
pieces.
This is what Zope is for.
Regard
"Stolker, Wim" <[EMAIL PROTECTED]> writes:
> I do not know how the exceptions are named.
> If I catch the exception with a general 'except:' statement
> it works but I cannot see the info from the exception,
sys.exc_* should work, as in
import sys
try:
raise "Blubber"
except:
print "
Title: Re: [Zope] Zope concepts
I intend
to build an intranet with zope...though it's not as simple as
that...I'd like 90% of the site to be password protected (giving
access to members of my company)...do I use acl_users for
this?
Yes or any of the other models (UserDB, etc)
I'd also
like part
Hi,
I have a burning question ...
Does anyone know how to catch exceptions from
SQL methods ( via ZodbcDA ) in an external method?
I do not know how the exceptions are named.
If I catch the exception with a general 'except:' statement
it works but I cannot see the info from the exception,
so I
Hi all,
This is a conceptual rather than technical
question
I intend to build an intranet with zope...though
it's not as simple as that...I'd like 90% of the site to be password protected
(giving access to members of my company)...do I use acl_users for
this?
I'd also like parts o
hi all, I'm currently experimenting with zope
and noodling with pythoncan anyone give me an answer on these?
Python is beautiful (nearly as beautiful as
Prograph (but that's another story)).
I'm a BIG fan of human readable code, I
loved HyperCard and pathelogically refused to get my
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes
>So I wonder if this is the correct way to call the session component :
>
>
>
This is what I do.
--
Regards, Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope
Heiko Stoermer wrote:
> What I can tell you is this: if you develop a "ZScheduler" and it
> becomes part of the Zope Standard distribution, the Zope community will
> be VERY glad.
ZScheduler already exists, it's just very buggy.
Check the mail archives for 'ZScheduler' and have a look at:
http:/
> Message: 48
> From: "Wolfgang Strobl" <[EMAIL PROTECTED]>
> Organization: GMD
> To: [EMAIL PROTECTED]
> Date: Mon, 22 May 2000 14:10:32 +0200
> Subject: Re: [Zope] Win98 and WEBDAV - you ought to see it if you can
>
> On 22 May 2000, 6:41 Paul Browning wrote:
>
>> Question: If WEBDAV works so
My script :
dtml-call "A.B.C.manage_addProperty(D,E,F)"
How to change "C" with another variable "V" which is
an object like
imae or file ?
_
Do You Yahoo!?
µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw
Get your free @yahoo
I export a whole subtree from by Dev instance and import it into the
production instance...
HTH,
Chris
Graham Chiu wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I do development on my site on my notebook, and then rather than
> overwriting my production data.fs, I then manual
paul beard wrote:
>
> We're considering using zope to handle some internal groupware-type
> functions, with WorldPilot as the base. What we need is the true Outlook
> killer: scheduling. Any word on this as a feature to WorldPilot or hints
> on how hard this would be implement?
I think the large
Tres Seaver <[EMAIL PROTECTED]> writes:
> If you fill out the ID and press 'Add', le voilà!
Yeah, your right! But that still means I need to do
some hacking about, and me and my semantics does not
like that ;-)
> (Actually it looks like a duplicate of #811).
How can I see number 811, it just
79 matches
Mail list logo