Ciao roberto, I Btree hanno metodi di pulizia def _cleanup(self): """Cleans up errors in the BTrees.
Certain ZODB bugs have caused BTrees to become slightly insane. Fortunately, there is a way to clean up damaged BTrees that always seems to work: make a new BTree containing the items() of the old one. Returns 1 if no damage was detected, or 0 if damage was detected and fixed. """ potresti accedere in bin/instance debug e tentare. alessandro. Il giorno 1 agosto 2017 09:56, Yuri <y...@alfa.it> ha scritto: > L'unica è determinare l'oid e con quello accedere tramite zodb e > correggere l'oggetto. > > > Il 31/07/2017 15:57, Roberto Rascioni ha scritto: > >> Ciao a tutti! >> >> ho un problema molto strano che mi hanno segnalato da qualche giorno: >> >> quando si cerca di accedere ad una determinata cartella si riceve l'errore >> >> Module Products.BTreeFolder2.BTreeFolder2, line 332, in objectCount >> TypeError: 'NoneType' object is not callable >> >> La cartella non ha più ID e non si riesce né a rinominare né cancellare >> >> ValueError: No object with id "" exists >> >> Ho provato ad utilizzare il metodo *@@**migrate-btrees* < >> http://blog.redturtle.it/2014/03/26/migrazioni-sorprese-gestire> >> descritto nel blog di redTurtle >> e ad eseguire il /Clear and Rebuild/ del catalogo ma senza risultati >> >> Ho provato anche a creare uno script python per rinominare la cartella, >> ma anche lì ricevo lo stesso errore descritto sopra (id "" non esistente) >> >> Qualcuno di voi ha idea di come posso recuperare la cartella? >> >> Grazie a tutti in anticipo! >> >> Roberto >> ** <http://blog.redturtle.it/2014/03/26/migrazioni-sorprese-gestire> >> >> >> _______________________________________________ >> Plone-IT mailing list >> plone...@lists.plone.org >> https://lists.plone.org/mailman/listinfo/plone-plone-it >> http://plone-regional-forums.221720.n2.nabble.com/Plone-Ital >> y-f221721.html >> > > _______________________________________________ > Plone-IT mailing list > plone...@lists.plone.org > https://lists.plone.org/mailman/listinfo/plone-plone-it > http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html > -- bye alessandro ceglie (aka sauzher) ************************************ l'iterazione è umana... la ricorsione, Divina! ************************************ reply to: sauzher AT gmail DOT com
_______________________________________________ Plone-IT mailing list plone...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-plone-it http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html