|
Hi @all,
I've noticed from time to time that someone found a defect signal / slot connection, which can be somewhat annoying, because this issues only a warning on the command line. Here's a bash alias I created to track these errors. After the program terminates, it prints out errors concerning connections: alias digikamdbg="digikam 2>&1 | tee - /tmp/digikam.out; echo -e \"\n\n\nPossible connection errors:\n\n\"; cat /tmp/digikam.out | grep -A2 'Object::connect'" Maybe this helps to better tack these problems. Johannes _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
great. i recommend to put this alias to HACKING file in svn.
Gilles 2009/12/10 Johannes Wienke <[hidden email]>: > Hi @all, > > I've noticed from time to time that someone found a defect signal / slot > connection, which can be somewhat annoying, because this issues only a > warning on the command line. Here's a bash alias I created to track these > errors. After the program terminates, it prints out errors concerning > connections: > > alias digikamdbg="digikam 2>&1 | tee - /tmp/digikam.out; echo -e > \"\n\n\nPossible connection errors:\n\n\"; cat /tmp/digikam.out | grep -A2 > 'Object::connect'" > > Maybe this helps to better tack these problems. > > Johannes > > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Why so long?
A simple grep is enough, too :D digikam 2>&1 | grep -i connect Andi On Thursday 10 December 2009 22:18:08 Gilles Caulier wrote: > great. i recommend to put this alias to HACKING file in svn. > > Gilles > > 2009/12/10 Johannes Wienke <[hidden email]>: > > Hi @all, > > > > I've noticed from time to time that someone found a defect signal / slot > > connection, which can be somewhat annoying, because this issues only a > > warning on the command line. Here's a bash alias I created to track these > > errors. After the program terminates, it prints out errors concerning > > connections: > > > > alias digikamdbg="digikam 2>&1 | tee - /tmp/digikam.out; echo -e > > \"\n\n\nPossible connection errors:\n\n\"; cat /tmp/digikam.out | grep > > -A2 'Object::connect'" > > > > Maybe this helps to better tack these problems. > > > > Johannes > > > > > > _______________________________________________ > > Digikam-devel mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-devel > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Also for me this alias doesn't work, I only get duplicate output in the
console.... Andi On Thursday 10 December 2009 23:30:59 Andi Clemens wrote: > Why so long? > A simple grep is enough, too :D > > digikam 2>&1 | grep -i connect > > Andi > > On Thursday 10 December 2009 22:18:08 Gilles Caulier wrote: > > great. i recommend to put this alias to HACKING file in svn. > > > > Gilles > > > > 2009/12/10 Johannes Wienke <[hidden email]>: > > > Hi @all, > > > > > > I've noticed from time to time that someone found a defect signal / > > > slot connection, which can be somewhat annoying, because this issues > > > only a warning on the command line. Here's a bash alias I created to > > > track these errors. After the program terminates, it prints out errors > > > concerning connections: > > > > > > alias digikamdbg="digikam 2>&1 | tee - /tmp/digikam.out; echo -e > > > \"\n\n\nPossible connection errors:\n\n\"; cat /tmp/digikam.out | grep > > > -A2 'Object::connect'" > > > > > > Maybe this helps to better tack these problems. > > > > > > Johannes > > > > > > > > > _______________________________________________ > > > Digikam-devel mailing list > > > [hidden email] > > > https://mail.kde.org/mailman/listinfo/digikam-devel > > > > _______________________________________________ > > Digikam-devel mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-devel > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from andi.clemens@gmx.net
Am 10.12.2009 23:30 schrieb Andi Clemens:
> Why so long? > A simple grep is enough, too :D > > digikam 2>&1 | grep -i connect Cause I also like to have the log saved for later usage. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from andi.clemens@gmx.net
Am 10.12.2009 23:35 schrieb Andi Clemens:
> Also for me this alias doesn't work, I only get duplicate output in the > console.... I'm using it exactly like this. It's directly pasted from my bashrc. Are you sure there isn't a character problem from mail encoding or something like that? Johannes _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
