Hi,
I had this problem as well in the past (not specially
with zope). It could be a hidden browser process (you
can see in the process list) that blocks. Try to look
at the access log to see if the request is sent to the
server. Finally it could be a problem with your
application.
Hope that
I've this report wherein i've to print the column total iin last row.
column values are from database.
so far I'm a total loss. do i need to have cookies to store this total?
plz gimme ideas.
--
Share the vision of difference with ME
___
Zope maillist
Yellow,
What DBMS are you using??? MySQL???
If so just have a sql method do this:
==
SELECT COUNT( '*' ) AS total
FROM yourtable
==
Then call the variable total where you need it!
Regards
hr
On 5/20/05, prabuddha ray [EMAIL PROTECTED] wrote:
I've this report wherein i've to
Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos:
Yellow,
What DBMS are you using??? MySQL???
If so just have a sql method do this:
==
SELECT COUNT( '*' ) AS total
FROM yourtable
==
Are you sure about the ' '? looks strange.
Then call the variable total where
On 5/20/05, Tino Wildenhain [EMAIL PROTECTED] wrote:
Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos:
Yellow,
What DBMS are you using??? MySQL???
If so just have a sql method do this:
==
SELECT COUNT( '*' ) AS total
FROM yourtable
==
Are you sure
Am Freitag, den 20.05.2005, 10:36 +0100 schrieb Hugo Ramos:
On 5/20/05, Tino Wildenhain [EMAIL PROTECTED] wrote:
Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos:
Yellow,
What DBMS are you using??? MySQL???
If so just have a sql method do this:
==
SELECT
Hi all
I have a ZCatalog object with a keywordindex called keywords
I would like to search some objects with keywords ['k1', 'k2', k3',
'k4'] for that I use:
return context.catalog({'keywords': {'query': ['k1', 'k2', k3', 'k4'],
'operator': 'and'}})
but these query returns objects with keyword
On Fri, 2005-05-20 at 12:41 +0200, Garito wrote:
Hi all
I have a ZCatalog object with a keywordindex called keywords
I would like to search some objects with keywords ['k1', 'k2', k3',
'k4'] for that I use:
return context.catalog({'keywords': {'query': ['k1', 'k2', k3', 'k4'],
sorry for delay,
but the options you gave are ruled out.
actually not all the rows in the column have the values.
further the total i'm looking for will result in a very complex query
that i dont want to do onsidering the no. of rows are high.
I just need something like a
Use two things: a page template and a Python script... here's an
example:
page template body
--
div tal:define=L python: [1,2,3,4];
A python: context.sum_of(L)
div tal:repeat=V L
tal:content=V1/div
div tal:content=Atotal/div
/div
python script
Am Freitag, den 20.05.2005, 03:54 -0700 schrieb prabuddha ray:
sorry for delay,
but the options you gave are ruled out.
actually not all the rows in the column have the values.
Which is perfectly met by the if statement. Please read
_my_ post again and to the end.
further the total
Hi.
We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having
problems with authoring Script (Python)
(using ssh tunnel: ssh -L 2001:localhost:8081 [EMAIL PROTECTED])
I am using emacs, using eldav, using nd.
I have traced the problem to this command issued by eldav in the
Does a (Script) Python object actually get created or is it another
object type like DTML Document when it is initially created? As far as
I can tell, it would have to be the latter, as Python Scripts don't
allow you to change their content-types (at least via the ZMI).
On Fri, 2005-05-20 at
--On Freitag, 20. Mai 2005 9:05 Uhr -0700 Jonathan Daugherty
[EMAIL PROTECTED] wrote:
Greetings,
I connect to PostgreSQL from Zope and whenever I upgrade postgres on
my server, my persistent database connections in Zope fail. I have to
log in to the ZMI and reconnect the connection objects
# Depends on the underlaying DAso which one are you using? In
# general a DA should reconnect automatically.
I'm using the zope-psycopgda 1.1.18-1 debian package, debian testing.
--
Jonathan Daugherty
http://www.parsed.org
___
Zope maillist -
--On Freitag, 20. Mai 2005 9:18 Uhr -0700 Jonathan Daugherty
[EMAIL PROTECTED] wrote:
# Depends on the underlaying DAso which one are you using? In
# general a DA should reconnect automatically.
I'm using the zope-psycopgda 1.1.18-1 debian package, debian testing.
Try to upgrade...
-aj
Hey,
I
noticed that the version of python that ships with zope is
restricted,
such that when you
create an instance of a class, you are no longer able to
modify
__bases__ for that
class object.
This is not the case with standard python.
Is this intentional? If so, what is the
On Wed, May 18, 2005 at 11:55:20AM +0200, Milos Prudek wrote:
| Hi,
|
| is there an editor that would support code completion for Page Templates
| and maybe even code completion for Zope3 new technologies?
|
| Currently I use ViM on Linux - but a lot of typing is required, like
|
--On Freitag, 20. Mai 2005 12:32 Uhr -0400 Dan Pozmanter [EMAIL PROTECTED]
wrote:
Hey,
I noticed that the version of python that ships with zope is
restricted,
such that when you create an instance of a class, you are no longer able
to modify
__bases__ for that class object.
This is not
On Tue, May 17, 2005 at 06:20:22PM +0100, David Given wrote:
| Does anyone know what the timescale is for Zope 3 packages being put together
| for Debian?
This is unforeseeable without someone stepping up to do the work.
| I have a project I'd like to work on, and I suspect that Zope 3
| is a
Well, when I run it, I am able to do the following:
class A:
pass
class B(A):
pass
b = B()
B.__bases__ = ()
print B.__bases__
Not so on the version that comes with zope.
(B.__bases__ will remain
Am Freitag, den 20.05.2005, 13:48 -0400 schrieb Dan Pozmanter:
Well, when I run it, I am able to do the following:
class A:
pass
class B(A):
pass
b = B()
B.__bases__ = ()
print B.__bases__
Am Freitag, den 20.05.2005, 18:28 +0200 schrieb Andreas Jung:
--On Freitag, 20. Mai 2005 9:18 Uhr -0700 Jonathan Daugherty
[EMAIL PROTECTED] wrote:
# Depends on the underlaying DAso which one are you using? In
# general a DA should reconnect automatically.
I'm using the
On Fri, May 20, 2005 at 01:48:46PM -0400, Dan Pozmanter wrote:
What I aim to do is have the User Object inherit from a custom class
(AlienUser).
You can do that in two ways off the top of my head:
1) the good way: write a custom UserFolder.
You could probably get away with just inheriting from
You might also be able to do the __bases__ hack with Zope 2.8 (as long
as Python 2.3+ allows you to assign to it), as it reimplements
ExtensionClass using metaclasses instead of custom C hackery.
On Fri, 2005-05-20 at 14:46 -0400, Paul Winkler wrote:
On Fri, May 20, 2005 at 01:48:46PM -0400, Dan
Gaute Amundsen wrote at 2005-5-20 17:05 +0200:
We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having
problems with authoring Script (Python)
(using ssh tunnel: ssh -L 2001:localhost:8081 [EMAIL PROTECTED])
I am using emacs, using eldav, using nd.
I have traced the problem to
Garito wrote at 2005-5-20 12:41 +0200:
...
I have a ZCatalog object with a keywordindex called keywords
I would like to search some objects with keywords ['k1', 'k2', k3',
'k4'] for that I use:
return context.catalog({'keywords': {'query': ['k1', 'k2', k3', 'k4'],
'operator': 'and'}})
but
Yuri wrote at 2005-5-19 18:01 +0200:
I'm doing an import of a large .zexp (from ZMI), and I see thay Zope is
first loading it all in memory, than doing the work of importing it!
How do you see this?
In fact, Zope does not work this way.
Instead it reads the zexp incrementally and as it reads
Hello,
I have a web page, a form on it, and on form submit action (to the same page) I
do some database actions (update some record, to be correct). The exact code
looks like this (filename edit_html):
.
(1) dtml-if form
(2) dtml-call RESPONSE.redirect('index_html')
p
On Fri, May 20, 2005 at 11:45:58PM +0300, Art??ras wrote:
The problem is on line #2. According to what's written, zope should
drop everything and do immediate redirect to page index_html (ok, it's
not where the first error appeared, I just managed to generate this
error as the most clearest
Going with 2.8 sounds like a rather good solution.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Chris McDonough
Sent: Friday, May 20, 2005 3:01 PM
To: Paul Winkler
Cc: zope@zope.org
Subject: Re: [Zope] Modifying __bases__
You might also be able to do
(20050520) Information __
This message was checked by NOD32 antivirus system.
http://www.nod32.com
Arturas,
RESPONSE.redirect drops request (including form vars). Maybe thats a
clue?
David
___
Zope maillist - Zope@zope.org
http
Out of curiosity, I've noticed the word evil attached to patching
of various and monkey kinds. Not bad, or unwise, but evil,
implying a morality associated with the act.
What is morally wrong with modifying live objects in a dynamic language
to achieve desired functionality?
The idea is I want
Hello
The dtml-return RESPONSE.redirect('index_html') did the trick :) Thank
you, Jo :)
For David: this redirect was for exceptional situation - if user ID was changed
the the whole page had to be reloaded with new ID, that was
redirect('user_html?id=') style. All other variables
On Fri, May 20, 2005 at 05:10:30PM -0400, Dan Pozmanter wrote:
What is morally wrong with modifying live objects in a dynamic language
to achieve desired functionality?
The idea is I want to modify the zope core in a way that survives
version to version, yet does not
impose a specific use
I'm pleased to announce the release of ZODB 3.4 beta 1. This corresponds to
the ZODB that will ship in Zope 2.8b2. You can download a source tarball or
Windows installer from:
http://zope.org/Products/ZODB3.4
Note that there are two Windows installers, for Python 2.3 (2.3.5 is
recommended)
Log message for revision 30467:
- Make it so webdav-source server is distinguishable from the default http
server in the ZMI and event.log
Changed:
U Zope/trunk/lib/python/ZServer/HTTPServer.py
U Zope/trunk/lib/python/ZServer/datatypes.py
-=-
Modified:
Update of /cvs-repository/Zope/lib/python/ZServer
In directory cvs.zope.org:/tmp/cvs-serv16993
Modified Files:
Tag: Zope-2_7-branch
HTTPServer.py datatypes.py
Log Message:
- Make it so webdav-source server is distinguishable from the default http
server in the ZMI and event.log
Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv18142/doc
Modified Files:
Tag: Zope-2_7-branch
CHANGES.txt
Log Message:
- Note about the change
=== Zope/doc/CHANGES.txt 1.625.2.331 = 1.625.2.332 ===
--- Zope/doc/CHANGES.txt:1.625.2.331Tue May 17
Update of /cvs-repository/Zope/lib/python/Products/ZODBMountPoint
In directory cvs.zope.org:/tmp/cvs-serv32014/lib/python/Products/ZODBMountPoint
Modified Files:
Tag: Zope-2_7-branch
MountedObject.py
Log Message:
- Collector #1781: made 'create_mount_points' ZConfig option
Summary of messages to the zope-tests list.
Period Thu May 19 11:01:01 2005 UTC to Fri May 20 11:01:01 2005 UTC.
There were 6 messages: 6 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Thu May 19 22:40:47 EDT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Carlos,
Carlos A. Micucci wrote:
I have a problem with ZODBCDA. When query a DB which instances have a
null values, this values return as cero values (0) not nulls values,
and this is a problem for me, because I need differentiate them.
42 matches
Mail list logo