Dieter Maurer wrote:
The Zope 2.1.6 DateTime module does not recognize daylight saving time.
You might find Shane Hathaway's revision of DateTime.py useful.
http://www.zope.org/Members/hathawsh/DateTime.py
It corrects many rounding errors, as well as the problems with daylight
saving
FYI: I managed to solve the problem. I simply took the third parameter
out of the parameter list and initialized the variable inside the
function:
def FormatPreis( v, n=2, thou=regex.compile(
"\([0-9]\)\([0-9][0-9][0-9]\([,.]\|$\)\)").search)
becomes
def FormatPreis( v, n=2
On Sat, 27 May 2000, Eric Sattler wrote:
I do see GenericUserFolder and SQLSession objects with the
Control_Panel_Debug screen, and they do not seem to go away. I wrote
a simple python script to do nothing more than authenticate (log in)
using the GenericUserFolder method docLogin. The
I think I've fixed the memory leak identified over the weekend in GUF.
This leak may also have caused {SQL,FS}Session to leak through no fault of
their own. Could people who are experiencing the problem try out the
new version and let me/zope-dev know the results. I'll announce the release
on
Shane Hathaway wrote:
Stuart 'Zen' Bishop wrote:
/me hops on the 'real garbage collection for Python' bandwagon
Have you looked at this?
Yes, I actually built, installed and enabled it. It doesn't seem
to have a major impact on my problems at least...neither does Zen's
latest set of
I believe this is in the Collector... My guess is that no one has yet
figured out a good way to make the client and namespace be passed in
automatically. This may not be desirable anyhow, because there may be times
when you want to change the client... I've actually done this once or twice.
I
Kevin Dangoor wrote:
I believe this is in the Collector... My guess is that no one has yet
figured out a good way to make the client and namespace be passed in
automatically. This may not be desirable anyhow, because there may be times
when you want to change the client... I've actually done
Is it just me or is there a lot of confusion between the terms
namespace, self, client, and the REQUEST object (which, unlike it's name
implies, seems to contain a lot more than stuff relating to the HTTP
request, like the RESPONSE object, for example ;-)
Perhaps this could be shaken down and
Is it just me or is there a lot of confusion between the terms
namespace, self, client, and the REQUEST object (which, unlike it's name
implies, seems to contain a lot more than stuff relating to the HTTP
request, like the RESPONSE object, for example ;-)
Perhaps this could be shaken down and
Adam Karpierz wrote:
It's very, very... great news that Ross Lazarus's multikey
sort patch for dtml-in tag is included in current Zope CVS
and will be included in Zope 2.2.
dtml in "foo" sort=akey,anotherkey
But for me one important thing is very missed.
Possibillity of use
Kyler B. Laird writes:
I'd like to build a Z SQL method for *many*
people to use to list courses that we offer.
I don't want to require that all queries
using it understand all of the columns, but
I do want to be able to modify the query in
many ways.
This works only if I provide
On Mon, 29 May 2000 21:56:33 +0200 (CEST) you wrote:
Error, Bad Request: ['version']
You want to use "default values" in your SQL method argument list.
The details are described in "ZSQL/ZSQL.2.5.2.html".
What's the URL for this? I'm looking through the
pointers from the documentation
Sorry about the continued dupes folks, I'm trying to flush the sendmail
mqueue on the mail list server, and its processing rules are not as
smart as I would have hoped. Hopefully once the flush is done we'll be
back to normal...
___
Zope maillist -
Hi,
Henny, thanks for your answer.
In fact, my problem is another thing. I have Zope works fine with
PostgreSQL, I want to do the oposite direction, I want that the
SQL-server send information to the PostgreSQL. After that Zope will have
to access de SQL-server to input information.
You
By default, when a new instance of a ZClass is created, it is dropped
into the same directory as the calling forms and instance creation
methods... Is there an easy way to designate the final location for the
instance. Say, as an example that I had administrative methods and
documents all under
Graham Chiu wrote:
these problems were fixed...it was only a problem initially caused by an
upgrade.
Hi,
A couple of other things. On your front page, the non-hilighted 'demo'
image is broken. If you go to www.adroit.com there are more broken images.
You may not be seeing them if
On Sun, May 28, 2000 at 07:56:42PM +0100, Steve Alexander wrote:
Paul Everitt wrote:
I propose an IRC chat on Wednesday with Jim Fulton and me.
Try and pick a time that's not *too* late at night for us Europeans.
Don't worry, I'll see to that... I live in The Netherlands.
--
Martijn
it can be run on a virtual host its just that zope is a long running process
and therefore uses up a lot of resources. so some hosts dont like it.
you can search at zope.org for some official zope hosts that will provide
you a vhost account with zope already installed. alternatively if you are
ignore please
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
I'm a little confused over this.
From your previous mail I understood that jcNTUserFolder was to be used only
behind IIS. It interpreted the REMOTE_USER var passed in after
challenge/response authentication by IIS and made this into a Zope user.
Now your talking about jcForceAuth and saying that
Let me try again, does any of you guys have a "config"
subfolder inside your
/usr/lib/python1.5/ folder? I guess the "config" subfolder
maybe an feature
from the old python1.5, because in the new python1.5.2 there
is no such a
folder.
Also, in an error like:
make[1]: *** No
OK, I just wanted to say a couple more things about this and then I'll
shut up. I've given it a lot of thought - trying come up with a way
of looking at it that still makes zope attractive.
So, I started thinking - what if it had been a language that I like
instead of perl. (lisp, java...)
Kevin Dangoor wrote:
Or, how about a dtml-expr tag (which could even start out as a simple
synonym for dtml-var) so that people won't be confused about what is
python and what is a variable lookup with the special calling properties.
This is a great idea :-)
New
Take off the -D switch in your zope start script.
dtml-var error_tb will let you show traceback programmatically. Believe
me, you will miss them once you turn it off.
Chien-pin
On Mon, 29 May 2000, Patrick J.M. Keane wrote:
I would like to ultimately remove the python traceback error code
AHH!!! So simple, so many weeks of general frustration. Subject to more
continous testing, that seems to have done the trick!
a HUGE thank you.
Jonathan
On Sun, 28 May 2000, Chris Withers wrote:
Try the patching described in the following message:
Charlie Derr wrote:
My problem fits under this subject so i thought i'd hijack it :-]
I have redhat 6.1, and i've installed and gotten postgresql 7.0 working
okay (at least i can create tables at a psql prompt and insert data).
[snip]
it failed with an error saying that libpq-fe.h and
It's very, very... great news that Ross Lazarus's multikey
sort patch for dtml-in tag is included in current Zope CVS
and will be included in Zope 2.2.
dtml in "foo" sort=akey,anotherkey
But for me one important think is very missed.
Possibillity of use expression syntax for sort= attribute.
Hi, there,
if I use my mysq-monitor to execute the following query, everything works
fine:
SELECT YEAR(START_DATE) FROM EVENT;
but it doesn't work via the ZMySQLDA!?!
Here's the traceback:
Error, exceptions.KeyError: unhandled
Traceback (innermost last):
File
Hi Andy,
Andy Pahne wrote:
Hi, there,
if I use my mysq-monitor to execute the following query, everything works
fine:
SELECT YEAR(START_DATE) FROM EVENT;
but it doesn't work via the ZMySQLDA!?!
Here's the traceback:
Error, exceptions.KeyError: unhandled
Please try:
Martijn Pieters wrote:
If you switch debug mode off, tracebacks will be included in error messages as
HTML comments, thus rendering them invisible from the unsuspecting site
visitor.
Is that true even if you override standard_error_message?
cheers,
Chris
Chris McDonough wrote:
Isn't this covered in the FAQ?
The FAQ wasn't referred to directly in the original announcement; there
was a web page with a FAQ but my mail message was already gone before
I read the FAQ.
Honestly I'm sort of surprised that there is such a strong reaction to
this.
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2000 14:01
To: Martijn Pieters
Cc: Patrick J.M. Keane; [EMAIL PROTECTED]
Subject: Re: [Zope] Traceback?
Martijn Pieters wrote:
If you switch debug mode off, tracebacks will be included
in error
Jimmie Houchin wrote:
I would like to echo what Dieter wrote here.
We need to encourage people who write products or other extensions to
Zope in writing cleanly, clearly defined extensions which can be used in
a black box manner.
Sure, but we also need to encourage people to study each
Andrew Kenneth Milton wrote:
+[ Chris McDonough ]-
| This is pretty silly.
I agree, it got silly about 8 hours ago.
I don't think I've ever seen paranoia and religious fervour mixed in
quite the same way before. Anyone would think that
Oleg Broytmann wrote:
Where do you intend on going? If there was something better out there
you'd be humping its leg already.
Thanks goodness, I am not using Zope on production servers. I use Zope
only to experiments and understand the technology. Looked good until
yesterday.
This is
Martijn Pieters wrote:
[snip]
Now, please, can we stop this whole silly argument? Can't we talk about old
terminal types or something, instead?
That invocation only works on comp.lang.python. :)
Regards,
Martijn
___
Zope maillist - [EMAIL
Paul Everitt wrote:
[snip]
As the person that made the decision, I can at least testify that no
ulterior motives were behind it. Still, Zope is a community thing, and
we here at DC need our heads bopped on a regular basis, lest we ever
forget it.
Consider our heads bopped. :^)
And this
Hello all,
seems like the passions have calmed down more or less, but i'd like to add
my two czech crowns :) Sorry in advance.
flame on
Actually from the beginning I did not understand why people are arguing on
perl vs python - it is not the main issue... You see, DC is a _commercial_
thing. I
Michel Pelletier wrote:
[snip]
This is such a good point I wanted to share it with the Zope community
as well. The language issue is minor to the need for a definate object
model with clear interfaces. It shouldn't matter if the core of Zope is
written in Python or FORTH, from your
Hi,
Marcus Collins wrote:
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2000 14:01
To: Martijn Pieters
Cc: Patrick J.M. Keane; [EMAIL PROTECTED]
Subject: Re: [Zope] Traceback?
Martijn Pieters wrote:
If you switch debug mode off,
Martijn Faassen wrote:
The addition of the Perl stuff will be bad if the Zope source will be
hacked up in various places in order to support this. I can be _good_ if
this means a focus on providing clean interfaces first, and a more
componentized architecture. I.e. there's a focus on
Paul Everitt wrote:
Shorthand notations are convenient, but when they get inconsistent, you
wind up with the other P language. :^)
Woudl that be the one we're welcoming into the fold? ;-)
Chris
___
Zope maillist - [EMAIL PROTECTED]
-Original Message-
From: Tino Wildenhain [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2000 15:44
To: Marcus Collins
Cc: 'Chris Withers'; Martijn Pieters; Patrick J.M. Keane;
[EMAIL PROTECTED]
Subject: Re: [Zope] Traceback? Codechange!
Hi,
[...]
This is very ugly imho. It schould
Hello
Now that Apple has slashed the price of WebObjects from $50,000 to $700, I
am very interested to hear any opinions/experiences of WebObjects.. how does
it compare with Z*** , Man***, Rox**, ColdF* etc
http://www.apple.com/webobjects/
-What are the good ideas?
-What is similar?
-What
On Mon, May 29, 2000 at 04:08:59PM +0200, Marcus Collins wrote:
This is very ugly imho. It schould be sufficient, if one includes the
traceback-variable into the standard-error where its appropriate.
In the current implementation it will break the HTML-standard with
code outside HTML/HTML
Hi all,
I want to use ZSQL Methods from within External Methods and have already
read the appropriate HowTo but it is somehow vague in some respects and
I have some problems with my adaption.
I have ZSQL methods in a subfolder /SQL, eg. /SQL/sqlZuordnung
My External Method named "extShow"
I must apologize in advance, I have not read the entire thread, but
here's my answer to your question:
So what do you folks think?
My advice: be a benevolent despot.
I started to get involved with ZDP many months ago, and proposed a
structure for documentation, created a folder hierarchy to
Martijn Pieters wrote:
Do I have to copy this message to the collector and wait for
a couple of months or can we do it instantly? ;-)
Do you still experience the Collector as black hole? Could you report this to
Tres Seaver, the person currently monitoring the COllector and cleaning it
On Mon, May 29, 2000 at 04:14:19PM +0100, Chris Withers wrote:
Martijn Pieters wrote:
Do I have to copy this message to the collector and wait for
a couple of months or can we do it instantly? ;-)
Do you still experience the Collector as black hole? Could you report this to
Tres
Chris Withers wrote:
Paul Everitt wrote:
You're absolutely right on this. Amos' post recently described the
various things in various stages of release that should give some hope
for the situation. These things really are an improvement. I'm
crossing my fingers that this turns into
Look, a whole bunch of great questions for Wed's IRC chat. :^)
I propose 1PM Eastern on Wed for the chat. We'll make a more formal
announcement tomorrow. (Right, Ethan?)
--Paul
Jimmie Houchin wrote:
Are Python Products considered implementation level?
Or another question. What are the
Your attention please!
The following persons will report at once to the new Zope-Edu wiki at
http://www.zope.org/Wikis/zope-edu . They will then proceed to the
Contributors page, click the question mark by their name, and enter
biographical information and what projects they are working on
I sent Brian a message on this, and I just added it to the collector with
the 1 line patch necessary to add dtml-expr as a synonym for dtml-var:
http://classic.zope.org:8080/Collector/1279/view
Kevin
- Original Message -
From: "Paul Everitt" [EMAIL PROTECTED]
To: "Chris Withers" [EMAIL
"The Perl for Zope project brings the worlds of the two most
important open source programming languages together," stated
Gisle Aas, Senior Developer, ActiveState. "Python programmers
will be able to directly take advantage of the large collection
of reusable Perl program modules, like DBI,
Graham Chiu wrote:
Hmm. zope.org has been down most of the afternoon.
Not that Friday afternoon change over to Zeo that they were talking
about doing ?
Nope, a very odd DNS situation.
--Paul
___
Zope maillist - [EMAIL PROTECTED]
try
ZPoPyDA
http://www.mixadlive.com
ftp://ftp.mixadlive.com/pub/zope/ZPoPyDA/ZPoPyDA-0.1.0.tar.gz
Bye
Paolo Comitini
Mixad Live s.r.l.
Contacted the author of ZPyGreSQLDA but so far no response...
Hung Jung
___
Zope maillist -
Paul Everitt wrote:
Martijn Faassen wrote:
The addition of the Perl stuff will be bad if the Zope source will be
hacked up in various places in order to support this. I can be _good_ if
this means a focus on providing clean interfaces first, and a more
componentized architecture. I.e.
On Mon, 29 May 2000, Frederic QUIN wrote:
I would like to create a python object which :
* analyse traditional HTML files
* indexe "IMG" tags and "A" tags
* replace "IMG" tags by appropriated dtml tags
* replace "A" tags by appropriated dtml tags
* create all the resultant objects
Did
At 06:17 PM 5/29/00 +0100, Frederic QUIN wrote:
Hello everybody,
I would like to create a python object which :
* analyse traditional HTML files
* indexe "IMG" tags and "A" tags
* replace "IMG" tags by appropriated dtml tags
* replace "A" tags by appropriated dtml tags
* create all the resultant
Oleg Broytmann wrote:
I would like to create a python object which :
* analyse traditional HTML files
* indexe "IMG" tags and "A" tags
* replace "IMG" tags by appropriated dtml tags
* replace "A" tags by appropriated dtml tags
* create all the resultant objects
You may start
Bill Anderson wrote:
GVIM
Yes! This is a powerful editor with an easy-to-use interface
available for every major platform (and a lot of minor ones):
http://www.vim.org
http://www.c2.com/cgi/wiki?EmacsVsVi
I use Vim daily on Mac OS, Win98 and Unix (Linux, Slowlaris)
and love the
On Mon, May 29, 2000 at 05:33:20AM -0400, Patrick J.M. Keane wrote:
I would like to ultimately remove the python traceback error code
display from messages (printed after standard_html_error fires off).
However, I'm not sure how to disable this?
By default Zope is installed to run in debug
Chris Withers wrote:
mindlace wrote:
I don't quite see why MailHost isn't "low level integration"
Does MailHost do recieves as well as sends?
No, but see below...
Making Zope an MTA seems like a lot of extra work. Now, Zope as an IMAP
server I could get my head around...
Forgive
On Fri, May 26, 2000 at 03:05:14PM -0700, Jonothan Farr wrote:
In brief: I get a NameError when invoking "filter(...)" from DTML. I thought
this was a built-in python method, so I'm a bit puzzled.
Certain built-ins are not available in dtml for security and other reasons,
filter and
I'd happilly pay a few hundred bucks to be able to use Scheme
(more specifically Guile with GOOPS and perhaps CMH could use
this as an excuse to get finished).
[]s,
|alo
+
--
Hack and Roll
Hello,
I have been using Zope to set up a new web site for documentation and
maintainance os a large software project. Until now I have been using a
combination of LocalFS and ftp to edit content. Neither method is
perfect especially since I often work from my laptop at home which is on
Rob Sporleder writes:
We recently setup a Zope server and it has been running great until this
morning when it stopped responding, twice. There are no errors, core files
or indication of a problem except that the server stopped responding to http
requests. All processes were still running
Martijn Pieters wrote:
This is because according to the WebDAV spec, documents are retrieved using a
plain 'GET' command, which is exactly the same as what browsers do.
However, the spec also provides for a way to find out where to get the source
of the document found at a specific URL,
Zopistas,
I had an idea today that I thought was worth trying out. I added to a
few FrontPage's some HTML which allows you to receive notification every
time any page in a Wiki changes. It uses the NetMind service. Just go
to the Interfaces Wiki and enter your e-mail address at the bottom of
Shane Hathaway wrote:
[snip wiki change notification]
What's does NetMind actually do?
The problem I see here is getting an email everytime someone hits
update, which can mean you get a storm of emails when a coupla people
edit a Wiki.
I thought of a Zope-based solution for this but haven't
Dear administrators,
the mailing list digests are really buggy.
I have reported some problems some days ago.
Today, I ran against a new problem:
I got "Zope-Dev digest, Vol 1 #543 - 20 msgs" 6 times and
"Zope digest, Vol 1 #801 - 57 msgs" twice.
Maybe, you should consider replacing this
Shane Hathaway wrote:
Heh heh... that's almost exactly what NetMind does, Chris. g
Cool...
I'm guessing it's not written in Zope though... ;-)
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
Hi
I've found a bug in GenericUserFolder.
Basically if you try and do any restriction by domain then it will fail
every time.
The problem is that on line 151 of GenericUserFolder.py, it tries to use
addr_match and host_match, which I assume was meant o be the same as the one
in the standard
Is it possible and how to change the folder that the Zope interface use for importing
zexp files?
I "host" friends on my Zope site, but I can't let them have access to my import folder
which is in C:\Program\Zopesite\import
At the moment my friends have to email me their zexp files, if they
Chris Withers wrote:
Which raises the question: What MTA would you use for a Zope IMAP server
and does it matter? Again, forgive me if that's a stupid question ;-)
I would personally use exim, but I don't think it matters, if zope knows
intelligent things about it's users. If you wanted to
On Mon, May 29, 2000 at 09:40:59PM +0200, Martijn Pieters wrote:
I can't comment with authority on why these methods are not accessible, but I
imagine that they are banned because they'll probably let you lock up Zope in
one way or another, creating a convenient denial-of-service attack.
If
Hello,
I am trying to build the DCOracle module and having trouble right off
the bat. I have tried both 1.3.0 and 1.3.1 b1 with the same results.
The file src/oci_8.c does an #include "oci.h", but I don't seem to
have a file named oci.h in my oracle install:
$ find $ORACLE_HOME -name '*.h'
Peter, you can change this in the Python file
lib/python/OFS/ObjectManager.py here:
def manage_importObject(self, file, REQUEST=None):
"""Import an object from a file"""
dirname, file=os.path.split(file)
if dirname:
raise 'Bad Request', 'Invalid file name
What I would like to say is that if your application needs lambda, filter or
map, your code is getting bejond report or presentation generation (for which
DTML is intended) and in the realm of data manipulation and business rules. In
this case your code would be much better placed in some
I can't recall if my question made it to the list following last week's
outage, but here goes again...
1. How does one iterate over values within a property sheet?
2. When adding a selection field to a property sheet, how does one
"returns a list of strings from which the selection(s) can be
How do I keep track of counter in Zope.
For example, if I want to produce the following output:
1.book1Author1
2.book2
3.book3
4.book4Author2
5.book5
6.book6
7.book7Author3
i.e. book1, book2, book3 are by Author1, etc.
I need
On Mon, 29 May 2000, Phil Harris wrote:
I've found a bug in GenericUserFolder.
Basically if you try and do any restriction by domain then it will fail
every time.
Thanks for the heads up. I've uploaded a patched version to zope.org.
--
Stuart Bishop Work: [EMAIL
Sudhir,
Hi...
It's natural to want to do this in DTML... but probably not the best
idea. I know it's a lot to chew to have to use Python to do stuff like
this (you don't), but it would make your life probably a lot easier to
do this in an external method or a Python method.
That said
As I am new to both zope and python i am not quite sure how to phrase this
question so I'll explain my example hoping this helps.
I have created some simple zclasses to add,edit delete
customer,jobs, product etc objects
I'd like to be able to store and use the "username"
captured in a simple
John A Chaves wrote:
You can simulate one fairly easily. The attached script (which would need
to be tweaked for your environment) ftp-gets the zope object into a temp
directory. It also creates a Makefile in the temp directory which ftp-puts
the object back into zope. You can then use
hi justin,
it is your oracle install. i have had bad experiences with the fancy shmancy
8.1.x java installer myself.
oci.h is in a subdirectory of $ORACLE_HOME called 'rdbms'. i remember doing
the client setup did not give me the stuff i needed so i basically copied
everything it was missing
Hi Steve!
On Sun, 28 May 2000, Steve Alexander wrote:
Paul Everitt wrote:
I propose an IRC chat on Wednesday with Jim Fulton and me.
Try and pick a time that's not *too* late at night for us Europeans.
Or for us Australian's ;) (Although that might get a tad difficult ;)
Benno
87 matches
Mail list logo