Re: trouble reverting to 0.7.0

"David W. Talmage" <[email protected]> Wed, 11 Feb 2004 10:20:12 -0500
Newsgroups gmane.comp.pythin.pyds.devel
Message-ID <[email protected]>
>>     PyDS.Tool.registerTool(GreetingTool, 'greeting', _('Greetings'), 
>> __desc__, 990)
>> TypeError: registerTool() takes exactly 1 argument (5 given)
>
>That must be a leftover from the 0.7.1 source. With 0.7.1 the format for
>registerTool changed. So you should remove all stuff from 0.7.1 and
>install 0.7.0. Ok, you could just remove the GreetingTool.py as that
>tool doesn't have any function worth talking about. But I don't know
>what other parts are still 0.7.1.

You were right about GreetingTool.py, Georg.  It gets installed to a
different place than the rest of PyDS (/usr/pkg/share/pyds/tools
vs. /usr/pkg/lib/python2p2/site-packages/PyDS).  After I removed
GreetingTool.py and UserTool.py, I reinstalled 0.7.0.  It starts but now
complains when I connect through pyds-browse:

Exception NameMapper.NotFound: listposts

    File      Line     Function                         Source
Tool.py       1079 continue_request s = self.index_html(req)
WeblogTool.py 370  index_html       pstructured=prefs.get('private','structured')
Tool.py       563  renderPage       return str(t)
              76   respond          None



I hope this isn't my fault.  PyDS 0.7.0 took forever to start up, so I
looked at ~/.PyDS/var, thinking maybe it was parsing a huge aggregator
log.  I usually leave PyDS running, so it's not unusual for the
aggregator.data file to grow to many megabytes.  Sure enough!
aggregator.data was 30MB.  But wait! events.data was 500MB!  I deleted
both files, hoping that would reduce the startup time.  Now there's this
exception.

Save me from myself, Georg! :-)

David