Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#316 closed defect (invalid)

use of uninitialised value in sprintf line 3995

Reported by: anonymous Owned by:
Priority: minor Milestone: 1.0
Component: Postprocessor Version: 0.4
Keywords: reconciler uninitialised value sprintf Cc:

Description

SHEPHERD: Started parsing XMLTV from 'reconciler_mk2' in '/home/shepherd/.shepherd/reconcilers/reconciler_mk2/output.xmltv' .. any errors below are from parser: SHEPHERD: Completed XMLTV parsing from 'reconciler_mk2' SHEPHERD: Reconciler 'reconciler_mk2' returned data for 130 channels, 23863 programmes, 823d09h34m17s duration, Sun 14 Nov 10:00 - Sun 21 Nov 02:59 Use of uninitialized value in sprintf at /home/shepherd/.shepherd/shepherd line 3995. Use of uninitialized value in sprintf at /home/shepherd/.shepherd/shepherd line 3995.

Attachments (1)

Shepherd Logs.zip (98.4 KB) - added by anonymous 13 years ago.
Shepherd Logs

Download all attachments as: .zip

Change History (13)

comment:1 Changed 13 years ago by anonymous

this occurred further into the processing:

:::::: End output from flag_aus_hdtv

SHEPHERD: Started parsing XMLTV from 'flag_aus_hdtv' in '/home/shepherd/.shepherd/postprocessors/flag_aus_hdtv/output.xmltv' .. any errors below are from parser:

  • Caught a die() within eval{} from file /usr/share/perl/5.10/Carp.pm line 44

SHEPHERD: Completed XMLTV parsing from 'flag_aus_hdtv' SHEPHERD: Postprocessor 'flag_aus_hdtv' returned data for 121 channels, 22306 programmes, 762d08h46m14s duration, Sun 14 Nov 10:00 - Sun 21 Nov 02:59 Use of uninitialized value in sprintf at /home/shepherd/.shepherd/shepherd line 3995. Use of uninitialized value in sprintf at /home/shepherd/.shepherd/shepherd line 3995.

comment:2 Changed 13 years ago by mlampard

I think this error and the one in ticket #318 are related, so I suggest we handle them both here. I'm unable to replicate this, so you'll have to do some investigating on my behalf, ok?

From what I can see here, it looks like flag_aus_hdtv failed to fully save its output to disk, which broke everything after. It's possible flag_aus_hdtv died for some yet-to-be-determined reason, or it simply ran out of space to put the output. Please check that drive space is not an issue.

To go forward, I think the full shepherd log would be helpful, if you can attach it here, or perhaps email it to me directly.

comment:3 Changed 13 years ago by anonymous

I have attached two shepherd log files. One for just Paytv channels and the other for both fta and paytv channels. Cheers

Changed 13 years ago by anonymous

Attachment: Shepherd Logs.zip added

Shepherd Logs

comment:4 Changed 13 years ago by anonymous

I'll check re disk space tonight.

comment:5 Changed 13 years ago by mlampard

The log with both pay and fta channels shows a write failure when saving the compressed versions of either the log or the alt_title_log files. I'll await your findings re disk space before investigating further.

comment:6 Changed 13 years ago by anonymous

hmm, the paytv one ran first and errored towards the end. The All one ran after it and errored all the way. So yes, disk looks like a culprit. This is running on a VM so I will check to see if it needs more space allocated and go from there. Thanks

comment:7 Changed 13 years ago by anonymous

oops. I had set the VDI disk to 8GB but the actual disk size according to xubuntu was 3.86GB and only 200MB free. Cleared out some crap and have 350MB free now. Rerunning one of them to see if now ok. I am guessing my bad :S

One thing though, at the start of the run this error came up. Still heaps of space left...

