Gabriel Genellina wrote:
At Thursday 31/8/2006 18:11, Ferhat Ayaz wrote:
I have a Script (Python) called 'functions'.
I want to import this script into another Script
(Python).
import Include.Functions.requests
says
import of Include.Functions.requests is unauthorized
You don't import
r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper'
http://www.zope.org/Collectors/Zope/1884
I see this is a pending case but does anyone have any idea if it will be
fixed in future releases?
Finally got a 2.8.8 instance running with our Data (from 2.7.5) and was
able to
--On 1. September 2006 07:46:33 -0400 Allen Schmidt Sr.
[EMAIL PROTECTED] wrote:
r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper'
http://www.zope.org/Collectors/Zope/1884
I see this is a pending case but does anyone have any idea if it will be
fixed in future
Thanks,
it's just a little function (3-5 lines) and uses the
REQUEST object. It will lookup for request parameters,
if not found, a default value will be returned.
But your suggestion can make the code more readable.
Greets,
Ferhat
--- Duncan Booth [EMAIL PROTECTED]
wrote:
Gabriel Genellina
Hi,
I have a Z SQL Method with an insert expression. To
the inserted row will be assigned an auto_increment
id. How can I get the last inserted id?
I tryed the following both commands in one Z SQL
method. Unfortunatly this produces an error.
insert into categories (parent_id,logo,active) values
Search the mailing list archives for July - there were several
contributions to this question. Roughly:
insert ...
dtml-var sql_delimiter
select LAST_INSERT_ID() as table_id_seq
Cliff
Ferhat Ayaz wrote:
Hi,
I have a Z SQL Method with an insert expression. To
the inserted row will be
I have been using this successfully for a while. Don't remember where I
found out about it though:
insert stuff...
dtml-var sql_delimiter
select alert_id from entertainment_alerts
where alert_id = @@identity
Allen
Cliff Ford wrote:
Search the mailing list archives for July - there were
Thanks for the answers. The keyword I missed was
dtml-var sql_delimiter. Now it's working. Here my
complete Z SQL Method:
---
insert into categories (parent_id,logo,active) values
(
dtml-sqlvar parent_id type=int,
dtml-sqlvar logo type=string,
dtml-sqlvar active type=int
)
I'm pleased to announce the second alpha release of z3wingdbg, a Zope3
package integrating debug support for the Wing IDE into Zope3.
z3wingdbg sets you up with a seperate single-threaded HTTP server
through which all requests are under the control of the Wing Debugger.
This second release
Log message for revision 69915:
Merged r69910:69911 from 2.8 branch.
Help avoid acquisition disaster in Folder.manage_main (main.dtml).
Changed:
U Zope/trunk/lib/python/OFS/ObjectManager.py
-=-
Modified: Zope/trunk/lib/python/OFS/ObjectManager.py
Log message for revision 69916:
Acquisition disaster part II.
Changed:
U Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml
-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml
===
---
Log message for revision 69918:
Merged r69915:69916 from 2.8 branch.
Changed:
U Zope/branches/2.10/lib/python/OFS/dtml/main.dtml
-=-
Modified: Zope/branches/2.10/lib/python/OFS/dtml/main.dtml
===
---
Log message for revision 69919:
Merged r69915:69916 from 2.8 branch.
Changed:
U Zope/trunk/lib/python/OFS/dtml/main.dtml
-=-
Modified: Zope/trunk/lib/python/OFS/dtml/main.dtml
===
---
I have a Zope product that relies heavily on a ZCatalog to search for
objects within a folder matching certain criteria. The ZCatalog
frequently becomes corrupt, and on searching the catalog, the catalog
gives me key errors. I'm trying to figure out what causes the
corruption so I can stop
I'm getting a ZODB.POSException.ConflictError in the following code in a
Custom Zope Product, and I'm hoping someone can enlighten me on how to
fix it.
# nd is a folder with a sub-folder Categories
# NDCategory is a custom Zope product I wrote that does not have
anything called bogus defined.
--On 1. September 2006 02:54:26 -0400 [EMAIL PROTECTED]
wrote:
I have a Zope product that relies heavily on a ZCatalog to search for
objects within a folder matching certain criteria. The ZCatalog
frequently becomes corrupt, and on searching the catalog, the catalog
gives me key errors.
Right, many thanks to those who have offered advice. I'm conscious that as
I've drifted from a coding topic then I'm probably in the wrong mailing list,
but everyone has been very patient up to now and I'm hoping that a fix is in
sight! :)
I have done a backup of the Dats.fs file (took three
[EMAIL PROTECTED] wrote:
I'm getting a ZODB.POSException.ConflictError in the following code in a
Custom Zope Product,
Google for ConflictError Zope and read, a lot. These are to be
expected due to Zope's concurrency model, but if end users are seeing
them then your application needs
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7403
Blamelist:
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000
zc-bbwin2.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7403
Blamelist:
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7404
Blamelist:
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7406
Blamelist:
andrew,dobe,fdrake,gintautasm,jim,jukart,mgedmin,mj,mkerrin,niemeyer,opetznick,philikon,shh,srichter,yusei
BUILD
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000
zc-bbwin2.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7408
Blamelist: gintautasm,shh
BUILD FAILED: failed compile
sincerely,
-The Buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7408
Blamelist: gintautasm,shh
BUILD FAILED: failed test
sincerely,
-The Buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7409
Blamelist: shh
BUILD FAILED: failed test
sincerely,
-The Buildbot
___
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7410
Blamelist: shh
BUILD FAILED: failed test
sincerely,
-The Buildbot
___
Zope-Dev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kris Adcock wrote:
Right, many thanks to those who have offered advice. I'm conscious that as
I've drifted from a coding topic then I'm probably in the wrong mailing list,
but everyone has been very patient up to now and I'm hoping that a fix is in
how many categories are there and how often does this code get executed?
It's only one user and within one request where this is happening. I'm
using ZEO. There must be something I fundamentally don't understand
about how I assign an attribute to an object in the ZODB. If you have
any
Read or Write conflict errors?
I'm getting the Key Error traceback on Reads, but my guess is that the
actual error happens sometime before the Key Error, when the
ZCatalog itself is corrupted. I am not sure what that is, because it
does not generate an error.
However, I see the error when I
[EMAIL PROTECTED] wrote at 2006-9-1 02:54 -0400:
I have a Zope product that relies heavily on a ZCatalog to search for
objects within a folder matching certain criteria. The ZCatalog
frequently becomes corrupt, and on searching the catalog, the catalog
gives me key errors. I'm trying to figure
Kris Adcock wrote at 2006-9-1 09:33 +0100:
Right, many thanks to those who have offered advice. I'm conscious that as
I've drifted from a coding topic then I'm probably in the wrong mailing list,
but everyone has been very patient up to now and I'm hoping that a fix is in
sight! :)
I have done a
Traceback for my Key Error (Dieter, thank you for alerting me on where
to find this):
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module
On 9/1/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm getting a ZODB.POSException.ConflictError in the following code in a
Custom Zope Product, and I'm hoping someone can enlighten me on how to
fix it.
# nd is a folder with a sub-folder Categories
# NDCategory is a custom Zope product I
33 matches
Mail list logo