Hint: find Object::connect errors

Mathias Panzenböck grosser.meister.morti at gmx.net
Sat Nov 6 03:41:22 CET 2010


In order to spot errors when connecting signals with slots you can use the attached script and start 
amarok like this:
amarok -d --nofork 2>&1 | ./filter-connect-issues.py

Of course you could just use the following:
amarok -d --nofork 2>&1 | grep '^Object::conncet:'

But using the python script you get a notification about an error as it occurs and not just when you 
look at the shell and you still see the full shell output.

	-panzi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: filter-connect-issues.py
Url: http://mail.kde.org/pipermail/amarok-devel/attachments/20101106/ff00e55b/attachment-0001.bat 


More information about the Amarok-devel mailing list