When etcat -f 2 is enterned the following error is produced. This error is generated whenever the first character of the search string is a number so etcat -f 2big would also generate a similar error [ Results for search key : 2 ] Traceback (most recent call last): File "/usr/bin/etcat", line 1105, in ? main() File "/usr/bin/etcat", line 1101, in main function(query) File "/usr/bin/etcat", line 994, in files print "[ Applications found : " + white(str(len(matches))) + " ]" UnboundLocalError: local variable 'matches' referenced before assignment I think that etcat should return [ Applications found : 0 ] it looks like it is trying to get this done. This error is similar to bug 29574 Reproducible: Always Steps to Reproduce: 1. etcat -f 2 2. 3. Actual Results: [ Results for search key : 2 ] Traceback (most recent call last): File "/usr/bin/etcat", line 1105, in ? main() File "/usr/bin/etcat", line 1101, in main function(query) File "/usr/bin/etcat", line 994, in files print "[ Applications found : " + white(str(len(matches))) + " ]" UnboundLocalError: local variable 'matches' referenced before assignment Expected Results: [ Results for search key : 2 ] [ Applications found : 0 ]
*** This bug has been marked as a duplicate of 32871 ***