Problème update Rating
Problème update Rating
J'ai un problème lorsque je veux mettre à jour mes ratings.
Je fais mes ratings avec excel. Ensuite, j'utilise V2 utility pour faire le fichier que j'uploaderai dans le sim. Tout ce fait sans erreur.
Mais quand j'update les Ratings, Aucun des joueurs n'est updater et le message d'erreur est le salary didn't pass de validation test.
Mais, pourtant le v2 utility ne dit pas d'erreur.
Je suis à ma trois mise à jour de joueurs depuis mes débuts avec le sim, et j'utilise pourtant la même ordre dans les colonnes.
Je fais mes ratings avec excel. Ensuite, j'utilise V2 utility pour faire le fichier que j'uploaderai dans le sim. Tout ce fait sans erreur.
Mais quand j'update les Ratings, Aucun des joueurs n'est updater et le message d'erreur est le salary didn't pass de validation test.
Mais, pourtant le v2 utility ne dit pas d'erreur.
Je suis à ma trois mise à jour de joueurs depuis mes débuts avec le sim, et j'utilise pourtant la même ordre dans les colonnes.
Guillaume Diamond
Président de la Ligue de Hockey Simulé de l'Estrie
8 saisons FHL, 26 saisons STHS!
http://www.lhse.org
Président de la Ligue de Hockey Simulé de l'Estrie
8 saisons FHL, 26 saisons STHS!
http://www.lhse.org
-
- STHS Owner / Propriétaire du STHS
- Posts: 14804
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Problème update Rating
1) Tu n'utilise pas la version 2.0.5
2) Mets ton salaire minimum à 0 pis tu va être correct.
2) Mets ton salaire minimum à 0 pis tu va être correct.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- The Crazy / Le Fou
- Posts: 405
- Joined: Tue Feb 28, 2006 10:37 am
- Location: Oslo, Norway
- Contact:
Re: Problème update Rating
I have a problem with updating the ratings. Maybe, the same problem is described in this thread (I don't know french), but here it is:
I downloaded a rating pack, that includes both the csv file, and the str file.
I tried to update my ratings with the str file, and then I noticed that around 30% of the players were not updated. (They became prospects, since I told the simulator to send players not updated to prospects).
I then opened the csv file, to see if some names were spelled different or something, but no. All the names were in the csv file.
So I then tried to reconvert the csv file to a str file with the STHS Utility, but the same thing happened again.
Is there a problem with the csv file, or what do I do?
I'm using the 2.0.4.5 version of the simulator.
I downloaded a rating pack, that includes both the csv file, and the str file.
I tried to update my ratings with the str file, and then I noticed that around 30% of the players were not updated. (They became prospects, since I told the simulator to send players not updated to prospects).
I then opened the csv file, to see if some names were spelled different or something, but no. All the names were in the csv file.
So I then tried to reconvert the csv file to a str file with the STHS Utility, but the same thing happened again.
Is there a problem with the csv file, or what do I do?
I'm using the 2.0.4.5 version of the simulator.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14804
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Problème update Rating
Did you have an error that told you that X number of players were not import?
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- The Crazy / Le Fou
- Posts: 405
- Joined: Tue Feb 28, 2006 10:37 am
- Location: Oslo, Norway
- Contact:
Re: Problème update Rating
1 Player on 1029 were not imported correctly.
But there is still around 500 players that were not updated at all, and were just sent to Prospects.
But there is still around 500 players that were not updated at all, and were just sent to Prospects.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14804
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Problème update Rating
Did you download the rating pack? If you download it before June 20 and used the SIMHL-NHL rating pack, it was missing players in the pack. I redid the pack on June 20th.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- The Crazy / Le Fou
- Posts: 405
- Joined: Tue Feb 28, 2006 10:37 am
- Location: Oslo, Norway
- Contact:
Re: Problème update Rating
But I looked into the csv file. Around 1500 players.
And then converted the csv file to str file.
And then I tried to update the ratings, but now it's only 1029 players in the str file.
And yes, I downloaded the file after 20th june.
And then converted the csv file to str file.
And then I tried to update the ratings, but now it's only 1029 players in the str file.
And yes, I downloaded the file after 20th june.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14804
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Problème update Rating
Did you had error when creating the STR?
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- The Crazy / Le Fou
- Posts: 405
- Joined: Tue Feb 28, 2006 10:37 am
- Location: Oslo, Norway
- Contact:
Re: Problème update Rating
Hmm. Yes. Here it is (translated from swedish)
Exception Type
------------------
------------------
System.InvalidCastException
Message - Source
------------------
------------------
Can't convert the string 1985-2-30 to the
type Date. - Microsoft.VisualBasic
Stack Trace
------------------
------------------
at Microsoft.VisualBasic.CompilerServices.Conversations.ToDate(StringValue)
at SimonTHockeySimulator.VariableSharedMainUtility.AddPlayerToRating V2(String strPLayerFile)
But I can still save the rating file.
Exception Type
------------------
------------------
System.InvalidCastException
Message - Source
------------------
------------------
Can't convert the string 1985-2-30 to the
type Date. - Microsoft.VisualBasic
Stack Trace
------------------
------------------
at Microsoft.VisualBasic.CompilerServices.Conversations.ToDate(StringValue)
at SimonTHockeySimulator.VariableSharedMainUtility.AddPlayerToRating V2(String strPLayerFile)
But I can still save the rating file.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14804
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Problème update Rating
You have the same exact problem I had. The CSV file you are using is the SIMHL-PlayersRatingV2 where the date is before June 20th. That file an error where a player birthday was 30 of February and that it's impossible. All players after this in CSV were not import correctly in the rating file. Please redownload the Rating2011 and use the SIMHL-NHL-2011 rating file.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- The Crazy / Le Fou
- Posts: 405
- Joined: Tue Feb 28, 2006 10:37 am
- Location: Oslo, Norway
- Contact:
Re: Problème update Rating
I see the problem now.
He can't be born 30 february.
I now tried to edit his birth date in the csv, and then convert the file. I got this error:
1029 players on 1545 were not imported correctly. Please review the log at ..................\CsvInput.log
And now I realize that I had to erase all imports first. So now everything works.
He can't be born 30 february.
I now tried to edit his birth date in the csv, and then convert the file. I got this error:
1029 players on 1545 were not imported correctly. Please review the log at ..................\CsvInput.log
And now I realize that I had to erase all imports first. So now everything works.