Re: Silva Rc4 upgrade problem

Bas Leeflang <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Organization Bijvoet Center
Message-ID <[email protected]>
I just tried a fresh CVS checkout of Silva.
(cvs -z3 -d:pserver:[email protected]:/cvs/infrae co Silva)      
Is this correct?

Here I get completely different errors....
When I try to enter the Silva Services Tab the thing crashed..

Exception Value     unbound C method must be called with ExtensionClass 
1st argument

Traceback (innermost last):
  Module ZPublisher.Publish, line 101, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module App.special_dtml, line 175, in _exec
  Module DocumentTemplate.DT_In, line 643, in renderwob
  Module DocumentTemplate.DT_In, line 771, in sort_sequence
  Module ZODB.Connection, line 562, in setstate
  Module ZODB.Connection, line 601, in _set_ghost_state
  Module ZODB.Connection, line 200, in _persistent_load
   - __traceback_info__: ('\x00\x00\x00\x00\x00\x06j6', ('Products.Silva.ContainerPolicy', 'NothingPolicy'))
TypeError: unbound C method must be called with ExtensionClass 1st argument

Maybe I checkout a completely non-working snapshot from CVS?

Bas


Guido Wesdorp wrote:

> Bas Leeflang wrote:
>
>> Is there (already) a method to do partial upgrades? This may help in 
>> locating the problem....
>>
> No method for partial upgrades yet, but there is a work-around checked 
> in to the trunk two days ago or so: the upgrade code now is completely 
> placed inside a barebones try/except clause so that if anything goes 
> wrong a message will be printed to the console or log and the image is 
> skipped. This means that the image isn't usable anymore after an 
> upgrade (don't think it's usable anyway, since PIL seems to fail in 
> reading it) but at least the upgrade doesn't break anymore.
>
> Cheers,
>
> Guido
>

-- 
Dr. Bas R. Leeflang
Bijvoet Center for Biomolecular Research Tel : +31.30.253.3498
Utrecht University                       Fax : +31.30.254.0980
Padualaan 8, NL-3584 CH  Utrecht         Email: [email protected]
The Netherlands                          http://www.bijvoet-center.nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.