MyTorrents 0.70 Stable [Updated 13-10-2012] (3 Viewers)

tommyc2k7

Portal Member
March 28, 2011
45
18
Home Country
England England
First time posting here,
I installed Mediaportal for the first time yesterday and I'm having problems getting mp-mytorrents to work.
I've set up webui in utorrent as instructed and can see the requests made in utorrent log, with correct data showing when I view the request in the browser.
However mp-mytorrents is saying "No Torrents" no matter which view I'm in (Active/All torrents).

So I've tried updating it with your attachments from post #619 and now all I get is "Missing or invalid file: " with no reference to any file.

No exceptions showing in Mediaportal.log, however I get the following in MyTorrents.log

Code:
[22:24 10/09/2012] Configuration loaded
[22:24 10/09/2012] backend is uTorrent
[22:24 10/09/2012] instance connected
[22:24 10/09/2012] connection established
[22:24 10/09/2012] Loaded Icon Mappings
[22:25 10/09/2012] Torrent List clearing failed
[22:25 10/09/2012]
Message ---
Object reference not set to an instance of an object.
[22:25 10/09/2012]
HelpLink ---
 
[22:25 10/09/2012]
Source ---
MyTorrents
[22:25 10/09/2012]
StackTrace ---
  at Sohvaperuna.MyTorrents.MyTorrents.UpdateTorrentList(Boolean timed)
[22:25 10/09/2012]
TargetSite ---
Void UpdateTorrentList(Boolean)
[22:25 10/09/2012]
Message ---
Object reference not set to an instance of an object.
[22:25 10/09/2012]
HelpLink ---
 
[22:25 10/09/2012]
Source ---
MyTorrents
[22:25 10/09/2012]
StackTrace ---
  at Sohvaperuna.MyTorrents.MyTorrents.UpdateTorrentList(Boolean timed)
[22:25 10/09/2012]
TargetSite ---
Void UpdateTorrentList(Boolean)

I hope this helps.
This week I'll be installing Visual Studio so I can have a go at debugging it myself.

