NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 73 74 75 76 77 … 93 Next »
ZapImport - ???

 
  • 0 Vote(s) - 0 Average
ZapImport - ???
rheslip
Offline

Junior Member

Posts: 32
Threads: 4
Joined: Jan 2005
#11
2005-04-07, 12:48 AM
jorm Wrote:download xrecord and pull the files from there. I will have to update the zapimport archive. The date should be like 2/9/2005

Sounds like I have the latest - I did get it from Xrecord. 2/9/05 is the version that barfs with the error message as above. From the errormessage it sounds like theres something in the listings it doesn't recognize. I'm in Canada and I use the Starchoice satellite listings but I doubt that makes any difference to the Zap2it database contents.

It sounds like a great add on to Fastfind which is one of the most useful plugins IMHO. I've been wanting to seach for programs by genre - its one of the features in Media Portal that I like. Zapimport just won't work on my machine : (

Rich
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#12
2005-04-07, 02:32 PM
Do you have MS Access at all? Or can you zip up your zapimport.mdb and email it to jared_dubin at hotmail.com

I am trying to make sure that the endTime field is in the schedule table.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#13
2005-04-07, 03:56 PM
jorm Wrote:Do you have MS Access at all? Or can you zip up your zapimport.mdb and email it to jared_dubin at hotmail.com

I am trying to make sure that the endTime field is in the schedule table.

I get the same error:

Code:
Unhandled Exception: System.Data.OleDb.OleDbException: The INSERT INTO statement contains the following unknown field name: 'endTime'.  Make sure you have typed the name correctly, and try the operation again.
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
   at zapmetadata.DatabaseHelper.AddSchedule(Schedule s)
   at zapmetadata.ZapDataReader.persistSchedule(Schedule s)
   at zapmetadata.ZapDataReader.loadSchedules(XmlNode rootNode)
   at zapmetadata.MainClass.Main(String[] args)

My database does NOT have a field called endTime -- however, it does have a field called end_time

I will try renaming the field in the database and post back....
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#14
2005-04-07, 04:08 PM
As promised -- here's the update. After figuring out that I had to change the field in the zapcleandb.mdb database, it did make it farther. This time the error reads:

Code:
Unhandled Exception: System.Data.OleDb.OleDbException: The field is too small to accept the amount of data you attempted
to add.  Try inserting or pasting less data.
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
   at zapmetadata.DatabaseHelper.AddProgramData(ProgramData s)
   at zapmetadata.ZapDataReader.persistProgramData(ProgramData programDataEntry)
   at zapmetadata.ZapDataReader.loadProgrammes(XmlNode rootNode)
   at zapmetadata.MainClass.Main(String[] args)
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#15
2005-04-07, 04:11 PM
Not sure why the db is not right. Need to look at it.

ok. There were a few lines above it that can at least narrow the table. Typically data like

Schedules
Genere
Cast maybe Crew
Programs

What is the last one you get before the error. Then we can figure out what field needs to be modified.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#16
2005-04-07, 04:12 PM
Code:
C:\Program Files\devnz\gbpvr>zapimport.exe xxx xxx
Path C:\Program Files\devnz\gbpvr\
Total Loaded 8067
Loading up schedules
root xtvd
children 6
Loading up channels
Loading up programs

Unhandled Exception: System.Data.OleDb.OleDbException: The fi....
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#17
2005-04-07, 04:36 PM (This post was last modified: 2005-04-07, 04:44 PM by Spartan.)
Even more info -- here is the line it barfs on:

"INSERT INTO ProgramData (program_id,show_type,star_rating,mpaa_rating,year_released,air_date,color_code,title) VALUES ('SH7430080000',1,'none',0,0,'2005-04-09',0,'Wedding of Prince Charles and Camilla Parker Bowles')"

My database does not have the ProgramData.title field. I am now running the code / database that is in the zaptools-src.zip archive on wiki.

EDIT: Once I added the ProgramData.title field, it completed successfully. I made the field a Text/100.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
rheslip
Offline

Junior Member

Posts: 32
Threads: 4
Joined: Jan 2005
#18
2005-04-07, 04:56 PM
Nice work Spartan !

Jorm - can I assume you will be tweeking the database to reflect these mods ?

Thanks guys !

Rich
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#19
2005-04-07, 05:06 PM
rheslip Wrote:Nice work Spartan !

Jorm - can I assume you will be tweeking the database to reflect these mods ?

Thanks guys !

Rich

I've attached the modified database(s) -- use at your own risk. :p
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#20
2005-04-07, 05:46 PM
That is my plan. The latest zaptools on wiki seem to have the right fields. Xrecords db seems to be the one that is wrong. I am going to do an update of xrecord with that and the date fix for the cdk scheduler.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  zapimport Jeff 2 1,552 2005-02-27, 05:14 PM
Last Post: jorm

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode