In article [EMAIL PROTECTED], Kapil Thangavelu
[EMAIL PROTECTED] writes
...
One of the things I wanted to do was to add a multiple selection
property to the default properties in the Thing_add method. In order to
do this in multiple zclasses I wanted to have a product wide
There has been intermittent talk of improving mailhost's ability to
scale. i just wanted to solicit some comments to some ideas for
improving mail host performance.
Stage I. Persistent Socket
1. make the smtp connection persistent
2. preface sending mail with a 'noop' operation to verify
I used to use Client.py quite a lot for calling zope objects through the web
from python.
However, now that I've upgraded to Zope 2.x it fails.
(Zope 2.2 ZPublisher, connecting to Zope 2.1.2)
Traceback (innermost last):
File "/u/g/aedmondson/backups/pack_db.py", line 22, in ?
pack()
When building current zope cvs, cPickle.c want the mymath.h. Where can I get
mymath? What devel package I should install for a debian system?
Rgs,
Kent Sin
-
kentsin.weblogs.com
kentsin.imeme.net
___
Zope-Dev
On Mon, Oct 09, 2000 at 10:00:52PM +0800, Sin Hang Kin wrote:
When building current zope cvs, cPickle.c want the mymath.h. Where can I get
mymath? What devel package I should install for a debian system?
To compile binary Python extensions with Debian (as Zope needs), you need
the python-dev
In message [EMAIL PROTECTED], Paul Erickson [EMAIL PROTECTED] writes
Well I was trying to get a self contained class initialisation using a bit of python
I had defined a propertsheet called ClassConstants containing a tokens property with
"A B C" in my extern method initialiser I was doing
I have just thouroughly looked through the API reference
which is built in Zope 2.2.2.
I found many strange permission statements, e.g.:
* all methods of "PropertySheets" can only be used from Python
* while "PropertySheet.propertyItems" can be used with
permission "Access Contents
Itai asked:
"I started reading about ZPatterns but I still can't get my head
around it... I'm wondering if I should try to learn it fast enough
for this project, or stick to what I already know. What in people's
experience is the typical learning curve for ZPatterns? How much am I
Hi all
How can i restrict Anonymous logins to a domain.
Thanks
Mark
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Does Zope security provide a way of restricting what objects are listed to
an authenticated user inside the Zope 'manage' interface? I'm getting my
head all twisted up over this security / proxy roles /local roles lark.
Thanks, seb
___
Zope maillist
Thanks for the reply,
Either I don't understand the problem or you're making it too
complicated. g
I think both, but mostly the latter ;)
Explanation MK II:
I know how to create a form that does what I want (update properties,
whatever). What I don't know is how to include it as part of
On Fri, 6 Oct 2000 11:20:38 -0400, "Brian Lloyd" [EMAIL PROTECTED]
wrote:
This is a very important point - I think people would rather
be able to implement SOAP services selectively rather than
by One Big Switch that may expose just about anything. I would
very much like to see a project
Hi,
I just got a weird "error" this morning. I have a ZCatalog with some
ZClasses which is index in it. But when I use the "Update Catalog"
function it deletes ALL entries in the catalog !!!
Any ideas ??
No errors returned. Just Nothing.
Using Zope 2.2.2 on Linux. I have restarted and
On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
[EMAIL PROTECTED] wrote:
Definitely, yea!
I would really be interested in its correct results.
We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.
Toby
Toby Dickenson wrote:
Those people were concerned that too many things were exposed via
ZPublisher also My interpretation was that the issue is one of
access control, not publishing protocol.
I think the issue is that you can't limit the visibility of objects
right now.
You can limit
You're not the only one. My catalog does the same strange things.
I got the same Zope version.
Perhaps a bug in ZCatalog.
Anders Holmbech Nielsen wrote:
Hi,
I just got a weird "error" this morning. I have a ZCatalog with some
ZClasses which is index in it. But when I use the "Update
On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
[EMAIL PROTECTED] wrote:
Definitely, yea!
I would really be interested in its correct results.
We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.
so if i'm not mistaken you want to be able to include an object
instance with say dtml-var myinstance and, depending on the user
being authenticated, have that object render with "edit this" button
or without?
overriding the __str__ method can afaik only be done inside a python
product (read
hi,
it seems to me that the variable name corresponding to a checkbox into a
form is not
pushed to the namespace of the SQL query when it's not checked. if it's
checked, it works
fine. the error reported is related to the argument list entry corresponding
to the name of the checkbox into the
I've been experiencing two problems with cookies from Zope:
1) When I set a cookie with the path set to the root
dtml-call "RESPONSE.setCookie('account',AUTHENTICATED_USER,path='/')"
I'm still not able to click through to another hyperlink once I'm logged in,
i.e., I've used
this is the standard behaviour in a HTML form. To avoid this problem we
include
an line like this:
dtml-if "REQUEST.has_key('CheckBox_name')"
dtml-else
dtml-call "REQUEST.set('CheckBox_name', 'N')"
/dtml-if
in the method that receives the form data.
Hope this help
Peter Bengtsson schrieb:
[Just checking.]
Have you tried to acctually _use_ the animated gif in context with other HTML?
I have experienced problem some single time with images (can't remember what the
problem/image was) viewed directly from the View management tab.
Excuse the childish
Sorry, forgot the html quoting in my last posting...
Should work now.
Peter Bengtsson schrieb:
[Just checking.]
Have you tried to acctually _use_ the animated gif in context with
other HTML?
I have experienced problem some single time with images (can't
remember what the problem/image was)
We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.
Can we see some profiling data from that to support your statement?
Its all application-specific, and theres nothing I can release at the
moment. Essentially the
Hi,
Can we display zope content on other web sites via xml or some kind of a script? What
I had in mind was something on the lines of moreover news (www.moreover.com) that
syndicates its content to other web sites.
I'd appreciate any help.
Thanks.
I also tried to name the animGif explicitely animGif.gif instead
of animGif - guessed what? - same problem!
Any more ideas, please?
have you tried doing a diff on the zope and non-zope versions to see if
zzope's somehow mangled it?
seb
___
Hi, Kent Sin
dpkg -S tells you what package contains a file:
jwashin@vpave5:/$ dpkg -S mymath.h
python-dev: /usr/include/python1.5/mymath.h
So, it would appear the python-dev package is the one you need.
-- Jim Washington
Sin Hang Kin wrote:
When building current zope cvs, cPickle.c want
Seb Bacon schrieb:
I also tried to name the animGif explicitely animGif.gif instead
of animGif - guessed what? - same problem!
Any more ideas, please?
have you tried doing a diff on the zope and non-zope versions to see if
zzope's somehow mangled it?
seb
Yes, I did. They were
Chris Withers wrote:
Toby Dickenson wrote:
Those people were concerned that too many things were exposed via
ZPublisher also My interpretation was that the issue is one of
access control, not publishing protocol.
I think the issue is that you can't limit the visibility of objects
right-clicking the image in question and "save image as..." should give you
the precise data that zope's storing internally - that's what you did,
right? it seems very unlikely to me that zope does mangle images though.
and doubly unlikely that it unmangles them again just for your diff. is it
It seems like this can be handled rather well by simply
adding a 'XML-RPC access', a 'SOAP access' and a 'WebDAV
access' set of permissions. we already have a 'FTP access'
permission which works fine.
Not quite.
That permission controls several methods that are particularly useful for
Hi "[EMAIL PROTECTED]"!
Have you taken a look at
a) Amos Latteier's "RSS Channel" product:
http://www.zope.org/Members/Amos/RSSChannel.tgz
(and his article on xml.com
http://www.xml.com/pub/2000/02/23/zope/index.html)
(the product is based on Amos's "XMLDocument product":
Michael Bernstein wrote:
"Jan H. Haul" wrote:
Each of these will be around 42 KByte large.
Huh? Why that? you ask.
Because in the header of each mail, the whole recipient list will
be listed under To: or Cc:
[snip]
- privacy: You would not like to have "your" recipients end up
Is the code you used in a DTML Method or a DTML Document?
I had it in a DTML Method. It was in the standard public interface index_html
that is a DTML method.
Is it in a DTML Method being called from a DTML Document?
No, the standard_html_header calls the method. Actually, I just copied
Is the code you used in a DTML Method or a DTML Document?
I figured out (later) that it was indeed the DTML Method/Document issue on the
latter part of my question. Please disregard my last mesage.
Thanks for your help.
Ron
./.
___
Zope
Seb Bacon schrieb:
I also tried to name the animGif explicitely animGif.gif instead
of animGif - guessed what? - same problem!
Any more ideas, please?
have you tried doing a diff on the zope and non-zope versions to see if
zzope's somehow mangled it?
seb
Yes, I did. They were
Hi,
I am still new to zope and am wondering if there is a tell-a-friend
script/product/example floating around for me to look at? If not,
and I made my own form with Zope (which I have not done yet),
what variable would call the existing page the user was on ?
Thanks in advance.
--Sean
Consider the following situation:
-
I have two ZClasses. One ("Album") is folderish, and serves as a photo
album. The other ("Photo") isn't and serves as a photo in an Album. Albums
can contain only Albums and Photos.
I would like to have a dtml-tree
Hello, I have Zope 2.2.2 running with a MySQL database, and
everything _was_ working fine until I started to play with
the new database structure our dba came up with for tracking
our recruiting process...
anyway, i have a db named recruit, with a MySQLDA connection
object to it that works, but
This is additional info for the error mentioned in my last email.
If I alter the column definitions to use 'int' as opposed to 'mediumint',
then everything works fine! So, its the 'mediumint' type that isnt mapping
properly...
where would i fix this?
Sure..
http://fundraising.gotschool.com/tell_a_friend.html
Is that what you want?
J
From: [EMAIL PROTECTED]
Date: Mon, 9 Oct 2000 11:02:36 -0700
To: [EMAIL PROTECTED]
Subject: [Zope] tell-a-friend product?
Hi,
I am still new to zope and am wondering if there is a tell-a-friend
Hi,
I am still new to zope and am wondering if there is a tell-a-friend
script/product/example floating around for me to look at? If not,
and I made my own form with Zope (which I have not done yet),
what variable would call the existing page the user was on ?
The url of the current page
Brian Withun wrote:
I need the branches to represent two different meta types, Album and Photo.
If I use branches_expr="objectValues('Album') I'll see the tree rendered
with only Albums, and no Photos shown.
Not sure of the consequences in the tree tag. But objectValues()
accepts multiple
A thousand apologies for such blatantly offtopic drivel, but this
leaped into my mind today and I figured if anyone could appreciate
it, it'd be somebody on this list.
a haiku:
request bracket tick
base zero tick bracket plus
tick
Okay, this is my second question for the day. Hopefully it won't be as easy as
the first -- otherwise, I'll have to stick to practicing law.
I'm looking for a way to list the DTML Methods in a folder -- except the
index_html method. So far, I've had to do it by using this:
dtml-in
Okay, this is my second question for the day. Hopefully it won't be as
easy as
the first -- otherwise, I'll have to stick to practicing law.
I'm looking for a way to list the DTML Methods in a folder -- except the
index_html method. So far, I've had to do it by using this:
dtml-in
branches_expr="objectValues('Album' 'Photo')
I think you mean
branches_expr="objectValues(['Album','Photo'])
seb
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
Not to throw stones, just trying to understand.
WRT dtml-var ... fmt=...
It makes sense to me to use "fmt=something" when the something is an
instruction on how to format a number or how to format the time. In those
cases, I'm simply saying how I want the number or time to appear. But when
I
hi,
as usual, if such things happen, "id" is a method.
it gets called by zope if you just use dtml-var on it.
So either use id() or better, look for title and
if not set (dont set a title on html_index then)
dont display it.
Regards
Tino
[EMAIL PROTECTED] wrote:
Okay, this is my second
Seb Bacon wrote:
branches_expr="objectValues('Album' 'Photo')
I think you mean
branches_expr="objectValues(['Album','Photo'])
Ah, what's a bracket here or there? g
It may be more correct? But
dtml-in "objectValues('DTML Method' 'Folder')"
will render as expected. Go figure!
--
try untested but this is a faq:
dtml-in expr="objectValues('DTML Method')" sort="title"
dtml-if expr="_[id] 'index_html'"
td align="center"a href="dtml-absolute_url;"dtml-var
title_or_id/a/td
/dtml-if
/dtml-in
that should be
dtml-if expr="_['id'] 'index_html'"
Well.. a few extra minutes in my day get you...
http://www.zope.org/Members/BwanaZulia/tell_a_friend/index_html
Enjoy.
J
From: [EMAIL PROTECTED]
Date: Mon, 9 Oct 2000 12:18:56 -0700
To: "J. Atwood" [EMAIL PROTECTED]
Subject: Re: [Zope] tell-a-friend product?
Yes, exactly.
On 9 Oct
Now this is service! Thanks a lot for the effort.
--Sean
On 9 Oct 2000, at 17:41, J. Atwood wrote:
Well.. a few extra minutes in my day get you...
http://www.zope.org/Members/BwanaZulia/tell_a_friend/index_html
Enjoy.
J
From: [EMAIL PROTECTED]
Date: Mon, 9 Oct 2000 12:18:56
Seb Bacon writes:
... "manage_content" to enable editing all relevant aspects
Now I want a way to give the user access to this screen. I could do a new
version of the folders tree view (manage_menu), but what I'd really like to
do is have a button next to each of these elements
Hey... no problem. I have answered a few questions in the past about form
validation and since this is a good example of it and a neat little piece of
code I thought it could help.
Besides, there is probably some sort of good Karma in the world of
programming that I will benefit from (or already
Seb Bacon wrote:
try untested but this is a faq:
dtml-in expr="objectValues('DTML Method')" sort="title"
dtml-if expr="_[id] 'index_html'"
td align="center"a href="dtml-absolute_url;"dtml-var
title_or_id/a/td
/dtml-if
/dtml-in
that should be
dtml-if
Hi!
I just got reminded of the Zope Internet Explorer WYSIWYG editor. It still
can be found at
http://www.zope.org/Members/johanc/ZIE
... and for anybody using IE 5.x it is a very cool thing, even if it is just
intended to be a basic demo.
I'd like to know if anybody is still working on that
I'm guessing it's in db.py in ZMySQLDA, I had to do the same
thing with DECMIAL as shown here, I didn't post that since I'm
not sure most folks would want this behavior but you should
be able to do the same with MEDIUMINT:
class DB:
defs={
FIELD_TYPE.CHAR: "i",
Wow, that looks very diffrent from my ZMySQLDA, what version are you
running?
I just got mine to work, I had to mod the def section in the db.py and some
of the code in the MySQLmodule.c file - I want to make it available for
download
and whatnot, but I need to look through the setup script
Greetings,
I have a lot of past experience with tuning and timing on Oracle (quite
simple), but I seem to have hit a hurdle with timing my sql statements in
MySQL. Getting these timings are _incredibly_ important to finding
bottlenecks in a web site's performance...
Now, first, is it possible
doh, I was the one running the odd version - 1.1.3 as opposed to the newer
1.2 - I guess I never updated this when I updated the full zope install.
The new version looks like it would of been much easier to fix, if it had
the problem in the first place!
-Original Message-
From: Jon
+---[ Jon Franz ]--
|
| +---+--+--+-+-++
| | Field | Type | Null | Key | Default | Extra |
| +---+--+--+-+-++
| | id| mediumint(8) | | PRI | 0 |
I'm answering myself because I found a solution to my problem, and I
wanted to share the results with the list, in case someone is struggling
to try to do the same thing...
The problem with mysql (go easy, we're not talking about the fact that
mysql is primitive and overall does not match up to
I am trying to get rid of those question marks in my urls since it
seems to confuse the users but I am not sure really how to do that. I have
heard that it can but done but so far I have not found out how it can be
done. I want for the last piece of the url to be assigned to the varialbe
if a
64 matches
Mail list logo