SOLVED - source for wepepg.exe?? (1 Viewer)

Khurram

Portal Pro
May 12, 2008
211
5
Home Country
Pakistan Pakistan
I have set up an svn repo for mediaportal but I cant find any source for wepepg.exe. There is an webepg.exe in xbmc/bin/debug folder but I cant find any source file for it? Can someone help please?
 

Khurram

Portal Pro
May 12, 2008
211
5
Home Country
Pakistan Pakistan
After a little snooping around in the source, I think I have found out the starting point: WebEPG-xmltv\WebEPG-xmltv.cs file.
 

Khurram

Portal Pro
May 12, 2008
211
5
Home Country
Pakistan Pakistan
Still not having too much success with WebEPG debugging. Now when I am stepping through the code, I get the following error:

The type initializer for 'SQLite.NET.SQLiteClient' threw an exception.

And then the execution stops. The error happens most of the time in the file HtmlProfiler.cs and in the function BuildProfile(). No matter what grabber I am using, I get this error. This is really frustrating.

James, can you please help me out here? Someone else?
 

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Khurram,

    Sorry for my lack of replys, I just got back from 3 weeks away.

    I have never seem this problem/error before. I will try to have a look for you this week.

    Cheers,

    /James
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    Welcome back. I hope you had a nice vacation. Sorry for bugging you with this and thanks for taking a look into it.
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    I updated to the latest 2 days ago (to build 21527 I think) and now the (same) error only shows up after the WebEPG run has finished. So I guess the problem as it was is not there anymore. At least I can debug through it till the end.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Ok I found the problem. The sqlite.dll (from MediaPortal.base) needs to be in the root directory where you are testing. I also noticed that the WebEPG.sln for building WebEPG by itself without MP has been removed from the SVN.
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    Thanks James. You are also right about WebEPG.exe source not being there in the SVN, but at least I can trap the call in WebEPG-xmltv\WebEPG-xmltv.cs file. It would be nice if this can be fixed in the SVN though.

    I have set the "WebEPG-xmltv" project as the startup project in the solution. So the build directory (in Debug mode) would be C:\SVN\mediaportal\WebEPG\WebEPG\bin\Debug. Do I need to copy sqlite.dll here?
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    When you build webepg-xmltv, you will get a webepg-xmltv.exe (this is renamed in the SVN builds). The directory should be ..\WebEPG\WebEPG-xmltv\bin\Debug.
     

    Users who are viewing this thread

    Similar threads

    Please check the wiki. I never take online sources but perform offline imports. You can use external tools for that and change all data including poster. Also the import speed is much faster + the local data are kept forever, even MP2 is removed. To overwrite only some movies you need to remove them once from the share, place an...
    Please check the wiki. I never take online sources but perform offline imports. You can use external tools for that and change all...
    Hi, I'm new here but have been gradually getting my head around setting everything up but one simple task is throwing me off - how...
    Replies
    1
    Views
    372
    MP1 MP2 MP2 - V2.5 Trailer plugin DE
    Maybe the wording “plugin” is misleading, because almost every feature in MP2 is basically a plugin. This allows to even exchange core elements easily. Short: Of course it can be also a feature as part of the installer, means integrated for the user.
    Maybe the wording “plugin” is misleading, because almost every feature in MP2 is basically a plugin. This allows to even exchange...
    The question, if MP2 can support trailers came up several times (e.g. here) and was so far always neglected mainly because of the...
    Replies
    14
    Views
    1K
    OK, I didn't know you had modo rights. I let you play with these posts, then. Not necessary to spend time and to generate others misunderstanding. ;)
    OK, I didn't know you had modo rights. I let you play with these posts, then. Not necessary to spend time and to generate others...
    Hi, I am working on a project that is being based on MediaPortal 1. I can install and run the application via the installer but I...
    Replies
    26
    Views
    3K
    https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e
    https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e
    Not sure if this is the correct section to post but is there any advantage in updating a Win 7 system to Win 10 I have run Win 7...
    Replies
    20
    Views
    2K
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Replies
    0
    Views
    734
    Top Bottom