Unsliceable object
Dear List SELECT object_id, creation_date, modification_date, deletion_date, creator FROM object generates the error message "Unsliceable object". The SQL-statement is perfectly valid. I use a Psycopg_database_connection. Thx for your time. \Oliver
Oliver Marx wrote:
Dear List
SELECT object_id, creation_date, modification_date, deletion_date, creator FROM object
generates the error message "Unsliceable object".
The SQL-statement is perfectly valid.
I use a Psycopg_database_connection.
Thx for your time.
\Oliver
Are you sure it happens anywhere in the zsql-method? While I don't use psycopg, I'm quite sure that such a bug would have been discovered before. Could you post the traceback? cheers, oliver
Oliver Marx writes:
SELECT object_id, creation_date, modification_date, deletion_date, creator FROM object
generates the error message "Unsliceable object".
The SQL-statement is perfectly valid. How long are you on this list?
Please remember for the future: When you report about exceptions, you must look at "Error Type", "Error Value" and (at least) the last lines of the traceback. When you yourself do not understand the problem, you must include these pieces of information in the problem report. Otherwise, we will not be able to help you... Dieter
Well, I'm on the list so long That is should have remembered to include the TraceBack. But... The problem has been solved - that is the error has been located. It is the DA which s.ck and I'm now working on a bug-fix for the poor little fellow. \Oliver
-----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: 17. august 2002 11:39 To: Oliver Marx Cc: zope@zope.org Subject: Re: [Zope] Unsliceable object
Oliver Marx writes:
SELECT object_id, creation_date, modification_date, deletion_date, creator FROM object
generates the error message "Unsliceable object".
The SQL-statement is perfectly valid. How long are you on this list?
Please remember for the future:
When you report about exceptions, you must look at "Error Type", "Error Value" and (at least) the last lines of the traceback.
When you yourself do not understand the problem, you must include these pieces of information in the problem report.
Otherwise, we will not be able to help you...
Dieter --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02-08-2002
Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02-08-2002
But here is the traceback ;) File /usr/local/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: manage_test) File /usr/local/Zope-2.5.1-src/lib/python/Shared/DC/ZRDB/DA.py, line 328, in manage_test (Object: select_object) File /usr/local/Zope-2.5.1-src/lib/python/Shared/DC/ZRDB/DA.py, line 306, in manage_test (Object: select_object) File /usr/local/Zope-2.5.1-src/lib/python/Shared/DC/ZRDB/DA.py, line 421, in __call__ (Object: select_object) File /var/zope-sites/Tekk/Products/ZPsycopgDA/db.py, line 214, in query File /var/zope-sites/Tekk/Products/ZPsycopgDA/DA.py, line 125, in cast_DateTime \Oliver - who is a bit tired of DA's working like s..t
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dieter Maurer Sent: 17. august 2002 11:39 To: Oliver Marx Cc: zope@zope.org Subject: Re: [Zope] Unsliceable object
Oliver Marx writes:
SELECT object_id, creation_date, modification_date, deletion_date, creator FROM object
generates the error message "Unsliceable object".
The SQL-statement is perfectly valid. How long are you on this list?
Please remember for the future:
When you report about exceptions, you must look at "Error Type", "Error Value" and (at least) the last lines of the traceback.
When you yourself do not understand the problem, you must include these pieces of information in the problem report.
Otherwise, we will not be able to help you...
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02-08-2002
Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02-08-2002
participants (3)
-
Dieter Maurer -
Oliver Bleutgen -
Oliver Marx