Error in PCM planner
|
|
Ad Bot |
Posted on 27-11-2024 20:23
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
MacC |
Posted on 08-04-2011 08:41
|
Sprinter
Posts: 1594
Joined: 15-07-2008
PCM$: 700.00
|
----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 |
Posted on 08-04-2011 13:48
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
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 |
Posted on 08-04-2011 14:03
|
Sprinter
Posts: 1594
Joined: 15-07-2008
PCM$: 700.00
|
any other ideas? |
|
|
|
miggi133 |
Posted on 09-04-2011 19:40
|
Classics Specialist
Posts: 3141
Joined: 19-08-2009
PCM$: 200.00
|
I have the same problem and your suggestion doesnt solve the problem, Lachi...
|
|
|
|
Lachi |
Posted on 09-04-2011 23:00
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
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 |
Posted on 09-04-2011 23:50
|
Classics Specialist
Posts: 3141
Joined: 19-08-2009
PCM$: 200.00
|
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 |
Posted on 10-04-2011 00:59
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
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 |
Posted on 10-04-2011 12:32
|
Classics Specialist
Posts: 3141
Joined: 19-08-2009
PCM$: 200.00
|
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 |
Posted on 10-04-2011 16:06
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
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 |
Posted on 10-04-2011 18:43
|
Classics Specialist
Posts: 3141
Joined: 19-08-2009
PCM$: 200.00
|
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 |
Posted on 11-04-2011 09:01
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
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 |
Posted on 11-04-2011 10:49
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
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. |
|
|