PCM.daily banner
25-11-2024 01:11
PCM.daily
Users Online
· Guests Online: 79

· Members Online: 0

· Total Members: 161,804
· Newest Member: Josephmog
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Season Planner v2.0 for PCM 2011
Steels
Thax a lot for all the effort to make a good season planner for those who couldn't use yours earlier!

Now I finally can start playing a career!
 
tsmoha
Hey,

I know this error must have been reported earlier, but I'll try to ask anyway:

"An error occured:
Fehler beim Konvertieren Ressource in ein Object" (It's in German)

In English: Something like "Can't convert ressource into object" (Sorry for bad translation, but I guess you know, what I mean)

The "funny" thing is: your planner worked for me since more than a year now! So I guess I've been installed everything recommended correctly?! (Like Pain.NET and Framework.NET SP1).. I've tried all of your new versions and they all don't work anymore. So I guess, there's something wrong with the Microsoft-files on my laptop?! Tried to install this Framework-thing, but for some reason I can't find it under "installed programs" in Windows.

EDIT: Framework 3.5 is activated and so this shouldn't be the problem.. I don't get it.

EDIT 2:

Here's the log-file of the error -

----An error occured----
Fehler beim Konvertieren der Ressource in ein Objekt.

----Stacktrace----
bei System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)
bei System.Windows.Navigation.NavigationService.DoNavigate(Uri source, NavigationMode f, Object navState)
bei System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Edited by tsmoha on 21-08-2011 18:37
 
Lachi
When does this error come? Are you sure that it is not because of a bad save?
 
tsmoha
Lachi wrote:
When does this error come? Are you sure that it is not because of a bad save?


When I open the SeasonPlanner.. the window opens, but shortly after that this error comes.

I don't think it's because of a bad save. The only career/save I'm currentl running works fine and I can't even open a save/plan.
 
Lachi
OK, try this:
- Open the file called Options.xml using the text editor
- Search this line <SuppressReadMe>0</SuppressReadMe>
- Change it to <SuppressReadMe>1</SuppressReadMe>
- Save it and start my planner again
 
tsmoha
Yes! It works Smile Thank you very much for the help, Lachi! You made my day Wink
 
Ad Bot
Posted on 25-11-2024 01:11
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
AlexanderWolf
rob4590 wrote:
Lachi - I'm getting the following error when I go onto the season planner page. I try and click to add a rider to a race and get:

An error occurred:
Item has already been added. Key in dictionary:
'Infragistics.Windows.Automation.Peers.DataPresenter.CellAutomationPeer'
Key being added:
'Infragistics.Windows.Automation.Peers.DataPresenter.CellAutomationPeer'

Then a box pops up asking if I want to save before closing the plan


Any ideas?


Now I have the same issue as rob4590, but I think he never got an answer because he didn't attach his savegame to the thread. I hope you can help me out.
AlexanderWolf attached the following file:
pcm_alexanderwolf.rar [1.52MB / 363 Downloads]
 
AlexanderWolf
rob4590 wrote:
Lachi - I'm getting the following error when I go onto the season planner page. I try and click to add a rider to a race and get:

An error occurred:
Item has already been added. Key in dictionary:
'Infragistics.Windows.Automation.Peers.DataPresenter.CellAutomationPeer'
Key being added:
'Infragistics.Windows.Automation.Peers.DataPresenter.CellAutomationPeer'

Then a box pops up asking if I want to save before closing the plan


Any ideas?


Now I have the same issue as rob4590, but I think he never got an answer because he didn't attach his savegame to the thread. I hope you can help me out.
AlexanderWolf attached the following file:
pcm_alexanderwolf_1.rar [1.52MB / 317 Downloads]
 
Lachi
It is not related to your save. You need to download the latest version, which can be found in here: https://pcmdaily.c...d_id=19400

The reason for your problem is a bug in the datagrid from Infragistics which only occurs if you install a certain patch from Microsoft.
 
HalliGalli
Hi Lachi,
First, thanks for your fantastic tool.
I am getting an error, while the planner is preparing data after starting a new plan:

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)


I guess, it is a problem with my database. I use an edited version of the Real Name db from PCM France. I checked my save, but unfortunately I didn't find the mistake. The season planner works well when I use another db.

It would be great if you could give me a tip.
 
Lachi
Download the latest version of my editor and open your save with it, it should give the same error, if not then attach your database and I will have a look.

BTW: Why don't you contact my in the german forum?
Edited by Lachi on 13-09-2011 23:17
 
HalliGalli
Thanks for your quick response.

There was no error using the editor. I opened the save, edited something, and exported it to a new db - no problem.

And good question. Well, I don't have a good answer. Maybe, it's because I mostly look in the English forumWink
 
HalliGalli
Something wrong with the attachment function? Or I am to stupid. The attachement is missing in my last post. Size is under 5Mb, type is also okay. Any help?
 
Lachi
Try to zip it, and attach the zip, else you can just upload it somewhere and post the link here.
 
HalliGalli
Didn't work, so here is the link:
https://www.megaup...d=O9TI144K
Thanks a lot!
 
Lachi
The race Boucles de l'Aulne has no stages. I don't know what the game would do with this race but my planner does not like stuff like that.
 
HalliGalli
Thanks a lot for your very quick help! I corrected the db and now it works

Just a silly mistake of mine. There are the race Les Boucles du Sud Ardeche and the race Boucles de l'Aulne in the db... Embarassed
 
baseballlover312
Okay I know I'm a complete dumbass, but how does this work? I mean, I opened it in 7Zip, now what do I do? Once again I am a dumbass and I know it already, so you don't have to tell me.
 
Lachi
First you have to extract the archive to a folder.

The planner is called PCM_SeasonPlanner.exe, double click it to run it.

There are instructions which should answer some of your questions: ReadMe.txt or ReadMe.html
 
baseballlover312
thanks.
 
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
Ghost Riders...
Ghost Riders...
PCM13: Funny 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