On 2016/11/08 16:51, Sebastien Marie wrote: > On Tue, Nov 08, 2016 at 03:22:15PM +0000, Stuart Henderson wrote: > > I've tried updating to git head and same problem. > > I also saw the "TypeError: expected string or buffer" error message. > > The problem is in the installed ~/.urlwatch/hooks.py file: some examples > aren't commented, and there is a problem somewhere: a "match" that > shouldn't, and it breaks with cryptic python exception. So just keeping > what I need in the file solves the problem for me.
Ah! Thank you very much, that solves it for me too. > > Also one or two times > > since the update I've seen what looks like a hang where it sits in > > state:thrsleep with no activity apparent in ktrace. > > I personnally didn't see it. It might possibly be connected with the other problem, so I'll keep an eye on things and see if it recurs. > > It's a bit awkward since the database and config has changed completely. > > But unless anyone has ideas of what might be wrong I think it might be a > > good idea to revert www/urlwatch and add a new urlwatch2 port for those > > that want it, what does anyone else think? > > As the switch from urlwatch to urlwatch2 could take lot of time for a > complete transition, it could be a good solution :) > > In my case, I already switched, so please at least add a new urlwatch2. For most cases it should be quite simple I think, and the newer version seems a lot faster so far. So if this solves the problem, let's keep things simple and just have one version. I'll open an issue upstream, but if I don't get a better idea, maybe we should comment-out the entries for now..