Tommy
 

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    So I've tried updating it with your attachments from post #619 and now all I get is "Missing or invalid file: " with no reference to any file.

    No exceptions showing in Mediaportal.log, however I get the following in MyTorrents.log

    I hope this helps.
    This week I'll be installing Visual Studio so I can have a go at debugging it myself.

    Tommy
    Yeah, sorry :( Invalid file is Mytorrents.cs since it has some NotificationBar code.
    To get it working you need to install NotificationBar and switch to DefaultWide skin or put NotificationBar.xml from DefaultWide skin folder to yours.
    Hope this helps. But I got this error with NotificationBar installed so maybe origin of your problem is other.
    VS wouldn't help you for now since I didn't commited all changes to svn. I'll try to make commits asap.
    Thanks.
     

    tommyc2k7

    Portal Member
    March 28, 2011
    45
    18
    Home Country
    England England
    So I've tried updating it with your attachments from post #619 and now all I get is "Missing or invalid file: " with no reference to any file.

    No exceptions showing in Mediaportal.log, however I get the following in MyTorrents.log

    I hope this helps.
    This week I'll be installing Visual Studio so I can have a go at debugging it myself.

    Tommy
    Yeah, sorry :( Invalid file is Mytorrents.cs since it has some NotificationBar code.
    To get it working you need to install NotificationBar and switch to DefaultWide skin or put NotificationBar.xml from DefaultWide skin folder to yours.
    Hope this helps. But I got this error with NotificationBar installed so maybe origin of your problem is other.
    VS wouldn't help you for now since I didn't commited all changes to svn. I'll try to make commits asap.
    Thanks.

    Thanks for the reply, unfortunately copying the xml+folder to the StreamedMP skin didn't help, and switching to DefaultWide gives the same error :(
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Strange :( I'll try to compile dll without NotificationBar code to test.
    BTW, check if MyTorrents.xml is in C:/ProgramData/Team Mediaportal/Mediaportal/ for win7
    and skin files like MP-MyTorrents_XXXX.xml are present in your skin folder.
    Thanks
     
    Last edited:

    tommyc2k7

    Portal Member
    March 28, 2011
    45
    18
    Home Country
    England England
    I'm using Windows XP SP3, I think the equivalent of those would be C:\Documents and Settings\All Users.WINDOWS\Application Data\Team MediaPortal\MediaPortal\ and yes all files are present
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    OK, using XP too, next step is validating all these files. Jsut open them is any web browser like IE, chrome. If you can't do it then xml files are invalid/ Possibly MyTorrents.xml in :\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\
    because if skin files are invalid you can see reference to it in gui
     

    tommyc2k7

    Portal Member
    March 28, 2011
    45
    18
    Home Country
    England England
    All the xml files open fine in chrome, I noticed the xml files weren't there in the DefaultWide folder but copying them there didn't help either.
    I'm getting a different error in my MyTorrents.log now however:
    Code:
    [08:26 12/09/2012] Configuration loaded
    [08:26 12/09/2012] backend is uTorrent
    [08:26 12/09/2012] instance connected
    [08:26 12/09/2012] connection established
    [08:26 12/09/2012] Loaded Icon Mappings
    [08:26 12/09/2012] timer elapsed
    [08:26 12/09/2012]
    Message ---
    Sequence contains no elements
    [08:26 12/09/2012]
    HelpLink ---
     
    [08:26 12/09/2012]
    Source ---
    System.Core
    [08:26 12/09/2012]
    StackTrace ---
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
      at Sohvaperuna.MyTorrents.MyTorrents.ChangeText()
      at Sohvaperuna.MyTorrents.MyTorrents.DisplayTorrents(List`1 TorrentsAll, List`1 TorrentsActive)
      at Sohvaperuna.MyTorrents.MyTorrents._TorrentsUpdated()
      at Sohvaperuna.MyTorrents.TorrentEngine._updateTimer_Elapsed(Object sender, ElapsedEventArgs e)
    [08:26 12/09/2012]
    TargetSite ---
    TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
    [08:27 12/09/2012] timer elapsed
    [08:27 12/09/2012]
    Message ---
    Sequence contains no elements
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    System.Core
    [08:27 12/09/2012]
    StackTrace ---
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
      at Sohvaperuna.MyTorrents.MyTorrents.ChangeText()
      at Sohvaperuna.MyTorrents.MyTorrents.DisplayTorrents(List`1 TorrentsAll, List`1 TorrentsActive)
      at Sohvaperuna.MyTorrents.MyTorrents._TorrentsUpdated()
      at Sohvaperuna.MyTorrents.TorrentEngine._updateTimer_Elapsed(Object sender, ElapsedEventArgs e)
    [08:27 12/09/2012]
    TargetSite ---
    TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
    [08:27 12/09/2012] Torrent List clearing failed
    [08:27 12/09/2012]
    Message ---
    Object reference not set to an instance of an object.
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    MyTorrents
    [08:27 12/09/2012]
    StackTrace ---
      at Sohvaperuna.MyTorrents.MyTorrents.UpdateTorrentList(Boolean timed)
    [08:27 12/09/2012]
    TargetSite ---
    Void UpdateTorrentList(Boolean)
    [08:27 12/09/2012]
    Message ---
    Object reference not set to an instance of an object.
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    MyTorrents
    [08:27 12/09/2012]
    StackTrace ---
      at Sohvaperuna.MyTorrents.MyTorrents.UpdateTorrentList(Boolean timed)
    [08:27 12/09/2012]
    TargetSite ---
    Void UpdateTorrentList(Boolean)
    [08:27 12/09/2012] timer elapsed
    [08:27 12/09/2012]
    Message ---
    Sequence contains no elements
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    System.Core
    [08:27 12/09/2012]
    StackTrace ---
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
      at Sohvaperuna.MyTorrents.MyTorrents.ChangeText()
      at Sohvaperuna.MyTorrents.MyTorrents.DisplayTorrents(List`1 TorrentsAll, List`1 TorrentsActive)
      at Sohvaperuna.MyTorrents.MyTorrents._TorrentsUpdated()
      at Sohvaperuna.MyTorrents.TorrentEngine._updateTimer_Elapsed(Object sender, ElapsedEventArgs e)
    [08:27 12/09/2012]
    TargetSite ---
    TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
    [08:27 12/09/2012] timer elapsed
    [08:27 12/09/2012]
    Message ---
    Sequence contains no elements
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    System.Core
    [08:27 12/09/2012]
    StackTrace ---
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
      at Sohvaperuna.MyTorrents.MyTorrents.ChangeText()
      at Sohvaperuna.MyTorrents.MyTorrents.DisplayTorrents(List`1 TorrentsAll, List`1 TorrentsActive)
      at Sohvaperuna.MyTorrents.MyTorrents._TorrentsUpdated()
      at Sohvaperuna.MyTorrents.TorrentEngine._updateTimer_Elapsed(Object sender, ElapsedEventArgs e)
    [08:27 12/09/2012]
    TargetSite ---
    TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
    [08:27 12/09/2012] timer elapsed
    [08:27 12/09/2012]
    Message ---
    Sequence contains no elements
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    System.Core
    [08:27 12/09/2012]
    StackTrace ---
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
      at Sohvaperuna.MyTorrents.MyTorrents.ChangeText()
      at Sohvaperuna.MyTorrents.MyTorrents.DisplayTorrents(List`1 TorrentsAll, List`1 TorrentsActive)
      at Sohvaperuna.MyTorrents.MyTorrents._TorrentsUpdated()
      at Sohvaperuna.MyTorrents.TorrentEngine._updateTimer_Elapsed(Object sender, ElapsedEventArgs e)
    [08:27 12/09/2012]
    TargetSite ---
    TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
    [08:27 12/09/2012] timer elapsed
    [08:27 12/09/2012]
    Message ---
    Sequence contains no elements
    [08:27 12/09/2012]
    HelpLink ---
     
    [08:27 12/09/2012]
    Source ---
    System.Core
    [08:27 12/09/2012]
    StackTrace ---
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
      at Sohvaperuna.MyTorrents.MyTorrents.ChangeText()
      at Sohvaperuna.MyTorrents.MyTorrents.DisplayTorrents(List`1 TorrentsAll, List`1 TorrentsActive)
      at Sohvaperuna.MyTorrents.MyTorrents._TorrentsUpdated()
      at Sohvaperuna.MyTorrents.TorrentEngine._updateTimer_Elapsed(Object sender, ElapsedEventArgs e)
    [08:27 12/09/2012]
    TargetSite ---
    TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])

    What would be the reason for nothing showing in Mediaportal.log, or is that standard for this kind of error?

    Edit: Scratch that, there is an error in MP.log when I first load it up:
    Code:
    2012-09-12 08:31:03.828125 [Info.][MPMain(1)]: [MPEI] Using language en
    2012-09-12 08:31:04.203125 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\MPNotificationBar.dll
    2012-09-12 08:31:04.218750 [Info.][MPMain(1)]:  File Version : 0.8.3.0
    2012-09-12 08:31:04.218750 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\MP-TVSeries.dll
    2012-09-12 08:31:04.234375 [Info.][MPMain(1)]:  File Version : 3.3.0.1943
    2012-09-12 08:31:04.406250 [Info.][FilterChecker(5)]: FilterChecker: Found quartz.dll from 09/06/2010 located at C:\WINDOWS\system32\quartz.dll
    2012-09-12 08:31:04.406250 [Info.][FilterChecker(5)]: FilterChecker: Version of installed quartz.dll: 6.5.2600.5908
    2012-09-12 08:31:05.078125 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\mvCentral.dll
    2012-09-12 08:31:05.078125 [Info.][MPMain(1)]:  File Version : 1.0.3.415
    2012-09-12 08:31:05.781250 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\MyEmulators2.dll
    2012-09-12 08:31:05.781250 [Info.][MPMain(1)]:  File Version : 0.2.1.0
    2012-09-12 08:31:05.906250 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\MyLyrics.dll
    2012-09-12 08:31:05.906250 [Info.][MPMain(1)]:  File Version : 1.6.1.0
    2012-09-12 08:31:05.937500 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\MyTorrents.dll
    2012-09-12 08:31:05.937500 [Info.][MPMain(1)]:  File Version : 0.7.0.0
    2012-09-12 08:31:06.125000 [Info.][MPMain(1)]: Error initializing window:Sohvaperuna.MyTorrents.MyTorrents Object reference not set to an instance of an object. MyTorrents    at Sohvaperuna.MyTorrents.MyTorrents.LoadRssChannels(ConfigData _config)
      at Sohvaperuna.MyTorrents.MyTorrents.Init()
      at MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    2012-09-12 08:31:06.125000 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\News Menu.dll
    2012-09-12 08:31:06.125000 [Info.][MPMain(1)]:  File Version : 1.0.0.0
    2012-09-12 08:31:06.140625 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\OnlineVideos.MediaPortal1.dll
    2012-09-12 08:31:06.140625 [Info.][MPMain(1)]:  File Version : 1.3.0.2261
    2012-09-12 08:31:06.234375 [Info.][MPMain(1)]: xml:C:\Documents and Settings\All Users.WINDOWS\Application Data\Team MediaPortal\MediaPortal\Skin\StreamedMP\myonlinevideosOSD.xml image id:350 width:0 height:0 gfx:-
    2012-09-12 08:31:06.234375 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\Rockstar.dll
    2012-09-12 08:31:06.250000 [Info.][MPMain(1)]:  File Version : 2.1.7.0
    2012-09-12 08:31:07.546875 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\RSSReader.dll
    2012-09-12 08:31:07.546875 [Info.][MPMain(1)]:  File Version : 0.7.0.0
    2012-09-12 08:31:07.546875 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\ScoreCenter.dll
    2012-09-12 08:31:07.562500 [Info.][MPMain(1)]:  File Version : 2.7.0.0
    2012-09-12 08:31:07.578125 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\ScoreCenter.XmlSerializers.dll
    2012-09-12 08:31:07.578125 [Info.][MPMain(1)]:  File Version : 2.7.0.0
    2012-09-12 08:31:07.578125 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\ShowTimesGUI.dll
    2012-09-12 08:31:07.593750 [Info.][MPMain(1)]:  File Version : 3.3.0.0
    2012-09-12 08:31:07.593750 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\Skybound.Gecko.dll
    2012-09-12 08:31:07.609375 [Info.][MPMain(1)]:  File Version : 1.9.1.1
    2012-09-12 08:31:07.609375 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\StreamedMPConfig.dll
    2012-09-12 08:31:07.625000 [Info.][MPMain(1)]:  File Version : 1.7.7.3113
    2012-09-12 08:31:07.921875 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\System Menu.dll
    2012-09-12 08:31:07.921875 [Info.][MPMain(1)]:  File Version : 1.0.0.0
    2012-09-12 08:31:07.921875 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\TorrentSearch.dll
    2012-09-12 08:31:07.937500 [Info.][MPMain(1)]:  File Version : 0.7.0.0
    2012-09-12 08:31:07.937500 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\TraktPlugin.dll
    2012-09-12 08:31:07.937500 [Info.][MPMain(1)]:  File Version : 1.6.0.0
    2012-09-12 08:31:08.109375 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\TV Management.dll
    2012-09-12 08:31:08.109375 [Info.][MPMain(1)]:  File Version : 1.0.0.0
    2012-09-12 08:31:08.156250 [Info.][MPMain(1)]:  Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\TvPlugin.dll
    2012-09-12 08:31:08.156250 [Info.][MPMain(1)]:  File Version : 1.2.3.0


    Something to do with RSS not being initialized?
    I've never used RSS in MyTorrents, is there something I need to do to set it up?
     
    Last edited:

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    MyTorrents.ChangeText() error is NotificationBar related.
    It happened for me when:
    1) NotificationBar installed
    2) Skin is not DefaultWide
    Please test new dll without NotificationBar code.
     

    Attachments

    • MyTorrents.zip
      29.2 KB

    tommyc2k7

    Portal Member
    March 28, 2011
    45
    18
    Home Country
    England England
    Thanks Edalex,
    Testing this now, unfortuntately same problem of Missing or invalid file. (with both DefaultWide and StreamedMP)
    Different error in Mediaportal.log this time:
    Code:
    2012-09-12 17:33:59.296875 [Info.][MPMain(1)]: Error initializing window:Sohvaperuna.MyTorrents.MyTorrents Object reference not set to an instance of an object. MyTorrents    at Sohvaperuna.MyTorrents.MyTorrents.LoadRssChannels(ConfigData _config)
      at Sohvaperuna.MyTorrents.MyTorrents.Init()
      at MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)

    MyTorrents.log:
    Code:
    [17:33 12/09/2012] Configuration loaded
    [17:33 12/09/2012] backend is uTorrent
    [17:33 12/09/2012] instance connected
    [17:33 12/09/2012] connection established
    [17:33 12/09/2012] Loaded Icon Mappings
    [17:34 12/09/2012] Torrent List clearing failed
    [17:34 12/09/2012]
    Message ---
    Object reference not set to an instance of an object.
    [17:34 12/09/2012]
    HelpLink ---
     
    [17:34 12/09/2012]
    Source ---
    MyTorrents
    [17:34 12/09/2012]
    StackTrace ---
      at Sohvaperuna.MyTorrents.MyTorrents.UpdateTorrentList(Boolean timed)
    [17:34 12/09/2012]
    TargetSite ---
    Void UpdateTorrentList(Boolean)
    [17:34 12/09/2012]
    Message ---
    Object reference not set to an instance of an object.
    [17:34 12/09/2012]
    HelpLink ---
     
    [17:34 12/09/2012]
    Source ---
    MyTorrents
    [17:34 12/09/2012]
    StackTrace ---
      at Sohvaperuna.MyTorrents.MyTorrents.UpdateTorrentList(Boolean timed)
    [17:34 12/09/2012]
    TargetSite ---
    Void UpdateTorrentList(Boolean)
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    No idea for now.
    If you want I could connect to your pc with teamviever and look myself :cautious: Just pm me.
     

    Users who are viewing this thread

    Top Bottom