:::::: Output from yahoo7widget : Unknown option: timeoffset : Unknown option: 1000 : going to grab 8 days of data into /home/shepherd/.shepherd/grabbers/yahoo7widget/output-0.xmltv (slowly) region 75 : going to gather paytv channels as we have 115 paytv channels matching. : offsetting paytv channels by 60 minutes due to --paytvoffset : Fetching http://au.tv.yahoo.com/tv-guide/data/75/168/1289811600/1289822400/... : Successfully fetched 552 KB. : ignoring unwanted channel 'BBCKnowledgeHD' : ignoring unwanted channel 'DiscoveryWorldHD' : ignoring unwanted channel 'ESPNHD' : ignoring unwanted channel 'FoxSports1HD' : ignoring unwanted channel 'FoxSports2HD' : ignoring unwanted channel 'FoxSports3HD' : ignoring unwanted channel 'FOX8HD' : ignoring unwanted channel 'MOVIEONEHD' : ignoring unwanted channel 'MTVNLiveHD' : ignoring unwanted channel 'NatGeoHD' : ignoring unwanted channel 'NatGeoWildHD' : ignoring unwanted channel 'showcaseHD' : ignoring unwanted channel 'showtimeactionHD' : ignoring unwanted channel 'ShowPremiereHD' : ignoring unwanted channel 'SPEEDHD' : ignoring unwanted channel 'STARPICS1HD' : ignoring unwanted channel 'STARPICS2HD' : ignoring unwanted channel 'TSN' : ignoring unwanted channel 'UKTVHD' : ignoring unwanted channel 'WHD' : Fetching http://au.tv.yahoo.com/tv-guide/data/75/168/1289822400/1289833200/... : Successfully fetched 548 KB. : Fetching http://au.tv.yahoo.com/tv-guide/data/75/168/1289833200/1289844000/... : Successfully fetched 531 KB. : Fetching http://au.tv.yahoo.com/tv-guide/data/75/168/1289844000/1289854800/... : Successfully fetched 540 KB. : Fetching http://au.tv.yahoo.com/tv-guide/data/75/168/1289854800/1289865600/... : Successfully fetched 221 KB. : unexpected end of string while parsing JSON string, at character offset 227039 (before "(end of string)") at /home/shepherd/.shepherd/grabbers/yahoo7widget/yahoo7widget line 238 :::::: End output from yahoo7widget

and this in the ABC_website grabber:

:::::: Output from abc_website : Unknown option: timeoffset : Unknown option: 1000 : Unknown option: paytvtimeoffset : Going to grab 6 days (skipping first 5 days) of data for ABC1(no), ABC2(no), ABC3(no) or ABC News 24(yes) into /home/shepherd/.shepherd/grabbers/abc_website/output-0.xmltv (with caching) : Fetching weekly 'Station Close' data for ABC1 : Fetching summary data: day 5 of 6 : Fetching summary data: day 6 of 6 : Have summary data for ABC1, now fetching detail pages for up to 68 programmes.. : programme hash missing channel key, skipping at /usr/share/perl5/XMLTV.pm line 2387, <> chunk 1. : programme hash missing channel key, skipping at /usr/share/perl5/XMLTV.pm line 2387, <> chunk 1. : programme hash missing channel key, skipping at /usr/share/perl5/XMLTV.pm line 2387, <> chunk 1.

comment:8 Changed 13 years ago by anonymous

Run worked this time. Only errors were those reported above in the yahoo7widget and abc_website grabber. Thanks

comment:9 Changed 13 years ago by mlampard

Resolution: invalid
Status: newclosed

The yahoo7widget problem looks like a network issue (it received 221kb however my testing indicates that it should have been closer to 555kb). Perhaps it's related to your VM setup. If possible, I'd suggest running shepherd under linux on bare metal, as a test. I'll close these tickets for now, as the problems seem to be outside of shepherds scope. Someone on the mailinglist may be able to assist you with the network issue.

comment:10 Changed 12 years ago by Shirley

Milestone: 1.0
Version: 0.4

Glad I've fianlly found something I agree with!

comment:11 Changed 12 years ago by rqszqsp

LrruB4 <a href="http://vjamtzdzcxsv.com/">vjamtzdzcxsv</a>

comment:12 Changed 12 years ago by PattonsPanda

<a href="http://www.viamedics.net/">zovirax</a> rdudb <a href="http://www.treatedonline.com/">levitra</a> 05542 <a href="http://www.medicahelp.net/">order rx seroquel</a> eit

Note: See TracTickets for help on using tickets.