[Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Santi Camps
Hi all,
I'm just trying recent Zope 2.8 a2 and I'm not able to import any .zexp 
file.   At the begin I thought that it could be caused by the zexp I was 
trying to import, but default Examples.zexp also cause the same error.   
I've tried with and without ZEO, and with and without debug mode, always 
the same result.I'm doing something wrong or this could be a bug ?

Thanks in advance
The obtained traceback is this one:
Time
2005/04/06 14:05:06.943 GMT+2
User Name (User Id)
admin (admin)
Request URL
http://localhost.localdomain:8083/manage_importObject
Exception Type
BdbQuit
Exception Value
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 OFS.ObjectManager, line 554, in manage_importObject
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module App.special_dtml, line 175, in _exec
Module DocumentTemplate.DT_Let, line 76, in render
Module DocumentTemplate.DT_In, line 703, in renderwob
Module App.PersistentExtra, line 44, in locked_in_version
Module ZODB.Connection, line 831, in modifiedInVersion
Module pdb, line 992, in set_trace
Module bdb, line 52, in trace_dispatch
Module bdb, line 80, in dispatch_return
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 14:11, Santi Camps wrote:
Hi all,
I'm just trying recent Zope 2.8 a2 and I'm not able to import any 
.zexp file.   At the begin I thought that it could be caused by the 
zexp I was trying to import, but default Examples.zexp also cause the 
same error.   I've tried with and without ZEO, and with and without 
debug mode, always the same result.I'm doing something wrong or 
this could be a bug ?
LOL  looks like someone left a pdb.set_trace() in the 
ZODB.Connection.modifiedInVersion method...

jens
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Andreas Jung

--On Mittwoch, 6. April 2005 14:22 Uhr +0200 Jens Vagelpohl 
[EMAIL PROTECTED] wrote:

On Apr 6, 2005, at 14:11, Santi Camps wrote:
Hi all,
I'm just trying recent Zope 2.8 a2 and I'm not able to import any
.zexp file.   At the begin I thought that it could be caused by the
zexp I was trying to import, but default Examples.zexp also cause the
same error.   I've tried with and without ZEO, and with and without
debug mode, always the same result.I'm doing something wrong or
this could be a bug ?
LOL  looks like someone left a pdb.set_trace() in the
ZODB.Connection.modifiedInVersion method...
There was something with a pdb.set_trace() in ZODB code (on some Zope list
lately).
-aj

pgpG7VpzZXNZw.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 15:00, Tim Peters wrote:
LOL  looks like someone left a pdb.set_trace() in the
ZODB.Connection.modifiedInVersion method...
Yup, that got checked in by mistake during the recent ZODB sprint at 
PyCon.

It's repaired on Zope trunk / ZODB 3.4a2, so try the trunk instead.
Another thing it proves is that Zope's test suite is somewhat lacking 
wink.
So I was clicking through svn.zope.org trying to find the ZODB code in 
question but couldn't, simply because I did not know what tag/branch 
the version stitched into Zope 2.8a2 is. How can you tell from looking 
at the Zope code on http://svn.zope.org which ZODB branch/tag is 
stitched in during checkout?

jens
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Tim Peters
[Jens Vagelpohl]
 So I was clicking through svn.zope.org trying to find the ZODB code in
 question but couldn't, simply because I did not know what tag/branch
 the version stitched into Zope 2.8a2 is. How can you tell from looking
 at the Zope code on http://svn.zope.org which ZODB branch/tag is
 stitched in during checkout?

Never tried before, and don't think you can.  From the root of a Zope
checkout, you can do:

svn proplist -v utilities lib/python
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 17:50, Tim Peters wrote:
[Jens Vagelpohl]
So I was clicking through svn.zope.org trying to find the ZODB code in
question but couldn't, simply because I did not know what tag/branch
the version stitched into Zope 2.8a2 is. How can you tell from looking
at the Zope code on http://svn.zope.org which ZODB branch/tag is
stitched in during checkout?
Never tried before, and don't think you can.  From the root of a Zope
checkout, you can do:
svn proplist -v utilities lib/python
Well, I was trying to *avoid* making a checkout to see that detail, 
that's all...

jens
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )