Results 1 to 8 of 8

Thread: SearchLite - Genre addon crashes

  1. #1
    Join Date
    Mar 2006
    Location
    Stockholm, Sweden
    Posts
    230

    SearchLite - Genre addon crashes

    I just the latest SearchLite with the addon for Genres but it crashes on me, I get an error message saying it cannot find the genres.list (but I have copied it into the correct folder) and after that the application crashes and reports it cannot open the nvr database.

    I am running latest version of nPVR (including all the patches in the latest patch-package). Have not found a way to capture the output from Microsoft error reporting, I found it creates a DMP-file in a temp directory but that file is locked and will disappear after it is sent to Microsoft or if you choose not to send it. Do you need more information Martin?

    Here is a copy from commandline (what I did), the genres.list is placed in the directory from here I executed the commad:
    Code:
    C:\Program\NPVR\Plugins\SearchLite>..\..\GenreLite -i
    Warning genres.list file not found
    
    C:\Documents and Settings\All Users\Application Data\NPVR\
    Data Source="C:\Documents and Settings\All Users\Application Data\NPVR\npvr.db3"
    ;Version=3;New=True;
    
    Ohanterat undantag: System.Data.SQLite.SQLiteException: Unable to open the datab
    ase file
    unable to open database: C:\Documents and Settings\All Users\Application Data\NP
    VR\\Plugins\SearchLite\NewGenre.db3
       vid System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
       vid System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
       vid System.Data.SQLite.SQLiteDataReader.NextResult()
       vid System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehav
    ior behave)
       vid System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
       vid System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
       vid nCommunity.NewGenre.Read()
       vid nCommunity.Program.Main(String[] args)
    Last edited by forzaKGB; 2011-04-15 at 09:30 AM. Reason: Fixed spelling...

  2. #2
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,170
    I see a few things:

    1. The genre.list files should not be in Program Files it is supposed to go into the DataDirectory which in your case is

    Code:
    C:\Documents and Settings\All Users\Application Data\NPVR\Plugins\SearchLite\
    2. However that is not where it is crashing, it is only reporting it can't find genre.list. After the first run it will get renamed to genres.list.ok. What I suspect is the installer isn't creating that folder in DataDirectory so you will need to do it.


    Martin

  3. #3
    Join Date
    Mar 2006
    Location
    Stockholm, Sweden
    Posts
    230
    Hi

    Thank you, it got a bit longer after I created that directory and copied the genre.list there.

    However it crashed a moment after that, maybe it does not like my XMLTV-file?

    Code:
    C:\Program\Windows Resource Kits\Tools>genrelite -i
    C:\Documents and Settings\All Users\Application Data\NPVR\
    Data Source="C:\Documents and Settings\All Users\Application Data\NPVR\Plugins\S
    earchLite\NewGenre.db3";Version=3;New=True;
    C:\Documents and Settings\All Users\Application Data\NPVR\
    Data Source="C:\Documents and Settings\All Users\Application Data\NPVR\npvr.db3"
    ;Version=3;New=True;
    Attach Database 'C:\Documents and Settings\All Users\Application Data\NPVR\\Plug
    ins\SearchLite\NewGenre.db3' as genres
    C:\Program\Devnz\GBPVR\tvguide.xml
    
    Ohanterat undantag: System.NullReferenceException: Objektreferensen har inte ang
    etts till en instans av ett objekt.
       vid nCommunity.NewGenre.Read()
       vid nCommunity.Program.Main(String[] args)
    I attach my xmltv-file in case you want to have a look at it.

  4. #4
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,170
    You are correct, I don't support that XMLTV file format yet, but it looks promising for genre searching. Could you also compress and send your npvr.db3 file? That will make things faster.

    Martin

  5. #5
    Join Date
    Mar 2006
    Location
    Stockholm, Sweden
    Posts
    230
    I have uploaded a file, you can download it from:
    https://dav-sth-se.diino.com/shared2...15994/npvr.rar

  6. #6
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,170
    Thanks for the patience forzaKGB, here is another beta that works with your data at least at my end. You will have to run GenreLite -i again, the old import won't match the 8859-1 characters correctly, your samples helped a lot.

    Before you do the import you now need to change the SearchLite.xml file that is in the DataDirectory\Plugins\SearchLite folder to set

    Code:
    <UseUniqueID>false</UseUniqueID>
    Good luck and thanks again for the sample files.

    Martin

  7. #7
    Join Date
    Mar 2006
    Location
    Stockholm, Sweden
    Posts
    230
    Thank you

    I installed it and it looks fine. Have not tried searchin yet but GenreLite -i ran OK this time.

    It's not us that should be patient, we all owe you a lot of thanks for all the effort you put in and the patience you show all of us screwing arond with the stuff you create

    We'll see whne I can find the time to try searching for Genres but as the command ran fine it should be OK now.

    Is there any way of making NEWA aware of the Genres?

  8. #8
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,170
    Yes, if I can get genres working generically in SearchLite, I will try and work with UJB to also get this working in NEWA.

    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •