Five 1.0.1 released!
The Five team is happy to release Five 1.0.1, a bugfix release for
Five 1.0. The most important news is unicode support for add and edit
forms; other minor fixes are included as well. Please consult the
CHANGES_ for more details.
.. _CHANGES:
Log message for revision 30588:
Fixed unit test.
Changed:
U Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py
-=-
Modified:
Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py
===
---
Log message for revision 30589:
Fixed unit test.
Changed:
U Zope/trunk/lib/python/DateTime/tests/testDateTime.py
-=-
Modified: Zope/trunk/lib/python/DateTime/tests/testDateTime.py
===
---
I recently started to use ZODB and python as my chosen database
solution.
I am having a few problems with retaining changes in BTrees. I have
read the documentation and am aware of the _p_changed attribute. Still,
here is what I observe:
# consider this simplified
That is of course true, I only change the set and would like to save
the information.
Trying T[1]._p_changed = True gives an error:
AttributeError: 'set' object has no attribute '_p_changed'
so the only way to do it is to set _p_changed=True for the Tree.
Does that mean that the entire Tree
On Wed, Jun 01, 2005 at 10:36:58AM +0200, Yair Benita wrote:
| Can anyone suggest an efficient way that will not require a copy of the
| set already stored in T[1]?
Maybe use a IISet (from BTrees.IIBTree), which follows the rules of
persistence.
--
Sidnei da Silva [EMAIL PROTECTED]
Yair Benita wrote:
# I would really really like this to work
T[1].add(6)
T._p_changed = True
get_transaction().commit()
Why not use 'IOSet' in the BTrees package?
--
hilsen/regards Max M, Denmark
http://www.mxm.dk/
IT's Mad Science
___
Zope-Dev
Of course, that was it.
I guess it also makes more sense.
Works perfectly now, and may I say, much faster.
Thanks,
Yair
On Jun 1, 2005, at 11:50, Sidnei da Silva wrote:
On Wed, Jun 01, 2005 at 10:36:58AM +0200, Yair Benita wrote:
| Can anyone suggest an efficient way that will not require a
[Yair Benita]
I recently started to use ZODB and python as my chosen database
solution.
I am having a few problems with retaining changes in BTrees. I have
read the documentation and am aware of the _p_changed attribute. Still,
here is what I observe:
#
hi,
which POP servers can i download which are compatible and interfaceable with Zope...?
these servers r used to receive mail. hence how do i retrieve the mails received by the server into Zope?
regards
varun
Discover Yahoo!
Stay in touch with email, IM, photo sharing & more. Check it
--On 31. Mai 2005 23:43:19 -0700 Varun Parange [EMAIL PROTECTED]
wrote:
hi,
which POP servers can i download which are compatible and interfaceable
with Zope...?
Weird question since POP3 is a standard protocol :-)
these servers r used to receive mail. hence how do i retrieve the
Hi,
I downloaded a folder from zope to the local machine using export.
but how do i access it from the machine?
It is of the type *.zexp.
--JV
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML
--On 1. Juni 2005 12:21:03 +0530 JV Singh [EMAIL PROTECTED] wrote:
Hi,
I downloaded a folder from zope to the local machine using export.
but how do i access it from the machine?
What do you mean by access it? For .zexp file is only thought for
importing it back through the same mechanism
There was a recent post about this very topic just recently. If you
search the archive you will find the entire discussion.
The short answer is that you cannot view this file outside of zope.
Only zope understands it. It is like a zip file.
Peter Millar
-Original Message-
From:
How do I go about reading a Zope file object in Python?
I'd appreciate it if anyone could point me to a repository of small code
snippets which illustrate some simple techniques usable in Python scripts
running under Zope.
--
John
___
Zope
Hi John,
The CMF's ActionsTool is a prime example for such
a link factory. CMFDefaults main_template.pt demonstrates
how to iterate over the links generated by portal_actions
(the ActionsTool instance in a CMF site).
Does that mean creating a CMF site?
I'm finding it hard enough figuring
--On 1. Juni 2005 10:01:22 +0100 John Poltorak [EMAIL PROTECTED] wrote:
How do I go about reading a Zope file object in Python?
Define what reading a Zope File object means? You mean you want the
body of an upload file?
-aj
pgpmNUJZSSkaB.pgp
Description: PGP signature
Zope 2.7 / ZPsyopgDA / PostgreSQL7.3.4
My problem is that we're running a lot of little websites on a single
server. Each site has its own zope/zpsyopg instance and its own
postgresql database. But all databases are served by a single
postmaster (postgresql instance).
The issue arising is
On Wed, Jun 01, 2005 at 12:46:44PM +0200, Andreas Jung wrote:
--On 1. Juni 2005 10:01:22 +0100 John Poltorak [EMAIL PROTECTED] wrote:
How do I go about reading a Zope file object in Python?
Define what reading a Zope File object means? You mean you want the
body of an upload file?
--On 1. Juni 2005 12:03:39 +0100 John Poltorak [EMAIL PROTECTED] wrote:
On Wed, Jun 01, 2005 at 12:46:44PM +0200, Andreas Jung wrote:
--On 1. Juni 2005 10:01:22 +0100 John Poltorak [EMAIL PROTECTED] wrote:
How do I go about reading a Zope file object in Python?
Define what reading a
John Poltorak wrote:
On Wed, Jun 01, 2005 at 12:46:44PM +0200, Andreas Jung wrote:
--On 1. Juni 2005 10:01:22 +0100 John Poltorak [EMAIL PROTECTED] wrote:
How do I go about reading a Zope file object in Python?
Define what reading a Zope File object means? You mean you want the
body of
--On 1. Juni 2005 15:02:16 +0300 Vital Lobachevsky [EMAIL PROTECTED] wrote:
Suppose your file 'myFile' and your script 'myScript' in the same folder.
You can get file data in your script using 'data' property:
fileData = container.myFile.data
You should *not* do that. You are using an
Am Mittwoch, den 01.06.2005, 15:02 +0300 schrieb Vital Lobachevsky:
John Poltorak wrote:
On Wed, Jun 01, 2005 at 12:46:44PM +0200, Andreas Jung wrote:
--On 1. Juni 2005 10:01:22 +0100 John Poltorak [EMAIL PROTECTED] wrote:
How do I go about reading a Zope file object in Python?
On Wed, Jun 01, 2005 at 10:01:22AM +0100, John Poltorak wrote:
I'd appreciate it if anyone could point me to a repository of small code
snippets which illustrate some simple techniques usable in Python scripts
running under Zope.
http://zopelabs.com/
Note there is a Python(Script) category
On Tue, May 31, 2005 at 07:17:46PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
I want to provide a set of links on a Zope site dynamically. ie don't want
to hard code a number of links, but
On 6/1/05, John Poltorak [EMAIL PROTECTED] wrote:
I'm trying to learn some Python basics and hoping to use Zope as front end
for writing and running a few snippets of code
In that case you should use Zope3. Zope2 is highly-unpythonic, and
using it pretty much requires you to learn Zope first,
This is to announce the release of Pound v1.9.
Changes in this version:
- Added the VerifyList configuration flag (CA root certs + CRL)
- CRL checking code
- RewriteRedirect 2 - ignores port value for host matching
- Added -c flag (check-only mode)
- Added -v flag (verbose mode)
- Added -p flag
John Poltorak wrote:
On Tue, May 31, 2005 at 07:17:46PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
I want to provide a set of links on a Zope site dynamically. ie don't want
to hard code a
Josef Meile wrote:
The CMF's ActionsTool is a prime example for such
a link factory. CMFDefaults main_template.pt demonstrates
how to iterate over the links generated by portal_actions
(the ActionsTool instance in a CMF site).
Does that mean creating a CMF site?
I'm finding it hard enough
2) I also need to serve up web-based forms and allow the user to create
XML content based on a user-selected schema. Something
like what Chiba (http://chiba.sf.net/) is targeting. Of course,
though, that isn't a Python/Zope solution. Has anyone seen anything
that works?
On Wed, Jun 01, 2005 at 11:05:04AM -0500, J Cameron Cooper wrote:
John Poltorak wrote:
On Tue, May 31, 2005 at 07:17:46PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
Well, it's really easy. Create 'linkList' (Python Script) in the folder
where you page lives or somewhere
Now, if you're uploading files to Zope, rather than the file system,
it's a little different, in that you have to get the data from an
object, and you'll probably have to split it by newline yourself.
John Poltorak wrote:
This is the way I had been thinking of setting it up, but can't
David wrote at 2005-6-1 12:12 +0100:
...
Is there a way how I can configure my system, so that idle connections
expire when not used for a certain time?
In some sense, this is the case -- also not directly controlled
by time.
Idle connections expire when the DA object is flushed from the
Flemming Bjerke wrote:
With a dtml-script I renders data from a mysql-database. But, sometimes I
should like to save the html-code generated by the script. When I try to do
this with a pythonscript I run into problems with acquiring the html-code
generated by the dtml-script. I looks like the
Hong Yuan wrote:
If a PythonScript is called from a Page Template, how can it access the
variables defined using:
tal:define=global ... /
in the calling script?
no need for the 'global'
Go to the Bindings tab of your python script, make sure _ is in the box
for namespace.
then, in the
Hi,
I want to know, if is there a visual reporting tool? Like
JasperReport, for example, wich works with reportlab's libraries and
generate a .py.
Thanks and regards,
Fernando Lujan
___
Zope maillist - Zope@zope.org
It's not so hard. :)
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
Hi,
I need a Calendar or WebDav product wich runs with Zope, allow me to
share my calendar with others users using mozilla Calendar, Sunbird.
evolution, outlook and so on...Something like OpenGroupware. Do
someone have a good suggestion? :)
Thanks and regards.
Fernando Lujan
38 matches
Mail list logo