RE: [Zope-dev] Zope 2 can't paste my objects
This has been fixed in CVS... there still seems to be a problem with copying/pasting ZClass instances, though. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
-----Original Message----- From: Itai Tavor [mailto:itavor@bigpond.net.au] Sent: Thursday, July 01, 1999 3:44 AM To: Phil Harris; zope-dev@zope.org Subject: Re: [Zope-dev] Zope 2 can't paste my objects
Hmmm... just tried it... one folder copy worked fine... two items failed, but with a totally different error message. Oh well... guess I'll have to wait for the bug to be fixed before I know if there's also a problem with my products.
At 8:28 AM +0100 7/1/99, Phil Harris wrote:
This is a reported bug (I reported it :)).
It happens under all versions of Zope2, no news on a fix yet.
It even happens when you try to copy a straight forward 'folder' type, or when copying more than one 'simple' type.
HTH
Phil phil@philh.org
----- Original Message ----- From: Itai Tavor <itavor@bigpond.net.au> To: <zope-dev@zope.org> Sent: Thursday, July 01, 1999 6:49 AM Subject: [Zope-dev] Zope 2 can't paste my objects
Hi,
I wrote a few products, which work fine under Zope 1.11 and also seem to work under Zope 2.0.0a3. But when I copy one of my objects and try to paste it (using ZServer on a ZODB3 database) I get:
Traceback (innermost last): File /opt/Zope-2.0.0a3/lib/python/ZPublisher/Publish.py, line 256, in publish_module File /opt/Zope-2.0.0a3/lib/python/ZPublisher/Publish.py, line 161, in publish File /opt/Zope-2.0.0a3/lib/python/ZPublisher/mapply.py, line 154, in mapply (Object: manage_pasteObjects) File /opt/Zope-2.0.0a3/lib/python/ZPublisher/Publish.py, line 98, in call_object (Object: manage_pasteObjects) File /opt/Zope-2.0.0a3/lib/python/OFS/CopySupport.py, line 198, in manage_pasteObjects (Object: template) File /opt/Zope-2.0.0a3/lib/python/OFS/CopySupport.py, line 388, in _getCopy (Object: 3) File /opt/Zope-2.0.0a3/lib/python/ZODB/ExportImport.py, line 183, in importFile NameError: TupleType
This doesn't happen when running Zerver on a ZODB2 database (using z2.py -2).
The same thing happens with all my products... so obviously something's wrong with them. But what? As far as I could see none of the documents regarding the products API say anything specific for Zope 2. And what is ZODB doing in importFile anyway when I'm only trying to paste an object?
Itai -- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- -- -- "Every day, once a day, give yourself a present" - Dale Cooper --
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(For non-developer, user-level issues, use the companion list, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
-- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- -- -- "If you haven't got your health, you haven't got anything" --
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(For non-developer, user-level issues, use the companion list, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
Cheers Brian, I just hadn't tried it for a while ;) How about the pack functions? Phil phil@philh.org ----- Original Message ----- From: Brian Lloyd <Brian@digicool.com> To: 'Itai Tavor' <itavor@bigpond.net.au>; Phil Harris <phil@philh.org>; <zope-dev@zope.org> Sent: Thursday, July 01, 1999 2:38 PM Subject: RE: [Zope-dev] Zope 2 can't paste my objects
This has been fixed in CVS... there still seems to be a problem with copying/pasting ZClass instances, though.
Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
-----Original Message----- From: Itai Tavor [mailto:itavor@bigpond.net.au] Sent: Thursday, July 01, 1999 3:44 AM To: Phil Harris; zope-dev@zope.org Subject: Re: [Zope-dev] Zope 2 can't paste my objects
Hmmm... just tried it... one folder copy worked fine... two items failed, but with a totally different error message. Oh well... guess I'll have to wait for the bug to be fixed before I know if there's also a problem with my products.
At 8:28 AM +0100 7/1/99, Phil Harris wrote:
This is a reported bug (I reported it :)).
It happens under all versions of Zope2, no news on a fix yet.
It even happens when you try to copy a straight forward 'folder' type, or when copying more than one 'simple' type.
HTH
Phil phil@philh.org
----- Original Message ----- From: Itai Tavor <itavor@bigpond.net.au> To: <zope-dev@zope.org> Sent: Thursday, July 01, 1999 6:49 AM Subject: [Zope-dev] Zope 2 can't paste my objects
Hi,
I wrote a few products, which work fine under Zope 1.11 and also seem to work under Zope 2.0.0a3. But when I copy one of my objects and try to paste it (using ZServer on a ZODB3 database) I get:
Traceback (innermost last): File /opt/Zope-2.0.0a3/lib/python/ZPublisher/Publish.py, line 256, in publish_module File /opt/Zope-2.0.0a3/lib/python/ZPublisher/Publish.py, line 161, in publish File /opt/Zope-2.0.0a3/lib/python/ZPublisher/mapply.py, line 154, in mapply (Object: manage_pasteObjects) File /opt/Zope-2.0.0a3/lib/python/ZPublisher/Publish.py, line 98, in call_object (Object: manage_pasteObjects) File /opt/Zope-2.0.0a3/lib/python/OFS/CopySupport.py, line 198, in manage_pasteObjects (Object: template) File /opt/Zope-2.0.0a3/lib/python/OFS/CopySupport.py, line 388, in _getCopy (Object: 3) File /opt/Zope-2.0.0a3/lib/python/ZODB/ExportImport.py, line 183, in importFile NameError: TupleType
This doesn't happen when running Zerver on a ZODB2 database (using z2.py -2).
The same thing happens with all my products... so obviously something's wrong with them. But what? As far as I could see none of the documents regarding the products API say anything specific for Zope 2. And what is ZODB doing in importFile anyway when I'm only trying to paste an object?
Itai -- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- -- -- "Every day, once a day, give yourself a present" - Dale Cooper --
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(For non-developer, user-level issues, use the companion list, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
-- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- -- -- "If you haven't got your health, you haven't got anything" --
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(For non-developer, user-level issues, use the companion list, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
Phil Harris wrote:
How about the pack functions?
Do you mean database pack? I hope to have this in alpha 4, which I hope to release Monday. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Is it in the CVS yet? Phil phil@philh.org ----- Original Message ----- From: Jim Fulton <jim@digicool.com> To: Phil Harris <phil@philh.org> Cc: Brian Lloyd <Brian@digicool.com>; 'Itai Tavor' <itavor@bigpond.net.au>; <zope-dev@zope.org> Sent: Thursday, July 01, 1999 6:53 PM Subject: Re: [Zope-dev] Zope 2 can't paste my objects
Phil Harris wrote:
How about the pack functions?
Do you mean database pack? I hope to have this in alpha 4, which I hope to release Monday.
Jim
-- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Brian Lloyd wrote:
This has been fixed in CVS... there still seems to be a problem with copying/pasting ZClass instances, though.
This only affected *some* ZClass instances. I just checked in a fix for this. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (3)
-
Brian Lloyd -
Jim Fulton -
Phil Harris