Answering myself, from the Resource Pro Kit:
..
The ControlSet00n subkeys represent a control set for the system.
The numbered ControlSet00n subkeys, such as ControlSet001 and ControlSet002,
contain control sets that can be used to
Hello!
I have the following listing of objects in my folder:
table
tr
tdpbName/b/p/td
td align="right"pbSize/b/p/td
td align="right"pbdate/b/p/td
/tr
dtml-in expr="doc.objectValues()"
tr
td
pa href="dtml-var absolute_url"dtml-var id/a/p
/td
td align="right"
This dll exists in in the Zope tree in the directories bin and bin\lib\win32.
unfortunately none of these is in the PYTHONPATH.
Remedy:
copy PyWinTypes15.dll into one of the directories where it
searches for ( e.g. in your case C:\programs\ZopeDev\lib\python\Products\LocalFS)
or
change the
Dear Luis,
Dieter Mauer was kind enough to assist me with the answer to this question.
The normal Sendmail tag does not accept variables.
You need to install the MIME.py.patch. Once that is done you can include
variables.
Brendon
- Original Message -
From: "Luis Cortes" [EMAIL
Hi,
I already posted this message several monthes ago, expecting a new Zope
version would fix the problem, but...
I have some images on my pages (let's say 10 - not a lot), rendered
either by dtml-var or a manual IMG tag.
When I render the page on some of my LAN boxes (especially with IE),
Hi there..
Have any1 of you gotten local unix domain socket style access
of Zope behind Apache to work? I have not .. and I am running
this on Solaris.
I see that Apache is trying to access the "file" .. and I presume
the request is passed to fastcgi .. but I never see the request
in Z2.log.
Kapil Thangavelu wrote:
i was think about this in regard to doing bulk email, the best i could
think of was to response.write and than send the email. no real
confirmation but the user gets the page and the mail hopefully gets
sent. i was planning on doing this from python with either calls
Is it possible to smoothly migrate accounts and passwords from Apache to
Zope?
More details: I keep Apache accounts in some file of the format
username:encoded_password
where username is plaintext username and encoded_password is the
password encoded in the normal Unix way (via crypt
Squishdot 0.7.1 is now available from
http://www.zope.org/Members/chrisw/Squishdot/
http://www.squishdot.org/Download/Squishdot
The following changes were made:
- Slightly updated roadmap.
- Fixed bug that prevented deleting postings.
If you run into problems, remember Squishdot has a
After installing zzLocale I get an "AttributeError" every time I try to add
a ZGadfly Connection:
--
Traceback (innermost last):
File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
File
"Dario Lopez-Kästen" wrote:
Hello!
I have the following listing of objects in my folder:
table
tr
tdpbName/b/p/td
td align="right"pbSize/b/p/td
td align="right"pbdate/b/p/td
/tr
dtml-in expr="doc.objectValues()"
tr
td
pa href="dtml-var
Jerry wrote:
Sure, dtml-comment is meant for "comments", but every
programmer needs to disable blocks of code to eliminate
factors while debugging. We all abuse comment characters for
this purpose, and it works well enough to get the job done.
Gotta agree with that!!
But in Zope it goes
Andrew Kenneth Milton wrote:
But then you'd have to parse the contents to find out if the comments are
properly nested...
Well, the parsing should be pretty simple:
1. find dtml-comment
2. search for /dtml-comment
3. if found:
ignore that block of text
else if end of text reached:
Dieter Maurer wrote:
Chris Withers writes:
Is is just me or does stuff inside a dtml-comment get parsed?
"dtml-comment" must do a bit of parsing:
It must at least recognized "/dtml-comment".
well, yeah, but that's not what I meant...
Maybe, it wants to recognize nested
Dieter Maurer wrote:
When I reported the problem, DC immediatedly answered that
the problem was already fixed in CVS: the threads
were now synchronized.
That sounds like it...
Maybe, you should take a 2.2 ZServer and use it with your Zope 2.1.6.
I do not know, however, whether this will
Chris Withers wrote:
Kapil Thangavelu wrote:
i was think about this in regard to doing bulk email, the best i could
think of was to response.write and than send the email. no real
confirmation but the user gets the page and the mail hopefully gets
sent. i was planning on doing this
I tried this on a Redhat 6.1 as far as I remember some time ago, and didn't
succeed. It only worked with a tcp-socket.
On Mon, 4 Sep 2000, Jørgen Skogstad wrote:
Hi there..
Have any1 of you gotten local unix domain socket style access
of Zope behind Apache to work? I have not .. and I am
Dieter Maurer wrote:
[EMAIL PROTECTED] writes:
To your image in properites add a string property called
Last-Modified
with value
Wed, 15 Mar 2002 19:02:17 GMT
And your broken image problem will disappear.
What version of Zope is this with?
However, this avoids
Chris McDonough wrote:
See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx,
section named "The Superuser".
No offence meant, but it doesn't do a very good job of explaining _why_
the superuser can't own anything.
Well, I think the real problem is that the
"T.J. Mannos" wrote:
Yes, I have, and I spent hours tearing apart my site thinking I'd seriously
screwed-up when suddenly all my images refused to load. But that was just
on my Solaris 2.6 server. PCs and even Macs render my pages beautifully.
It's just Netscape Communicator for Solaris
William JOYE wrote:
I use Apache and Zope 2.1.6 under Linux. In the Apache log, I have notified
that http code is always 304 but when pictures are missing in web page the
transferred size is '-' and no '0'.
If possible, try the system with Zope 2.2.
Otherwise, checkout my recent reply to
Marcus Schopen wrote:
I would also like to put my global navigation method in the standard header, so each
document can use it.
But I get a strange behaviour (see http://marcus.localguru.de:8080/b3/ )
That wasn't responding...
Could you describe the behaviour or any errors you're getting?
Daniel Rusch wrote:
not sure what you mean by "subobject adding in your __init__ method"
python prod
def manage_addfooclass():
x= fooclass()
id = 1
self._setObject(id, x)
def fooclass:
def __init__():
add subobjects here
seems like
"Felipe E. Barousse Boué" wrote:
Has anyone seen the following behavior:
I am using PCGI with Zope 2.1.6 and Apache 1.3.9. Everything works fine
except when reloading the same page, the graphics in it are not
"painted" by the client browser.
Try the patch in the following:
Erik Enge wrote:
It might not be interesting, but what I would really like is a
complete mirror of documentation and products up and running all the
time. That could be done statically, even without Zope if it sucks
that much. (Although, I can't see why it would in such a situation.)
You
Pierre-Julien Grizel wrote:
I have some images on my pages (let's say 10 - not a lot), rendered
either by dtml-var or a manual IMG tag.
When I render the page on some of my LAN boxes (especially with IE),
some images doesn't load at the first time. I need to reload the page to
make them
+---[ Chris Withers ]--
| Andrew Kenneth Milton wrote:
| But then you'd have to parse the contents to find out if the comments are
| properly nested...
|
| Well, the parsing should be pretty simple:
| 1. find dtml-comment
| 2. search for /dtml-comment
Or dtml-comment
Andrew Kenneth Milton wrote:
| What's wrong with that?
It's wrong :-)
dtml-comment
crap
more crap
dtml-comment
Lots of crap
/dtml-comment
/dtml-comment
In order to parse that fragment, you need to parse the blocks in case you
find another opening block, so that you can
Chris Withers wrote:
Pierre-Julien Grizel wrote:
I have some images on my pages (let's say 10 - not a lot), rendered
either by dtml-var or a manual IMG tag.
When I render the page on some of my LAN boxes (especially with IE),
some images doesn't load at the first time. I need to reload
What IE browser are you using? What version of Zope? A similar sort of problem
was once traced to a Y2K problem with IE but the new versions of Zope
(2.1.6) should be able to handle the problem gracefully now.
On Mon, Sep 04, 2000 at 10:13:33AM +0200, Pierre-Julien Grizel wrote:
Hi,
I
[EMAIL PROTECTED] wrote:
Out of curiosity, what exactly is a non-blocking MailHost?
One that doesn't hold up the process that is rendering the page...
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
Hi all,
I am getting the following error when i try to install the portal toolkit
with the ' experimental login manager support'.
I am using the zpatterns version : ZPatterns-0-4-1snap1and demo portal :
0.8.2 and other products. If I create the portal with no initail member then
i am able to
Hi Jean-Francios,
You need to give Zieve a list of objects that have the attributes that
you want to sort on defined. You can ether build a list of 'real
results' from the ZCatalog that can then be passed to your Zieve, or
you can just make sure the ZCatalog's 'meta_data_table' has all the
Andrew Kenneth Milton writes:
Is there anyway to regain 'root' privs from inside a zope product?
Using the -u flag to start causes the privs to be permanently gone because
z2.py uses setuid + setgid (and python doesn't seem to define sete[ug]id, at
least not on my system).
Other
One way to start an asynchronous job in Zope is with the Xron product.
Instead of sending the email, you create a Xron scheduled method to perform
that task. If you specify a trigger time of "now" (or any time in the past),
the scheduled method will execute (almost) immediately in a separate Zope
Hi,
I've just posted a set of articles relating to the future of Squishdot
and Swishdot on http://www.squishdot.org which I'd really like to get
lots of feedback on.
Could anyone interested please pop along and comment?
cheers,
Chris
___
Zope
Sean McGrath wrote:
All,
I have had a number of e-mails from developers
using Microsoft ASP in recent days. The paraphrased consensus
in the e-mails is that the external
methods/python methods approach to mixing markup
with code in Zope is more clunky than in ASP where
you can
Hi,
I have a number of dtml documents without the form "name_html". I would like to
rename everything in a particular folder
to name_html from name. Is there a way to do this?
Thanks
___
Zope maillist - [EMAIL PROTECTED]
Kevin Smith writes:
I am interested in showing the vocabulary words indexed for the page being viewed,
to be used as meta keyword data.
Is this possible?
Zope does not manage vocabulary words on a page basis.
Therefore, you cannot simply ask: "give me the words for this given
page".
Marcin Kasperski writes:
Is it possible to smoothly migrate accounts and passwords from Apache to
Zope?
More details: I keep Apache accounts in some file of the format
username:encoded_password
where username is plaintext username and encoded_password is the
password encoded
Tim Hicks writes:
I have a standard_html_header that is inserted into Zclasses. These
Zclasses have properties including meta_author ...
In standard_html_header, I use code such as dtml-var meta_author ...
This works fine and the properties of
the *zclass* are inserted. However, if I
Pierre-Julien Grizel writes:
I already posted this message several monthes ago, expecting a new Zope
version would fix the problem, but...
I have some images on my pages (let's say 10 - not a lot), rendered
either by dtml-var or a manual IMG tag.
When I render the page on some of
--
- Matthew Burleigh
- Systems Administrator, Digital Creations - publishers of Zope.
- (888)344-4332 -- http://www.digicool.com - http://www.zope.org
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
+---[ Kip Rugger ]--
|
| [snip]
|
| dtml-if "0"
| crap
| more crap
| dtml-if "0"
| Lots of crap
| /dtml-if
| /dtml-if
|
| by analogy with the common practice of #if 0 in C
Won't work, the container will still be parsed for correctness at 'save' time.
The problem isn't
One thing to remember about using __init__ to add subobjects: during
__init__, you don't have access to any acquired objects. This is probably
the main rationale for manage_afterAdd, and is the reason manage_afterAdd
is so useful. There are a lot of dependencies on acquisition even in the
Aplogies for the ignorance, but can you maybe explain the concept
of supplemental group ids and give an example of how the current unpatched
behavior could be subverted?
On 4 Sep 2000 [EMAIL PROTECTED] wrote:
I noticed when starting Zope as root (to get privilaged ports),
but requesting suid
Hi Marcus,
This is untested.
Turn "asd asd" into "asd_asd" and output:
dtml-var "_.string.join(_.string.split('asd asd'), '_')"
Turn "asd_asd" into "asd asd" and output:
dtml-var "_.string.join(_.string.split('asd_asd', '_'))"
On Sun, 3 Sep 2000, Marcus Mendes wrote:
Hello,
I need
On Tue, 5 Sep 2000, George Osvald wrote:
My sql works now and security is satisfactory so thank you. The only thing
that remains in question is that one subfolder. I created a user folder
inside, set all the security and it does not do what I want. I want to
restrict any access including
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
Hello all,
The problem is that inner classes have names like "Parent$Inner.class"
I'm unable to create a Zope file object with a name that includes the dollar
sign. However, the applet won't function without it.
Has any one overcome this?
Yes, the applet functions properly when served from
Ok, all weekend I've been chasing my tail. Now I scream for help...
I cannot get SQLSession to insert values into the zsession_data table
to save my freeking life. I'm not getting errors of any kind, just no
inserted session data. However, the zsessions table shows the sessions
being created,
In a last, desparate effort I downgraded to SQLSession 0.2.9a and it's
working fine. Is this normal?
-cw-
--
~
Charlie Wilkinson - [EMAIL PROTECTED] - N3HAZ
Parental Unit, UNIX Admin, Homebrewer, Cat
It appears that there has been _some_ change in security somewhere. As Manager, I
cannot add a Managed Meeting object in
a Zope 2.2.1 server.
Nor can someone with the role 'Member', who has been given the neccessary permission.
It tells me I don't have
uthroization to access 'ManagedMeeting'.
[Eric L. Walstad]
| Hello all,
|
| The problem is that inner classes have names like "Parent$Inner.class"
| I'm unable to create a Zope file object with a name that includes the dollar
| sign. However, the applet won't function without it.
|
| Has any one overcome this?
Adding files to Zope
On Fri, 1 Sep 2000, Kapil Thangavelu wrote:
Francois-Regis CHALAOUX wrote:
How to render the total number of result coming from the search in a ZCatalog
even if the batch will be render in several sequences ?
Howto render : "Your search contain results"
dtml-var
On Mon, 4 Sep 2000, George wrote:
asks for the password even for the viewing. Then I enable 'access the
content' and the site works as long as I do not try to use sql. When I
how ever enable 'use sql methods' permission they can access my
database, delete and add entries to it. What do I have
Chris McDonough [EMAIL PROTECTED] wrote:
Aplogies for the ignorance, but can you maybe explain the concept
of supplemental group ids and give an example of how the current unpatched
behavior could be subverted?
I can try...
Supplemental gids are useful for allowing a user to belong to more
The change in the sendmail tag to use the SMTP module has caused a
problem for me when sending to a qmail mailserver.
After investigation, it would appear that the smtplib module function:
SMTP.mail(self,sender,options=[]):
appends a space to the end of the FROM: address when there are no
Brad Clements writes:
One thing that has been bothering me is that I can't easily test my
ZSQL Methods if they accept a date type unless I completely fill all the
date arg types.
For example, if the sqlmethod has argument type
startdate:date=''
and in the body I have
On 3 Sep 2000, at 13:33, Dieter Maurer wrote:
One solution would be to use a valid (special) date as default
value and test against it in the body.
I don't like this "solution" because the end-user has to know what the
special date is, it looks ugly on the form and it still does *not*
ZPatterns 0.4.2a1 PlugIns.py bug?
I get a 'Name Error' aq_base when I hit the following code
while trying to update the index_html method of one of my
Specialists from CVSMixin.. I think that this would get
hit anytime you add an object whose id is already in the
acquisition path
-steve
Shane Hathaway wrote:
Bill Anderson wrote:
...
File /local/ZopeSites/TestBed/lib/python/AccessControl/Owned.py, line 152, in
getOwner
(Object: mailPasswordTemplate)
ValueError: (see above)
By any chance does it say something to the effect of "Unpack tuple of
incorrect size"?
Bill Anderson wrote:
...
The following patch seems to alleviate the problem, but I dunno if it affects
anything else:
yeah, it makes zope ignore the cookie login setup, and instead triggers basic Auth ...
will work on it today. Ugh.
--
Do not meddle in the affairs of sysadmins, for they
Bill Anderson wrote:
Bill Anderson wrote:
...
The following patch seems to alleviate the problem, but I dunno if it affects
anything else:
yeah, it makes zope ignore the cookie login setup, and instead triggers basic Auth
... will work on it today. Ugh.
Thi sis getting old,
64 matches
Mail list logo