Extensions: A GUI Plugin for MediaPortal's MPEI Installer (1 Viewer)

seco

Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Got the following error on my HTPC today, it actually crashed whole MP

    Code:
    2012-09-07 20:23:14.377620 [ERROR][(15)]: MediaPortal: Unhandled exception occured
    2012-09-07 20:23:14.625635 [ERROR][(15)]: Exception  :System.InvalidOperationException: Collection was modified after the enumerator was instantiated.
      at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
      at System.Collections.Generic.Queue`1.Enumerator.MoveNext()
      at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
      at MPEIPlugin.DownloadManager.client_DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)
      at System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e)
      at System.Net.WebClient.DownloadFileOperationCompleted(Object arg)
      at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    2012-09-07 20:23:14.625635 [ERROR][(15)]: Exception  :Collection was modified after the enumerator was instantiated.
    2012-09-07 20:23:14.626635 [ERROR][(15)]:  site      :Void ThrowInvalidOperationException(System.ExceptionResource)
    2012-09-07 20:23:14.626635 [ERROR][(15)]:  source    :System
    2012-09-07 20:23:14.626635 [ERROR][(15)]:  stacktrace:  at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
      at System.Collections.Generic.Queue`1.Enumerator.MoveNext()
      at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
      at MPEIPlugin.DownloadManager.client_DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)
      at System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e)
      at System.Net.WebClient.DownloadFileOperationCompleted(Object arg)
      at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    2012-09-07 20:23:14.962654 [ERROR][(81)]: [MPEI] Failed to process http://mptvseries.googlecode.com/svn/trunk/MPEI/update.xml: The process cannot access the file 'G:\temp\tmp5E58.tmp' because it is being used by another process.
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Did anyone take a look at the error I posted above? This has happened few times again, crashing MP...
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Something weird going on here, see screenshots (using 1.3 Beta build & latest Extensions plugin)

    1. Start MediaPortal
    2. In Extensions plugin, select view "Online Extensions" -> All -> Any plugin (Intelligent Frame Correction as an example)
    3. Result is mpei_first.png
    4. Select view "New Extensions"
    5. Select view view "Online Extensions" -> All -> Any plugin (Intelligent Frame Correction as an example)
    6. Result is mpei.png which is not same as in step 2 and there are System.Format exceptions on screen.
     

    Attachments

    • mpei.png
      mpei.png
      663.9 KB
    • mpei_first.png
      mpei_first.png
      641.5 KB
    Last edited:

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    More strange stuff:

    If you go to any installed plugin details, there is options like "Uninstall" and then "Disable".

    But what the hell, changing "Disable" -> "Enable" actually DISABLES THE EXTENSION PLUGIN no matter what extension details you are viewing. How confusing is that??

    EDIT: @offbyone any idea about this? It seems I can see this on quite new 1.3.0 Beta build but there is no "Enable" or "Disable" buttons visible on my HTPC using MP 1.2.3. The Extensions plugin version I'm testing is same...
     

    Attachments

    • extensions_disable.png
      extensions_disable.png
      312.1 KB
    Last edited:

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Cant reproduce you issue but i have my own.
    After MP update I had only 3 views: Installed, New, MP Website Repository. So couldnt get any plugin with these options since MP Website item never worked for me.
    Needed item "Online Extensions" showed only after clicking on "Download Updates" button. Could be confusing for new users.
    Also pretty annoying to dismiss "Restart MP" notification on every screen change. Should be only on plugin exit.
    P.s. also you cant go to upper button by clicking up. It leads me to main listcontrol
     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    New Release available (v1.0.9):
    • Added support for MediaPortal 1.3 Default skins
    • Improvements to the Download Manager, should resolve some crashes reported. Thanks seco.
    Sorry emphatic, I only just noticed your translation file but it will be included in next release.

    Download
     

    bribbon

    MP Donator
  • Premium Supporter
  • September 11, 2008
    470
    100
    Home Country
    Switzerland Switzerland
    Dear Community
    @vuego and me providing two tv logos extensions. My one is now >70 MByte big and include 4 different Designs. would it be possible to download from inside the installer a zip-file? for example:
    1. download .mpei
    2. start installer and choose the design
    3. after that, it downloads only the choosed design for example as a zip-file.
    4. then installing all logos
    that would give some smarter download packages for all the users (17 MByte). is there a possibility to give us a hint?

    thx in advance
    bribbon
     
    Last edited:

    Users who are viewing this thread

    Top Bottom