PCM.daily banner
27-11-2024 20:23
PCM.daily
Users Online
· Guests Online: 42

· Members Online: 1
jandal7

· Total Members: 161,837
· Newest Member: stevendevis
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2010
 Print Thread
Error in PCM planner
Ad Bot
Posted on 27-11-2024 20:23
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
MacC
----An error occured----
Cannot create instance of 'SeasonPlaner_H' defined in assembly 'PCM_SeasonPlaner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Pages/SeasonPlaner_H.xaml' Line 1 Position 7.

----Inner error----
Exception has been thrown by the target of an invocation.

----Inner error----
Could not find file 'C:\Users\Owner\Desktop\dec\PCM_Planner\UCI_Buttons\Unknown_C.png'.

----Stacktrace----
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.Imaging.BitmapFrame.Create(Uri bitmapUri, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.Imaging.BitmapFrame.Create(Uri bitmapUri)
at PCM_SeasonPlaner.Pages.SeasonPlaner_H..ctor()





This happens whenever I try to access the sesaon planner part..


any suggestions?
 
Lachi
My suggestion would be to go the the season planner thread and download the fix for your problem.

https://www.pcmdai...owstart=51
Edited by Lachi on 08-04-2011 13:50
 
MacC
any other ideas? Smile
 
miggi133
I have the same problem and your suggestion doesnt solve the problem, Lachi...
 
Lachi
There is only one way to solve it and I told you where you get the files. Now put the file into the correct folders and it will work. The images obviously belong to the folder UCI_Buttons, the season planner in the main folder. Do not forget to unzip them.
 
miggi133
Lachi wrote:
There is only one way to solve it and I told you where you get the files. Now put the file into the correct folders and it will work. The images obviously belong to the folder UCI_Buttons, the season planner in the main folder. Do not forget to unzip them.


No,
That is not the solution. I was missing an UCI button for TopConti_1_3 which wasnt included in your images pack for the uci buttons...
 
Lachi
MacC is missing the image "Unknown_C.png". Why do you tell me that you have the SAME problem if you are missing an OTHER image?

How should I be able to help you if you don't tell me what your problem is? Upload your DB and I have a look.
 
miggi133
Lachi wrote:
MacC is missing the image "Unknown_C.png". Why do you tell me that you have the SAME problem if you are missing an OTHER image?

How should I be able to help you if you don't tell me what your problem is? Upload your DB and I have a look.


Cause it first said that the unknown_C.png was missing. I downloaded the UCI_Buttons pack and a new error came up...

I was able to fix it by copying another image and rename it. (The missing file was TopConti_1_3.png) it works fine now but it would be nice if you could upload that image cause now i only have the unknown picture renamed...
Edited by miggi133 on 10-04-2011 12:34
 
Lachi
You are playing with a DB which has a strange stage definition. I don't have such an image because I am not able to create pictures for unknown stages somebody might come up with.
If you would upload the DB or the save then I could have a look.
 
miggi133
Lachi wrote:
You are playing with a DB which has a strange stage definition. I don't have such an image because I am not able to create pictures for unknown stages somebody might come up with.
If you would upload the DB or the save then I could have a look.


Well its the pcmdaily db V2 with 4 added teams other than that its the original db...
 
Lachi
Look, the last digit in the picture name stands for the stage type, TopConti_1_1.png would mean flat stage, TopConti_1_2.png means hilly and TopConti_1_4.png is mountains. I have no clue what the 3 stand for.

Are you playing with variants and did you reach the next year in the career? If yes, then it is an error in the variants.

Anyway, I cannot create pictures for all errors other people make. Your fix is as good as any picture I would make.
 
CrueTrue
3 is "mid-mountains" - hasn't been used in PCM since ... well, forever.

I just checked, and per default, the PCM.daily DB does not come with "3" set as the terrain type for any stages.

It's not possible for variants to use that terrain type either.
 
http://www.pcmdaily.com
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
descent
descent
PCM10: General Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,476 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,445 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,900 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.35 seconds