Extension Installer V2 | Page 24

Discussion in 'Skins and Plugins Installer (MPEI)' started by dukus, October 5, 2009.

  1. rolenof

    rolenof Portal Member

    Joined:
    April 29, 2011
    Messages:
    18
    Likes Received:
    4
    Location:
    Russia
    Ratings:
    +5 / 0
    Home Country:
    Russian Federation Russian Federation
    There is the bug in Plugin maker. It can't publish information about plugin if update.xml located on sourceforge.net, it says that we accept only from sourceforge.com.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. emphatic
    • Team MediaPortal

    emphatic Design Group

    Joined:
    August 25, 2006
    Messages:
    3,586
    Likes Received:
    828
    Gender:
    Male
    Occupation:
    Surface treatment
    Location:
    Alingsås
    Ratings:
    +1,083 / 2
    Home Country:
    Sweden Sweden
    Show System Specs
    All of a sudden, the whole list of Installed extensions has gone blank. I think this happened after I used an Avallonis skin update patch. The plugins I have installed (that are normally shown in the Extension Manager) are:

    Amped
    Avallonis
    Black Glass Nova HD
    Extensions
    FanArt handler
    IMDB+
    Infoservice
    LatestMediaHandler
    LAVFilters
    MP TV-Series
    MusicInfoHandler
    Mustayaluca
    MyLyrics
    MyTorrents
    OnlineVideos
    PureAudio
    SubCentral
    Trakt
    YouTube.FM

    I since this happened installed MP TV-Series again, and now I have that, Trakt and SubCentral again. Is there a way to recover all the plugins "missing" or do I just have to re-install them now?

    Cheers
    Emph
     
  4. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,604
    Likes Received:
    449
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +676 / 2
    Home Country:
    England England
    Show System Specs
    I had this too - happened when I updates some plugins (can't remember which)
    I had to reinstall them all...
     
    • Like Like x 1
  5. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I found out that the ProgramData\Team MediaPortal\MediaPortal\Installer\V2\ folder is pretty big, it has backups and installers for all versions of all extensions.

    Why does it keep so much files and why does it make backups of unzipped files (when installed)? What can I remove?
     
  6. seco
    • Team MediaPortal

    seco Development Group

    Joined:
    August 7, 2007
    Messages:
    1,579
    Likes Received:
    897
    Gender:
    Male
    Ratings:
    +1,234 / 4
    Home Country:
    Finland Finland
    Show System Specs
    I think there is a major flaw in the current version of the Extension Installer:

    When installing extension A which installs extension B which installs extension C the installer crashes. This was noticed when MP-TVSeries installer was created, which installs SubCentral, which installs SubtitleDownloader - all MPE packages.

    The error is

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Value of '2' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
    Parameter name: Value
    at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
    at MpeCore.Classes.SectionPanel.InstallSection.packageClass_FileInstalled(Object sender, InstallEventArgs e)
    at MpeCore.Classes.Events.FileInstalledEventHandler.Invoke(Object sender, InstallEventArgs e)
    at MpeCore.Classes.ActionType.ExtensionInstaller.Execute(PackageClass packageClass, ActionItem actionItem)
    at MpeCore.Classes.SectionPanel.InstallSection.InstallSection_Shown(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnShown(EventArgs e)
    at System.Windows.Forms.Form.CallShownEvent()
    at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
    at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
    at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
     
  7. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,604
    Likes Received:
    449
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +676 / 2
    Home Country:
    England England
    Show System Specs
    Would be nice to categorise the plugins as well - categories as per the repository...
     
  8. seco
    • Team MediaPortal

    seco Development Group

    Joined:
    August 7, 2007
    Messages:
    1,579
    Likes Received:
    897
    Gender:
    Male
    Ratings:
    +1,234 / 4
    Home Country:
    Finland Finland
    Show System Specs
    Let's fix these bugs first before any new features please... :p

    I've been looking at the code whole evening and the issue I reported is quite problematic. Of course there are hacks to make it work but the main issue seems to be that object states are mixed up when incrementing progress bar.

    In this case, the ExtensionInstaller class is executed for SubCentral and the progress bar is incremented, and when ExtensionInstaller is executed again for SubtitleDownloader, it is incrementing the same progress bar which was already incremented by SubCentral installation...
     
    Last edited: July 12, 2012
  9. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    @seco - do you still have the MPE file of TvSeries that holds SubCentral with SubtitleDownloader MPE? I'd like to debug and fix this before MP 1.3 beta and want to save the time to create that scenario.
     
    • Like Like x 1
  10. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    Send the file by PM ;)
     
    • Like Like x 2
  11. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,901
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Is any chance to add plugin to list of installed plugins manually?
    I suppose it's like MpeInstaller.InstalledExtensions.Add(smth);
    But how I can move info from update xml to this?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!