Re: TRaceback warnings

Florian Festi <[email protected]> Wed, 29 Sep 2004 10:13:07 +0200 (METDST)
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <Pine.GHP.4.61.0409291011070.7046@rupert.informatik.uni-stuttgart.de>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> While changing the EmbedWikiPage from a macro to a processor the
> following warnings are removed.
>
> Did someone have something like this seen before and could give a hint
> what probably could be wrong?
>
> Traceback (most recent call last):
> ~  File "/lib/python/MoinMoin/request.py", line 405, in run
> ~    Page(query).send_page(self, count_hit=1)
> ~  File "/lib/python/MoinMoin/Page.py", line 611, in send_page
> ~    self.send_page_content(request, Parser, body)
> ~  File "/lib/python/MoinMoin/Page.py", line 662, in send_page_content
> ~    Parser(body, request).format(self.formatter)
> ~  File "/lib/python/MoinMoin/parser/wiki.py", line 1033, in format
> ~    formatted_line = self.scan(scan_re, line) # this also sets
> self.inhibit_p as side effect!
> ~  File "/lib/python/MoinMoin/parser/wiki.py", line 876, in scan
> ~    return ''.join(result)
> TypeError: sequence item 1: expected string, NoneType found

Sounds familiar. I fixed something like this in the 1.3 branch some weeks 
ago. What version do you use exactly? Consider to update to 1.3 current. 
If you are already on 1.3 current please complain again.

 	cu

 		FlorianFesti


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl