Season Planner v2.0 for PCM 2011
|
Otti |
Posted on 15-01-2012 09:39
|
Amateur
Posts: 19
Joined: 25-07-2011
PCM$: 200.00
|
I've posted my question in your german forum as well.
So i've tried to open my pre-beta2012db with your pcm planner and this error occurs.
----An error occured----
Die angegebene Umwandlung ist ungültig.
----Stacktrace----
bei PCM_SeasonPlaner.DBLoader.CalculateParticipatingCyclists(Int16 intIDrace)
bei PCM_SeasonPlaner.DBLoader.FillHelpColumns()
bei PCM_SeasonPlaner.DBLoader.ImportDatabase(Object sender, DoWorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
How can i fix this crash? I changed some variant stage names, but the error is still there.
Thanks ! |
|
|
|
Lachi |
Posted on 15-01-2012 10:30
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
There really is no need to post the same question twice, just wait for an answer. |
|
|
|
kimiopn |
Posted on 21-01-2012 22:49
|
Protected Rider
Posts: 1020
Joined: 07-04-2010
PCM$: 300.00
|
I have the same problem as Otti, i reinstaled everything, the game, the patch, the planner and still crashes :S |
|
|
|
Lachi |
Posted on 21-01-2012 22:55
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
If there is an error in the DB, why would you install the game, the patch and my planner?
You can use an editor to fix your career. The error is in the stage with the ID 5057. Change the fkIDrace to 539. |
|
|
|
Dve8 |
Posted on 25-01-2012 11:24
|
Amateur
Posts: 2
Joined: 14-09-2011
PCM$: 200.00
|
Hi Lachi,
Thanks for all your hard work with this game & add-ons.
Recently installed the 2012 pre-beta database and getting the following error when trying to load a new save:
----An error occured----
Specified cast is not valid.
----Stacktrace----
at PCM_SeasonPlaner.DBLoader.CalculateParticipatingCyclists(Int16 intIDrace)
at PCM_SeasonPlaner.DBLoader.FillHelpColumns()
at PCM_SeasonPlaner.DBLoader.ImportDatabase(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Any ideas as tried different saves and different versions of your planner?
Cheers.
Edited by Dve8 on 25-01-2012 11:25
|
|
|
|
CrueTrue |
Posted on 25-01-2012 11:36
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
One post above your own, Dve8... |
|
|
|
Dve8 |
Posted on 26-01-2012 12:52
|
Amateur
Posts: 2
Joined: 14-09-2011
PCM$: 200.00
|
Doh!
was getting nowhere using the fast editor but sorted now using Lachi's.
Thanks for your help & patience
Cheers |
|
|
|
Ad Bot |
Posted on 21-11-2024 20:57
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
Ma_ik |
Posted on 22-02-2012 00:23
|
Amateur
Posts: 7
Joined: 13-01-2008
PCM$: 200.00
|
Hi Lachi,
first of all tthx for this great tool!!!!
I have the following problem with it:
After the db2012v1 came out I used your editor to change all the race dates according to the 2012 season. I took care not to have the 29th february involved and also put the correct gene_i_computed_date for every stage. I started my season but when opening it in your planner the following comes up:
---an error occured---
Die Parameter "Year", "Month" und "Day" beschreiben eine nicht darstellbare DateTime.
I double checked all my changes and found no mistakes. Even if I take the original db and change a couple of dates the planner works fine.
Any ideas? help would be much appreciated....
cheers |
|
|
|
lluuiiggii |
Posted on 22-02-2012 00:47
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
Did you change any race to after October 15th?
|
|
|
|
Ma_ik |
Posted on 22-02-2012 09:36
|
Amateur
Posts: 7
Joined: 13-01-2008
PCM$: 200.00
|
I didn't change it, Japan Cup already was at October 16th and I left it. Just tried to put it to 15th but its still same problem.... |
|
|
|
CrueTrue |
Posted on 22-02-2012 17:59
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Did you also change STA_program_info? If not, you should be glad it's crashing. The starting lists will be horrible for the races you've moved
There's a reason why the dates aren't changed in the PCM.daily DB, and it's simply that there's quite a lot of work involved more than just changing the dates. Unless you're doing that work, I wouldn't recommend that you change the dates. |
|
|
|
Lachi |
Posted on 22-02-2012 22:43
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
According to the error message one or more dates are wrong. Maybe you entered 30 / 2 or 31 / 4
You can sort the stage table by clicking on the column headers.
Hold CTRL while clicking to sort by more then one column. |
|
|
|
Ma_ik |
Posted on 23-02-2012 09:35
|
Amateur
Posts: 7
Joined: 13-01-2008
PCM$: 200.00
|
Alright thxs for your replies guys. STA_programm_info sure looks confusing and like days of work...
I knew somewhere in the back of my brain when I satrted this that if it was so easy the pcm daily guys would have done it!
But wow thanks a lot CT you just prevented me from doing it all over again then planning my season and finally finding out my career is crap
cheers
Edited by Ma_ik on 23-02-2012 09:36
|
|
|
|
asmod |
Posted on 26-03-2012 18:33
|
Neo-Pro
Posts: 251
Joined: 04-03-2008
PCM$: 200.00
|
Hi there,
I have a problem when exporting the plan to cdb. it always pop me the error message
An error occured
Index 0 is either negative or above rows count.
what the hell does that mean ?
is there a way to fix it ? |
|
|
|
Lachi |
Posted on 26-03-2012 19:15
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
This means that you either did not open the save of a career or that there is an error in the save.
Upload your save and I have a look. |
|
|
|
asmod |
Posted on 26-03-2012 19:30
|
Neo-Pro
Posts: 251
Joined: 04-03-2008
PCM$: 200.00
|
Lachi wrote:
This means that you either did not open the save of a career or that there is an error in the save.
Upload your save and I have a look.
there you go.
https://www.filese...vistar.cdb |
|
|
|
Lachi |
Posted on 26-03-2012 20:01
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
I can load it. Maybe you are using an outdated version of my planner.
Try the beta version of my planner: https://pcmdaily.c...d_id=19400 |
|
|
|
asmod |
Posted on 26-03-2012 20:08
|
Neo-Pro
Posts: 251
Joined: 04-03-2008
PCM$: 200.00
|
I got exactly the same thing. This happend only when trying to export to .cdb.
I can do everything for the calendar, the problem occurs when I'm trying to export to CDB. |
|
|
|
Lachi |
Posted on 26-03-2012 20:28
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
Sorry, I did not read/understand your post correctly. Now I found the problem.
Your save has error(s) in the table DYN_team_race. The values in the column fkIDteam should reference to the values in the column IDrace in the table STA_race.
If you want to use my planner, then your save cannot have invalid numbers in DYN_team_race. |
|
|
|
asmod |
Posted on 26-03-2012 20:31
|
Neo-Pro
Posts: 251
Joined: 04-03-2008
PCM$: 200.00
|
Lachi wrote:
Sorry, I did not read/understand your post correctly. Now I found the problem.
Your save has error(s) in the table DYN_team_race. The values in the column fkIDteam should reference to the values in the column IDrace in the table STA_race.
If you want to use my planner, then your save cannot have invalid numbers in DYN_team_race.
thanks, I'm gonna try to fix this. These tables were created automatically by the career. |
|
|