However, RedHat have now released Python 2.4 in the Fedora development
stream and it will ship with FC4.
Does ZC have an official position upon this yet?
Speaking as Zope release manager but not as official of ZC: Python
2.3.4
will likely be the recommended Python version for Zope 2.7. I am
However, having to fork off the main Fedora branch in regard to Python
dependencies (which directly affect Anaconda, up2date, GTK, and most of
the desktop applets) has major implications for how we maintain our
distro.
As Andreas said, there is no forking involved. You should have a
separate
Also if this is the wrong list for this topic please tell me which is
the correct list.
Since SpeedPack is a Plone-related add-on I would assume your question
belongs on a Plone mailing list. See http://www.plone.org.
jens
___
Zope-Dev maillist -
On Oct 27, 2004, at 15:49, Jim Fulton wrote:
Below is a proposed policy on backward compatibility for Zope.
Zope Policy on Backward Compatibility
=
snip
+1, even regardless of its actual content. Having a policy at all is a
lot better than the I gotta ask X
---
Jens Vagelpohl [EMAIL PROTECTED]
Software Engineer Zope - done medium rare
Zetwork GmbHhttp://www.zetwork.com/
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org
On Oct 17, 2004, at 18:13, Matt Hamilton wrote:
Hi All,
I'm having some trouble getting python2.3.4 running on FreeBSD 5.3b7
on an AMD Opteron, so for kicks tried python2.4rc3. It managed to
pass the recursion regex test in test_re.py that was causing
python2.3.4 to barf, but in trying to
-
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
---
Jens Vagelpohl
Loads nice and fast right now for me. But then again it's 2 AM EST...
jens
On Sep 9, 2004, at 23:59, Jim Fulton wrote:
After updating all of the relevent libraries, I decided to try
reenabling ViewCVS
for a while to see if the behavior is any more stable.
Jim
That's an interesting question. What is the unit test policy if I
change/improve a part of the Zope code that has no unit tests at all.
Would I be expected to create unit tests for the whole thing all of a
sudden?
In another post Tres' likened doing so to supererogation
On Aug 29, 2004, at 16:03, Christian Theune wrote:
Am So, den 29.08.2004 schrieb Christian Theune um 15:37:
Ack. Stuff is on it's way.
Done. The error log improvement is there. Thanks for the quick support.
You published your nagios scripts somewhere, right? I'm interested.
jens
Due to the fact that this is a feature and the code provides no unit
test infrastructure (and I don't have the time to start doing that for
the error log) I'd like to know what the general rule for Zope 2 is, If
I want to make improvements to existing code that isn't covered by unit
tests at all.
Even using BTreeFolder to store all objects I was getting 300s
delay to show a single object (ok, it's an archetypes-based one,
containing 50 fields, splitted into 7 schematas, with lots of
fancy stuff...). So I made a directory hash structure based on
UID from each object (an AT UID is md5, so we
When we tried to upload objects from wikipedia's sqldump of after about
40,000 objects in a folder the script went for a toss. roughly each
time
we ran the script the same problem. even to visit the folder of even
1000 objects through ZMI is a pain. I think that is where BTreeFolder2
will be
Am 2. Mai 2004 um 13:28 schrieb Dieter Maurer:
Willi Langenberger wrote at 2004-5-2 17:10 +0200:
...
The reason is the way python handles threads on some systems
(RedHat-7.3, kernel 2.4.20, without NPTL).
What is NPTL?
The native posix thread library or something like that. It's a new
threading
On Apr 2, 2004, at 7:06, AP Meyer wrote:
Is this a known bug?
Working without automatic refresh is very unhandy ;-)
thanks
Andre
Refresh is *not* a solution for everything because of the gyrations it
has to go through to force the refreshing effect. Not everything will
work with it, period.
Please post this in the Collector at http://zope.org/Collectors/Zope
jens
On Mar 22, 2004, at 7:09, AP Meyer wrote:
Hi Zopers
It seems that there is a bug in ZTUtil.Batch: when the batch should be
the length of the batch and there are exactly as many orphans as there
would fit on one page
write server itself not very hard, i simply don't want patch
ZServer/components.xml
is there any way don't touch Zserver?
probably not.
jens
smime.p7s
Description: S/MIME cryptographic signature
___
Zope-Dev maillist - [EMAIL PROTECTED]
Zope does not need ESI support - You can write ESI statements in your
templates without specific support from Zope.
jens
On Jan 12, 2004, at 8:57, Bjorn Stabell wrote:
Any news on Zope support for ESI?
http://mail.zope.org/pipermail/zope-dev/2003-January/018619.html
Zope does not need ESI support - You can write ESI statements in
your
templates without specific support from Zope.
jens
Does ZC use ESI in production? Maybe some experiences regarding
caching?
Not yet, no. We are waiting for more stable Squid releases before using
Squid3. We're also working
Dunno about any such plans right now, but that doesn't mean it won't
happen, especially when it has become stable in Squid itself.
jens
On Jan 12, 2004, at 20:08, Bjorn Stabell wrote:
Jens:
Zope does not need ESI support - You can write ESI statements in
your templates without specific support
But I realized that what you actually might want is to have different
login
and password for each user, that is a possibility to pass username +
password to send(). And maybe you want a setting to allow this or not.
Or is this overkill? What do you think?
IMHO, YAGNI. Besides, a lot of
If you need anything CMF specific use the portal_url tool. I do not
see why a basic infrastructure method like absolute_url() should know
anything about portals at all.
I have to admit I did not look deeply, but Stefan's notion that
absolute_url is a basic infrastructure method that should not
cvs.zope.org seems to have locked up, we're looking into it
jens
On Oct 27, 2003, at 12:39, Sidnei da Silva wrote:
Howdy folks,
Im trying to cvs up and get the latest changes on CMF 1.4, but it just
does time out. Any clue?
[EMAIL PROTECTED]:~/src/cmf/1_4$ cvs up
ssh: connect to host
cvs.zope.org had a problem with its hardware RAID controller today that
required manual intervention. In order to solve what we think is the
main cause we are going to have a downtime from 4PM EST until about
4:30 PM EST today to remove some dodgy hard drives.
jens
... disk removal took a little longer than expected but we're back to
normal now.
jens
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
Hi everyone,
The issue collectors formerly hosted on collector.zope.org have been
migrated to the main zope.org website and are now available at the
following address::
http://www.zope.org/Collectors/
I have tried to find all links to these collectors, but there might be
old links in various
Already fixed.
jens
On Thursday, Oct 23, 2003, at 14:58 US/Eastern, Andreas Jung wrote:
When I look at the default search results for the Zope collector then
the latest
pending issue has been filed in May which is nearly impossible. There
must be something
wrong.
Andreas
Just a quick heads-up:
This morning we noticed some odd activity on cvs.zope.org that looked
like someone had broken into the machine. We have shut the machine down
completely and are in the process of installing new drives and doing a
fresh install from the ground up. Then we will start
In the case of empty Etags, I think that sending an empty header has
been shown to be the wrong choice. I suggest it should be removed
from the head and the 2_7 branch.
For future reference to any committers: if you modify any HTTP headers
sent by Zope, you very likely ought to discuss it
Jens Vagelpohl wrote:
Along with that the MS Author Via header garbage should at least be
governed by some configuration flag.
No, no, no, you're not seeing the bigger picture... you don't need
configuration flags for any of that stuff. It just shouldn't exist,
period. If people need to clutter
I know, I was just trying to figure out how this was supposed to work.
Currently setting Last-Modified seems to be the only way to get
something cached in Apache; Expires alone is no good, and adding an
Etag
header doesn't seem to have any effect either. Maybe this should be
classified as an
Well, to at least reduce the immediate pressure, why don't you throw
more RAM into that server? Memory is cheap.
jens
On Friday, Aug 22, 2003, at 17:38 US/Eastern, Leonardo Rochael Almeida
wrote:
Hi,
For a long time now, one of our clients, running Zope 2.5.1, has been
experiencing memory
what exactly is it you are trying to achieve? maybe someone can help if
you let us know what the real motivation is.
jens
On Saturday, Mar 8, 2003, at 11:42 US/Eastern, Sondre Rønjom wrote:
Ive been looking through AccessControl/User.py to understand the
validate() methods paramteres. Im not
hm... i could have told you that the LDAPUser class in the
LDAPUserFolder product can do that but i had the whole thread mostly
tuned out. initially it did not look like anything i could help with
and the first posting was very long if i remember correctly.
jens
On Thursday, Mar 6, 2003, at
the ZLDAPConnection product has not seen any active maintenance in more
than 2 years now. i am sure it does not handle referrals.
jens
On Wednesday, Feb 26, 2003, at 02:51 US/Eastern, Jean Jordaan wrote:
Hi Jeffrey all
I'd just like to check something ..
When running LDAP in a master/slave
i think in general you will not get much support from anybody when it
comes to exotic unices like AIX. there isn't many people who try to
make it work.
jens
On Friday, Feb 21, 2003, at 21:12 US/Eastern, Jamie Heilman wrote:
There never was an answer from anybody.
Thats probably because nobody
how about you change your code so it attempts to download both .tgz and
.tar.gz?
jens
On Monday, Nov 25, 2002, at 09:03 US/Eastern, Andrew Sydelko wrote:
On Mon, 25 Nov 2002 13:56:34 + Chris Withers [EMAIL PROTECTED]
wrote:
Andrew Sydelko wrote:
Ok, whoever is in charge of zope.com
+1 from me... most other PluginIndexes already fail gracefully when
something to be unindexed has disappeared. IMHO all indexes should
behave that way.
jens
On Thursday, Nov 21, 2002, at 08:24 US/Eastern, seb bacon wrote:
Anyone object to me changing PathIndex so it swallows exceptions and
Depends on your needs. ZCTextIndex is very easy to use and supports
relevance
ranking, TextIndexNG is supposed to be some kind of
eier-legende-wollmilch-sau.
Compare the features and make your choice.
-aj
isn't TextIndexNG much better with international character encodings
and that stuff?
I would like to create a Page Counter product that doesn't bloat. If a
product is created that doesn't subclass History or UndoSupport does it
still bloat?
those have nothing to do with the fact that every time that hit counter
fires some object will get updated and thus saved again.
Zope is
why is that code no longer referring to the real userfolder anymore? it
should not make calls to authorize/identify/authorize on self but on
the LDAPUserFolder it is using as the user source.
jens
On Thursday, Oct 17, 2002, at 03:39 US/Eastern, Dirk Datzert wrote:
Hi all,
I try to solve
being explicit is almost always better. you are relying on internal
magic and it's not apparent from looking at the code you wrote.
the validate implementation in the LDAPRoleExtender is the most
correct one. shane worked on it for a while to make sure it does the
most correct thing possible,
conflict errors do not imply conflicting writes by definition. there is
a thing called read conflict, which is probably what happens to you.
jens
On Friday, Oct 11, 2002, at 07:47 US/Eastern, Stefan H. Holek wrote:
Hi All!
I am experiencing a lot of 'ZODB conflict error at ...' that I can
extremely expensive. you would have to...
- assemble a list of all objects IDs in the ZODB
and then...
- parse all contents of all objects and check against that ID list.
you would probably need a little counter for every single ID that gets
incremented upon finding its ID referenced, and
sorry for the crossposting, here's a little heads-up for the mac OS X
crowd:
upon upgrading to 10.2 (jaguar) you will most likely find that your
python binary (along with most other self-compiled software) is broken.
in the case of python a simple re-build (if you compiled from source,
that
well, the basic cause is worse than that: they moved symbols around
between system libraries.
jens
On Monday, Aug 26, 2002, at 12:11 US/Eastern, Barry A. Warsaw wrote:
JV == Jens Vagelpohl [EMAIL PROTECTED] writes:
JV sorry for the crossposting, here's a little heads-up
... which doesn't help people trying to run a current zope source
release all that much...
jens
On Monday, Aug 26, 2002, at 17:13 US/Eastern, Jeffrey P Shell wrote:
On 8/26/02 11:49 AM, Jens Vagelpohl [EMAIL PROTECTED] wrote:
well, the basic cause is worse than that: they moved symbols
in your script you must commit a transaction once in a while with
get_transaction().commit().
when you use xml-rpc then every call to zope will end up being its own
transaction and you will not have this problem.
jens
On Sunday, Aug 25, 2002, at 10:12 US/Eastern, Christopher N. Deckard
this will probably not help with zope 2.4.3 since that has other
crash-bugs not covered by the python patch. upgrade to 2.4.4 or 2.5.1
instead.
jens
On Tuesday, July 16, 2002, at 02:11 , Myroslav Opyr wrote:
Hi,
In past times I was advised to apply a patch and increase stack size for
have you read about the python crash-bug stemming from tiny thread
stack sizes on freebsd and applied the patch? the mailing list
archives should tell you what to do.
jens
On Tuesday, July 16, 2002, at 09:43 , Jeffrey P Shell wrote:
For a while now, Tracker has been core dumping on my with
There is a bug in IIS[1] which causes cookies to be dropped during a
redirect.
a bug in IIS??? no way...:P
Should my approach work? Are there better workarounds?
i don't know your situation exactly, but if IIS is not a pressing
requirement you can use apache for windows.
jens
casey duncan put a fix into CVS for what you might be experiencing. it will
probably show up with the first 2.6 betas.
jens
On Wednesday, June 5, 2002, at 11:11 , Emile van Sebille wrote:
I found this post from Ted Skolnick but saw no follow-ups, and I am
having the same problems. Ted,
I did. What is standard procedure if the situation like the one I've met
appears? What is scenarion from bug report to product release without the
bug found?
i don't know. the people on the python-dev mailing list could help you with
that question.
jens
add your comment, encouragement, flames et to the sourceforge bug tracker
issue. i guess that would help most.
jens
On Wednesday, May 15, 2002, at 10:55 , Myroslav Opyr wrote:
Hi,
it look like it works! I have to give site some time to run to be sure.
Where I can vote for a bug or to
Hosting
e-mail: [EMAIL PROTECTED]
cell: +380 50.3174578
On Wed, 15 May 2002, Jens Vagelpohl wrote:
python has a crashbug under FreeBSD due to FreeBSDs *tiny* thread stack
size.
search the mailing list, there were posts with workarounds.
unfortunately,
those workarounds involve
there is a common misconception that the number of threads and the
pool_size defined in ZODB/DB.py are the same. they are not.
number of threads is just that: the maximum number of threads the zope
process will spawn (excluding extra threads, such as those used for
zDaemon).
the pool_size in
the LDAPUserFolder-tailored solution is already available:
http://www.dataflake.org/software/ldaproletwiddler
jens
On Friday, May 3, 2002, at 05:00 , Stefan H. Holek wrote:
On Wed, 1 May 2002, Dirk Datzert wrote:
We decide to install only one LDAPUserFolder in the Root-Folder and
well, if all the user folders are configured the same way *except* for the
groups-to-role bit then you should get the functionality you need.
it's not trivial to program something that would allow retrieval of a user
object at the root and then somehow mangle the list of roles based on where
user.
jens
On Wednesday, May 1, 2002, at 08:59 , Dirk Datzert wrote:
Jens Vagelpohl schrieb:
well, if all the user folders are configured the same way *except* for
the
groups-to-role bit then you should get the functionality you need.
Yes, I expect that. but what if you have 100 user
log in with the superuser account (create one using the zpasswd utility if
needed), then you can delete the root user folder and create a new one.
user folders are one of the few things that can be owned by the superuser.
jens
On Tuesday, April 30, 2002, at 09:40 , Dirk Datzert wrote:
Hi,
Ive never looked at LDAPUserFolder so this may be irrelevant, but is
it possible for LDAPUserFolder to validate that the cached _v_
information is still fresh? If that validation is quicker than
fetching a new copy then this is still an overall win.
yes it does have a very rough way of
as a data point, here is browser data for one of the sites i own. the data
is produced by webalizer. NS4 is becoming negligible::
Top 25 of 73 Total User Agents
# HitsUser Agent
1 47194 81.46% Micro$haft Internet Exploder
2 16780 28.96% MSIE 6.0
3 16273
mac OS X browsers:
- IE 5.1
- mozilla 0.99 (=1.0)
i won't include OmniWeb because its CSS support is still flaky.
jens
On Friday, April 5, 2002, at 04:04 , Dan Pierson wrote:
On Fri, 2002-04-05 at 12:41, Paul Everitt wrote:
However, it is important to note: Zope 3 is *not* a product. It
it says zope has exited normally. i think that's a pretty clear
explanation of what happened (meaning this error is completely benign).
jens
On Friday, February 15, 2002, at 09:30 , Pascal Samuzeau wrote:
Hi,
I've got this error when I shutdown my Zope :
PAn error was encountered
did you look at the LDAPUserFolder?
jens
On Tuesday, February 5, 2002, at 05:46 , John Hall wrote:
I'm fairly new to Zope and Python, so please forgive me if this is a
stupid question. I'm trying to add a new exUserFolder authentication
plugin using LDAP. I've copied the Radius plugin
vio,
for your situation the simplest thing would be to use the CookieUserFolder
(see http://www.dataflake.org/software/cookieuserfolder) which is as
simple as the standard user folder and adds cookie-capability and
customizable login and logout forms.
no need to get all tripped up in
vio,
make sure you read the README so you don't lock youself out if the login
form does not have the correct input fields.
jens
On Thursday, January 24, 2002, at 10:55 , vio wrote:
Excellent! Precisely what I'm looking for. Thanks!
Vio
* Jens Vagelpohl [EMAIL PROTECTED] [020124 10:46
2002 00:18:56 -0500
Jens Vagelpohl [EMAIL PROTECTED] wrote:
did you read the documentation that explains how to suppress e.g. site
roots by inserting certain names into the URL?
installing site roots or virtual host monsters does not toast any
ZODB.
jens
On Tuesday, January 22, 2002
the user gets modified automatically, provided you use common
login-methodology and a user folder that supports it.
you don't set the user manually.
jens
On Monday, January 21, 2002, at 12:35 , vio wrote:
Hi,
Does anybody know what is the method call to modify the
AUTHENTICATED_USER
(my_custon_loginForm_loginName)._getPassword(): and
here SWITCH to the authenticated new user identity'.And Voila! No sweat.
But I just don't know nor understand how to do that switch
yet, 'programmatically'.
* Jens Vagelpohl [EMAIL PROTECTED] [020121 09:02]:
the user gets modified automatically
did you read the documentation that explains how to suppress e.g. site
roots by inserting certain names into the URL?
installing site roots or virtual host monsters does not toast any ZODB.
jens
On Tuesday, January 22, 2002, at 12:10 , Pierre Fortin wrote:
Hi,
I've been away from Zope
ok, i reproduced it. looks like having *any* ZClass among the products in
your products folder will cause this symptom.
i told brian about it and i assume he will fix it for CVS.
jens
On Wednesday, January 9, 2002, at 11:55 , Brian Lloyd wrote:
Clicking on Cache detail in the Debug
my own quick test works now. :)
jens
On Wednesday, January 9, 2002, at 02:01 , Brian Lloyd wrote:
ok, i reproduced it. looks like having *any* ZClass among the products in
your products folder will cause this symptom.
i told brian about it and i assume he will fix it for CVS.
jens
I
i have it running on 2.5beta3 without a problem. try upgrading your zope.
jens
On Friday, January 4, 2002, at 02:29 , Peeyush Garg wrote:
Hi,
Has anybody successfully installed LDAPUserFolder on Zope2.5.0b2 (on
Linux). When I compile python-ldap module and install it alongwith
the
latest files checked out for python-ldap module? Any other clues? I've
tried
several combinations and not any luck yet.
~Peeyush.
- Original Message -
From: Jens Vagelpohl [EMAIL PROTECTED]
To: Peeyush Garg [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 04, 2002 12:30 PM
what i have done before to get around the speed penalty is to create an
external method. the external method calls the ZSQL method directly and
iterates over the result objects to pull out all interesting attributes
and stick them into simple python objects, in this case i returned a list
of
magnus,
the LDAPUserFolder has SHA password handling hardcoded into it. in order
for it to produce crypy passwords you'd have to look up the few places
where it creates a password and change it to use crypt. i chose SHA
because to the LDAP server itself it does not make any difference whether
with Python 2.0? The
-flat_namespace flag does not help and I'm still getting
twolevel_namespace errors. I'm running Zope 2.3.2 and I'd like to avoid
the startup warnings, as well as any possible incompatibilities with
Python 2.1/2.2.
Itai
Jens Vagelpohl wrote:
i think i found a working
well, the actual extension does not matter. you could as well specify
something like --with-suffix=.mary_had_a_little_lamb if you wanted...
for a more technological explanation, when the compile is done the
executable is copied into the root of the python source tree. by default
the name of
mitchell,
since python 2.2 is not yet officially supported i stuck with 2.1. we
haven't done any extensive testing using 2.2 yet and there might still be
some side effects.
jens
On Monday, October 1, 2001, at 10:43 , Mitchell L Model wrote:
...
Wonderful! Thanks!! Great information.
i think i found a working solution. since my knowledge of compilers and
linkers isn't the greatest i'll just explain what i did.
trying to compile python2.1.1 on OS X 10.1 failed for me displaying the
very same error. searching through apple's discussion i found the
following link:
nils,
this is actually a bug in 2.4.1. a file was omitted that makes changes to
the Splitter modules backwards-compatible for content and catalogs that
have been created under an earlier version of Zope.
AFAIK this will be fixed in the next release, what you can do right now is
to make a
AFAIK this is the right behavior and not a bug. you ask for the
StructureText document to be rendered and you inform the rendering
machinery that the document is in structured text. the rendering process
will output HTML.
i think what you want is to simply say dtml-var StructureTextDoc
i already answered this question responding to the tracker issue you filed.
see this URL for the complete answer:
http://www.dataflake.org/software/tracker/56/2
jens
On Monday, July 9, 2001, at 04:07 , Nicolas Vincent wrote:
I use Zope 2.3.2, python 1.5.2 and python_LDAP 1.1 . I want to
for those who haven't noticed the little link on zope.org... digital
creations is now selling a very stylish zope t-shirt! details and a
picture are at:
http://www.zope.org/Resources/Store
melissa light ([EMAIL PROTECTED]) is available to answer any questions
and take shirt orders.
jens
florian,
without even looking at the code, when you use simple data types (lists,
dictionaries, etc) to store your data you have to make sure that the
persistence machinery gets tickled the right way whenever you update values.
with those simple storage datatypes it won't know things have
florian,
as far as i know you can call superValues from DTML. it returns a list of
objects. you could do something like this:
dtml-in expr=folder_name.superValues(['Meta Type 1', 'Meta Type 2'])
dtml-if name=sequence-start
select name=my_select_list
/dtml-if
dtml-with sequence-item
the zcatalog is built to search items in the ZODB, it cannot search
unrelated data storages, like databases, out of the box.
jens
on 4/4/01 22:22, Honey George at [EMAIL PROTECTED] wrote:
Hello,
I am not able to search a postgres database using Z
Catalog. I am not clear of the procedure
define a method with the name "all_meta_types" inside your class and have it
return the correct information, like this:
import Products
def all_meta_types(self):
""" What can you put inside me? """
f = lambda x: x['name'] in ('DTML Method', 'DTML Document')
LDAPLoginAdapter 1.1, a user folder replacement that authenticates against
an LDAP server, has been released.
You can view some of the documentation and download the software at
http://www.dataflake.org/software/ldaploginadapter/
A Tracker at that same address allows you to easily file bug
The LDAPUserManager is a LDAP user record administration tool to be used in
conjunction with the LDAPLoginAdapter.
It allows the site manager to search, create, edit and delete user records
that are stored on an LDAP server, thereby completing the Zope user
management functionality already
just write it out like:
SELECT * FROM table WHERE keywords LIKE '%dtml-var name="my_var"%'
jens
on 2/8/01 7:17, Schmidt, Allen J. at [EMAIL PROTECTED] wrote:
I have been through the docs, searched a variety of locations, and cannot
find anything on how to resolve a query which I need to
jason,
this is called 'entity notation'. the semicolon is a standard part of it.
another example of an item in entity notation would be to replace "" with
lt; or the often abused blank space nbsp;
this entity notation is a general HTML thing, it's not zope-specific.
jens
on 1/30/01 17:49,
here's a result from the "other side of the fence": it works just fine using
IE5 on macOS 9.1 :)
jens
----
Jens Vagelpohl[EMAIL PROTECTED]
Software Engineer www.digicool.com
Digital Creations (888) 344-4332
Got Zope?
on 1/29/01 12:24, Andreas Heckel
i had the intermittent "browser displays the CSS text and not the real page"
in another situation go away by expressly setting the content type in the
linked CSS file. the first line would become...
dtml-call "RESPONSE.setHeader('Content-Type','text/css')"
jens
on 1/17/01 8:20, Martijn
if you run zope in debug mode (./start -D) you won't have to hit 'edit" -
all external methods are re-read every time you access them.
jens
on 1/15/01 6:04, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:
I also would like to know, if it is possible to update a bunch of external
method zope
here's how you could display the form variables on the receiving object:
tested
dtml-in expr="REQUEST.form.items()"
dtml-var name="sequence-key": dtml-var name="sequence-item"br
/dtml-in
/tested
REQUEST.form will contain all the fields from the form and
REQUEST.form.items() will give you
this could be done in python in either an external method or python
script/method. you can execute arbitrary SQL (which you would dynamically
generate in python) on a database connection using the "query" method that
is part of every database adapter.
you need to
- get a handle to your database
in python you can do:
str(int)
and in zope you do it like
_.str(int)
"Learning Python" by o'reilly is a pretty good beginner's book for python. i
suggest you read it. it's well written and gives you the basics.
jens
on 1/7/01 11:12, Lee at [EMAIL PROTECTED] wrote:
Hi,
I wonder if
try...
dtml-in expr="get_names_for_id(chosen_id=123)"
jens
on 12/26/00 17:32, Lloyd Kvam at [EMAIL PROTECTED] wrote:
This is also a problem for me.
From using ZNOLK I have a DTML document that uses dtml-in to execute a query.
The query is get_names_for_id and is:
select name from
1001 - 1100 of 1121 matches
Mail list logo