Hi all,
I think its known that using strftime method of DateTime module with
dates = 1900 or = 2038, a TimeError is raised. For instance:
d = DateTime('2045/30/01')
d.strftime('%d/%m/%Y')
DateTime.DateTime.TimeError: The time 2369343600.00 is beyond the
range of this Python
On May 11, 2005, at 10:08 AM, Santi Camps wrote:I think its known that using strftime method of DateTime module with dates = 1900 or = 2038, a TimeError is raised. For instance:DateTime can handle dates with larger ranges, it just can't display them with the strftime method.DateTime's strftime
En/na Andrew Langmead ha escrit:
On May 11, 2005, at 10:08 AM, Santi Camps wrote:
I think its known that using strftime method of DateTime module with
dates = 1900 or = 2038, a TimeError is raised. For instance:
DateTime can handle dates with larger ranges, it just can't display
them with
Shilpa P wrote at 2005-5-11 06:13 +0100:
I am trying to send mail using python.I tried the
command
import smtplib
s=smtplib.SMTP(localhost)
I get the following error
socket.error: (10053, 'Software caused connection
abort')
Your SMTP server does not like your process -- almost surely
I've been going some testing with gc.set_debug etc and it looks like there
isn't a memory leak or at least not one the garbage collector can find. That
means that the data must be remaining reachable somehow.
--
Dylan Jay
---
http://www.meetmemap.com - makes giving directions easy
Hi,
In a Zope / Zeo configuration (2.7.6), is there a way, on the Zope instance,
to know when the database (Zeo) was last packed ?
Thanks.
Pascal
**
This email and any files transmitted with it are confidential and
intended
Milos Prudek wrote:
I created a very simple folderish product. Everything works fine. But I
was surprised that context and container seem to behave differently
for folderish object than for normal Folder.
To answer my own question: I misunderstood what container does. Desired
behaviour can be
Hi ,
I've instantiated a Group User Folder object for my Zope+Plone
application and configured it to take users from an LDAP server in order
to get users id and passwords validated against LDAP. So far, so good
users can log in using their LDAP credentials.
The underlying users source is a
On May 11, 2005, at 11:21, Bernard Lange wrote:
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Products.GroupUserFolder.GroupUserFolder, line
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pascal Peregrina wrote:
In a Zope / Zeo configuration (2.7.6), is there a way, on the Zope instance,
to know when the database (Zeo) was last packed ?
Thanks.
Repozo knows this for the underlying FileStorage:
Thanks
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de
Tres Seaver
Envoyé : mercredi 11 mai 2005 15:47
À : zope@zope.org
Cc : zodb-dev@zope.org
Objet : [Zope] Re: ZODB question
**
This
Hey !
I'm experiencing some problem trying to use the monitor server. I've
zope 2.7.6 running, with an emergency user defined in the instance's
access file, with password stored as clear text. When I try to run the
monitor_client.py script, I type my password and everything I get
(except a
I have a page template, say 'products.pt', which takes
traverse_subpath[0] as one of the variables, so e.g. the URL:
http://myserver/products/100
will actually call products.pt, which get 100 from the URL and displays
it in the template.
Now my question is how can I get the full URL from
How do I logout current user using DTML
I used dtml-call expr="acl_users.logout(REQUEST)" but it didn't work and zope gave me this.
Site Error
An error was encountered while publishing this resource.
Error Type: AttributeErrorError Value: logout
What did I do wrong??
Yahoo! Mail Mobile
Looks like your userfolder does not support a logout method as an
inspection of the code would have established. In fact, the
only logout method that appears to be supported is in the
App manager for the ZMI. You may want to look at the code
and adapt it for your purposes.
On Wed, 11 May
Abhilasha Chaudhary wrote at 2005-5-10 14:14 -0400:
My zope Sybase database connections keep closing for no apparent reason.
This may happen when the DA instance is flushed from the ZODB.
Usually, it reopens automatically either when it is loaded
again or when used.
When I try to reopen the
Allen Huang wrote at 2005-5-10 09:26 -0700:
what are the dtml for logout of an account and deleting a existing user??
When you are using basic HTML authentication,
then logout is a browser operation (and not a server one).
You can use the following DTML Method to facilitate logout somehow
Brian Hickey wrote at 2005-5-10 21:09 +0100:
Relative newbie to Zope, trying to install Plone on FreeBSD. Have run into
the following problem:
- I have followed the instructions as per the guide at
http://www.netvironments.org/laurazWiki/InstallingPlone
- After copying the directories into the
Hello there
Zopatistas,
In my
inaugural post, I should like to enquire about getting to a url like
so:
http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py
Getting to the
object "__init__.py" is difficult (it acts like it doesn't
exist.)
Is there a way to
muck about
--On Mittwoch, 11. Mai 2005 15:00 Uhr -0400 Dan Pozmanter
[EMAIL PROTECTED] wrote:
Is there a way to muck about with getattr, traversal, or something
related so
that, for a particular kind of object (eg with a particular attribute),
Zope ignores
the cannot start with a '_' rule?
I think it is a
Dan Pozmanter wrote:
Hello there Zopatistas,
In my inaugural post, I should like to enquire about getting to a url
like so:
http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py
Getting to the object __init__.py is difficult (it acts like it
doesn't exist.)
Is there a
On Wed, May 11, 2005 at 03:00:02PM -0400, Dan Pozmanter wrote:
Hello there Zopatistas,
In my inaugural post, I should like to enquire about getting to a url
like so:
http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py
Getting to the object __init__.py is difficult
Ugh. I suppose I could ignore the '_' bit (and override
BaseRequest.traverse), but the problems are:
1. Keeping this thing synced with Zope.
2. Accessing the object being traversed to to ensure it is of the
correct type.
There is no other way to do this?
Is there a way to have a path pretend
On Wed, May 11, 2005 at 03:50:00PM -0400, Dan Pozmanter wrote:
Ugh. I suppose I could ignore the '_' bit (and override
BaseRequest.traverse), but the problems are:
1. Keeping this thing synced with Zope.
2. Accessing the object being traversed to to ensure it is of the
correct type.
Hi Zopers -
I'm trying to make a ZPT-based HTML form that:
1. Displays the records in a MySQL 'Person' table;
2. Offers a field for updating this table (in my simple test example, it
accepts the Id of a Person to delete);
3. When you push its 'Submit' button, updates the database; and then
4.
Hong Yuan wrote:
I have a page template, say 'products.pt', which takes
traverse_subpath[0] as one of the variables, so e.g. the URL:
http://myserver/products/100
will actually call products.pt, which get 100 from the URL and displays
it in the template.
Now my question is how can I get the
Ken Winter wrote:
Hi Zopers -
I'm trying to make a ZPT-based HTML form that:
1. Displays the records in a MySQL 'Person' table;
2. Offers a field for updating this table (in my simple test example, it
accepts the Id of a Person to delete);
3. When you push its 'Submit' button, updates the
On 11.Mai 2005 - 20:32:33, Dieter Maurer wrote:
Allen Huang wrote at 2005-5-10 09:26 -0700:
what are the dtml for logout of an account and deleting a existing user??
When you are using basic HTML authentication,
then logout is a browser operation (and not a server one).
Right.
You can
Is there a reason why Z SQL methods do not allow the use of the LIMIT
clause? I am absolutely certain that my query has the right syntax since I
executed it against the MySQL server and it gave me the correct results.
FYI, I have provided the query below:
SELECT course_id FROM course
WHERE
On May 11, 2005, at 22:32, Andreas Pakulat wrote:
That's not necessary, look at the ZMI, there is a logout option in the
dropdown box. I never digged into zmi_logout (IIRC it has that name)
but I think it is not accessible by _any_ Zope-User even not the
Emergency User, so regardless of what you
On 5/11/05, Asad Habib [EMAIL PROTECTED] wrote:
Is there a reason why Z SQL methods do not allow the use of the LIMIT
clause? I am absolutely certain that my query has the right syntax since I
executed it against the MySQL server and it gave me the correct results.
FYI, I have provided the
-Original Message-
From: J Cameron Cooper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 4:27 PM
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Subject: Re: [Zope] How to make a ZPT-based form that calls itself?
Ken Winter wrote:
Hi Zopers -
I'm trying to make a ZPT-based
Ideally, I'd like to get back the whole URL as entered in the browser as
a string. From the REQUEST I have to put together URL and QUERY_STRING,
and the section (#xxx) part of the url can not be found in REQUEST.
Unfortunately the CGI vars don't make provision for the anchor component
or
Case A:
return context.some_page()
Case B:
context.REQUEST.RESPONSE.redirect('some_page')
GREAT!! Case B works perfectly (and it would have taken me forever to guess
this solution). Case A didn't work when written as
return context.deltest.htm()
Of course it didn't,
Ken Winter wrote:
-Original Message-
From: J Cameron Cooper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 4:27 PM
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Subject: Re: [Zope] How to make a ZPT-based form that calls itself?
Ken Winter wrote:
Hi Zopers -
I'm trying to make a
Coming out of lurk mode here with a really tricky one.
We had just moved our server from:
Zope Version (unreleased version, python 2.3.3, linux2)
Python Version 2.3.3 (#2, Feb 21 2004, 21:17:53) [GCC 3.2.2 20030222 (Red Hat
Linux 3.2.2-5)]
To:
Zope Version (Zope 2.7.5-1.fc3, python 2.3.4,
On Wed, May 11, 2005 at 04:51:33PM -0500, J Cameron Cooper wrote:
Look at your Python. It understands a dot as an attribute access. That's
why Zope historically avoids dotted object names. Witness 'index_html'.
You may use dictionary lookup:
context['deltest.htm']()
or getattr.
But
37 matches
Mail list logo