[Zope-ZEO] Problem deleting

Monty Taylor mtaylor@information-innovation.com
Tue, 12 Sep 2000 16:27:32 +0200


Deleting products doesn't seem to work to well. I know that's vague, but
here's a quick run down of what I did...
One ZEO Server on one machine with DCOracleStorage. (Ok, I like to live
on the edge) A client on another. All the products are being loaded when
I start the client instance. I added ZPatterns, LoginManager and
Membership (python and ZClass).
I add a few instances of these. I deleted them. Then, I deleted the
product directories and restarted the client. They all still had entires
in Control Panel, which I deleted (along with the Membership ZClass)
On subsequent startups, I got an error message something like:

2000-09-12T13:39:59 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\000\000\020\011'
Traceback (innermost last):
  File /usr/local/Zope-2.2.1-src/lib/python/ZODB/Connection.py, line
447, in setstate
  File /usr/local/Zope-2.2.1-src/lib/python/ZODB/Connection.py, line
213, in _persistent_load
    (Info: )
 File /usr/local/Zope-2.2.1-src/lib/python/ZODB/Connection.py, line 154,
in __getitem__
    (Info: ('\000\000\000\000\000\000\030\217',
'(cExtensionClass\012ExtensionClass\012q\001(U\014PortalMemberq\002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.ZPatterns.DataSkins\012DataSkin\012q\004cProducts.LoginManager.UserSources\012LoginUser\012q\005cOFS.SimpleItem\012SimpleItem\012q\006tq\007}q\010(U\012_p_changedq\011K\001U\007__doc__q\012U\015Portal
Memberq\013U\006_p_oidq\014U\010\000\000\000\000\000\000\021\331q\015U\013getFullNameq\016(U\010\000\000\000\000\000\000\030\256q\017(U\017ZClasses.Methodq\020U\003MWpq\021tq\022tq\023QU\027class_default_for_emailq\024U\000U\011meta_typeq\025U\015Portal
Memberq\026U\016propertysheetsq\027U\010\000\000\000\000\000\000\030\257q\030QU\030class_default_for_chromeq\031U\000U!class_default_for_last_login_timeq\032(cDateTime.DateTime\012DateTime\012q\033Noq\034}q\035(U\005_hourq\036K\000U\002_dq\037G@\341\247\351UUUUU\005_fmonq
U\007Januaryq!U\005_yearq"M\320\007U\005_pmonq#U\004Jan.q$U\004timeq%G?\322\252\252\252\252\000\000U\012_dayoffsetq&K\006U\004_dayq\'K\001U\007_millisq(L946710000000L\012U\005_adayq)U\003Satq*U\007_minuteq+K\000U\002_tq,GA\3146\322\370\000\000\000U\006_monthq-K\001U\003_pmq.U\002amq/U\007_secondq0K\000U\005_amonq1U\003Janq2U\005_fdayq3U\010Saturdayq4U\005_pdayq5U\004Sat.q6U\007_pmhourq7K\014U\003_tzq8U\013US/Mountainq9U\010_nearsecq:G\000\000\000\000\000\000\000\000ubU\022__ac_permissions__q;((U\021Manage
propertiesq<)(U\007Managerq=tq>t(U\014Manage
usersq?)h>ttq@U\031class_default_for_domainsqA]qBU\000aU\004iconqCU\000U\030class_default_for_listedqDU\000U\011_p_serialqEU\010\0036\321`\214\315\333\304qFU\027class_default_for_rolesqG]qHU\034class_default_for_ChallengeQqIU\000U\032class_default_for_passwordqJU\000U\010manageMeqK(U\010\000\000\000\000\000\000\030\260qL(h\020U\003MWpqMtqNtqOQU\030class_default_for_ActiveqPK\001U\031class_default_for_SurnameqQU\000U\016manage_optionsqR(}qS(U\005labelqTU\007ProfileqUU\006actionqVU!propertysheets/UserProfile/manageqWu}qX(hTU\006CommonqYhVU&propertysheets/CommonProperties/manageqZu}q[(hTU\006Systemq\\hVU&propertysheets/SystemProperties/manageq]u}q^(hTU\013Restrictedsq_hVU*propertysheets/RestrictedProperties/manageq`u}qa(U\005labelqbU\004UndoqcU\004helpqd(U\004OFSPqeU\010Undo.stxqftU\006actionqgU\017manage_UndoFormqhu}qi(hbU\011Ownershipqjhd(heU\015Ownership.stxqkthgU\014manage_ownerqlU\006filterqmcAccessControl.Owned\012ownableFilter\012qnutqoU\034class_default_for_ChallengeAqpU\000U\033class_default_for_GivenNameqqU\000U\012__module__qrU\031*QpViCIG2oty3+jIn5k03UQ==qsU\034class_default_for_login_timeqt(h\033Noqu}qv(h\036K\000h\037G@\341\247\351UUUUh
h!h"M\320\007h#h$h%G?\322\252\252\252\252\000\000h&K\006h\'K\001h(L946710000000L\012h)h*h+K\000h,GA\3146\322\370\000\000\000h-K\001h.h/h0K\000h1h2h3h4h5h6h7K\014h8h9h:G\000\000\000\000\000\000\000\000ubutqwt.N.'))

Could not load oid , pickled data in traceback info may
contain clues

But I had deleted the PortalMember ZClass. I tried packing the database,
but that didn't help. I would have just lived with the annoying error
message, BUT--
Now I couldn't add a Portal anymore. It gave me errors about
DefaultRoleMappings.

I wiped the ZSS and re-installed it, changing nothing client side and
it's all happy now.  The right products have been installed. Is there
something I'm missing? I'll see if I can do it again, but I can't do
that for another few days.

Thanks.
Monty