PCM.daily banner
21-11-2024 20:57
PCM.daily
Users Online
· Guests Online: 78

· Members Online: 0

· Total Members: 161,772
· Newest Member: KennethSal
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Season Planner v2.0 for PCM 2011
Otti
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 Smile!
 
Lachi
There really is no need to post the same question twice, just wait for an answer.
 
kimiopn
I have the same problem as Otti, i reinstaled everything, the game, the patch, the planner and still crashes :S
 
Lachi
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
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
One post above your own, Dve8...
 
http://www.pcmdaily.com
Dve8
Doh! Embarassed

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
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
Did you change any race to after October 15th?
 
Ma_ik
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
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 Wink

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.
 
http://www.pcmdaily.com
Lachi
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
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
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
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
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
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
Lachi wrote:
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


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
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
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.
 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Beautiful mountains in the backround
Beautiful mountains in the backround
PCM 07: Beautiful Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,345 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,800 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.29 seconds