[Mattricks] Traceback: No Filter option in player compare

Rasmus Larsson rasmus.larsson at mbox301.swipnet.se
Fri Aug 27 15:50:40 CEST 2004


On Fri, 27 Aug 2004 09:10:30 +0200 (MEST), Oscar Gustafsson  
<oscar at lysator.liu.se> wrote:

> Hi!
>
> On Fri, 27 Aug 2004, Rasmus Larsson wrote:
>> Traceback (most recent call last):
>>    File "Mattricks\ComparisonPage.pyc", line 150, in NoFilterChanged
>>    File "Mattricks\ComparisonPage.pyc", line 154, in OnFilterChanged
>>    File "Mattricks\ComparisonPage.pyc", line 178, in __get_change_text
>>    File "Mattricks\Listchanges.pyc", line 177, in get_changes_text
>>    File "Mattricks\Listchanges.pyc", line 224, in __make_changes_text
>> KeyError: 'TransferListed'
> I would guess that this has somethign to do with an extra element in the
> HRF-file "TransferListed" that we are not aware of (or are we?).
>
>> I'm willing to send some of my hrf files for testing but since I don't
>> know how many recipients there are to mattricks@ I am holding back on  
>> that
>> since I don't want my team details going public so to speak (i.e. are
>> there only developers subscribed to mattricks@ and will they/you keep my
>> team details confidential? I'm guessing the answer is "of course", but
>> best to be on the safe side...).
> Yes, what we are interested in is if you may have an hrf-file with a
> TransferListed line in it. You could either send the complete hrf (to me)
> or the line indication which section it belongs to (probably one of the
> players) to the list.

And you were correct, it is a line in the players' description. Here is a  
player so you'll have something to work with:

[player22779889]
name=Peter Everhall
ald=19
ska=-1
for=6
uth=8
spe=9
mal=3
fra=4
ytt=2
fas=5
bac=4
mlv=1
rut=1
led=2
sal=11001
mkt=3420
gev=0
gtl=0
gtc=0
gtt=0
hat=0
CountryID=1
warnings=0
speciality=0
specialityLabel=
gentleness=1
gentlenessLabel=
honesty=2
honestyLabel=
Aggressiveness=2
AggressivenessLabel=
TrainerType=
TrainerSkill=
rating=0
PlayerNumber=100
TransferListed=0
NationalTeamID=0
Caps=0
CapsU20=0
TPE=-1

/Rasmus



More information about the Mattricks mailing list