View Single Post
Old 12-03-2014, 04:54 PM   #31
Nvidiot
Connoisseur
Nvidiot began at the beginning.
 
Nvidiot's Avatar
 
Posts: 57
Karma: 30
Join Date: Jul 2009
Location: Netherlands
Device: PW2
I found a bug in 1.41. For some reason it found the same name multiple times and showed them in front of the | in the aliases file twice. If you then continue, it crashes.

Like this:
Bob the Builder|Bob
Frop|
Bob the Builder|

Not sure it was due to this, or to this situation:
Bob the Builder|Bob
Bob|Bob the Builder

I quickly fixed it with a bit of Python:
input = <string with duplicates>
split_input = input.split("\n")
print "\n".join(sorted(set(split_input)))

Maybe you can do something similar inside the application?

<furthermore I had a PEBKAC error, I didn't put the generated file in the SDR folder. The output works fine if I put it there>

Last edited by Nvidiot; 12-03-2014 at 04:58 PM. Reason: PEBKAC
Nvidiot is offline   Reply With Quote