ServerWMC 1171 - No EPG data
#1
Hey guys,

I'm having an issue getting guide data on clients. Yesterday when I checked the guide on a client there was no data. I reset the pvr and epg database and it didn't help. When I launched media center there was no data... Problem solved. I forced and update and everything seemed to start working.

Then today I turned the TV on and there was no epg data on xbmc. I launched media center and there was data. ServerWMC status tab indicated no data transferred to clients. I closed the client. I then launched the client again, thinking I'd go try and reset the epg and pvr database and it loaded the epg on startup...

ServerWMC Log is available here: http://pastebin.com/Evdw8x7a

mb-pi is our master bedroom raspberry pi which was on but not actively being used.
sbthomas-pc is my windows 7 laptop which the first time I launched did not get epg data, the second time it did.

Let me know if you need any more info.

Thanks,
Scott
Reply
#2
In the log when it goes out to retrieve the epg data, it is finding data. I think the problem is when your client calls GetChannels there is a bunch of errors, it looks like it is related to the state of your tuners as seen by the server computer. Have you tried just rebooting that server computer since this problem started? That will likely clear up what ever this error is on the server, I think that will clean up your client epg problems too.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#3
So when I checked media center and it was missing epg data, the computer was awaiting a reboot after some patches. I think one of the patches caused the mcupdate.exe to crash. There is a .net runtime and an application error in the windows application log. I rebooted the PC, then went into media center and forced an update. I'll try another reboot tonight after shows finish recording.

Thanks
Reply
#4
I've been having a heck of a time with guide data as of late. I'm having to constantly manually download the data and sometimes that doesn't even work. I've determined it's definitely not a SWMC issue in my case because the same issues present in the WMC guide. I'll definitely stay tuned to your progress and post if I am able to find a solution.
The XBMC team, plug-in devs, skinners, etc. do this for us for FREE in their spare time because they want to. Think about that for a second before you start bitching...
Reply
#5
Looking at ServerWMC logs it appears like ServerWMC is restarting itself every night at midnight? Is that correct or is it just generating a new log and making it look like that? I'm still getting frequent issues with the raspberry pi not having epg data.
Reply
#6
Its just generating a new log, scarecrow put that in a few revs ago to keep the size of the log files manageable. The log from the previous day is still there, check the log directory. By default it keeps seven days worth of logs.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#7
I logged in to the server and ServerWMC had crashed. See log at: http://pastebin.com/H42NTZNb

I restarted the server, applied the update 1.0.0.52 (1175) and rebooted again. Now I can't get EPG data on the mb-pi client. ServerWMC log is at: http://pastebin.com/GK1CdQt4

Same error I was getting before. I rebooted the server again as well as rebooting the pi and resetting the pvr database.

Any ideas?
Reply
#8
The crash appears to be related to the WMC object store (essentially it's database) expiring and we tried to trigger re-opening it and it failed. So potentially we have a bug we aren't handling there when re-opening it, however it's not "normal" behaviour for it to expire and need to be re-opened anyway... were you doing anything strange in WMC at the time?

Regarding your 2nd problem - it seems your tuners are locked in a funny state. Is WMC working OK? I wouldnt be surprised if it is also having issues due to the tuner state?

Since they are network tuners, it sort of makes sense that rebooting the server may not fix things. Try power cycling the HDHomeRun itself maybe...
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#9
That is interesting that the 'database expired' event got triggered. That event trigger has been in there since the beginning and I have never seen it get triggered until you posted this log. Its weird because it looked liked renewing it worked, but it still died anyway. @sbthomas, since you have access to the source code, is it possible for you to run with the debugger and put a breakpoint on this expired event?
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#10
@Scarecrow - I wasn't doing anything on the machine at the time. I rebooted the hdhomerun prime, i'll let you know if I have any issues.

@Krusty - I can't easily run in debug mode on the "production" server. I don't have VS or the source on that machine. Is there an easy way for me to do this? I have the source and VS on my laptop and have it pointed to my other HDHomeRun which is connected to an OTA antenna. If it happens again it may be worth setting up VS on the server.
Reply
#11
I don't develop on our family mediaserver either, but in the past there have been occasions where I want to run the debugger on it. Its not hard, download VS c# express on this headless server, using teamviewer (or whatever). Then download the source from bitbucket and you should be good.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#12
Hey Guys,

ServerWMC crashed again but it seems to be a different reason. The log is available at: http://pastebin.com/89wwMBkp

I tried to restart ServerWMC and it didn't start. Log is here: http://pastebin.com/qZCgfmfk

So I rebooted the server and when ServerWMC started up the 3 tuners were either Disabled or Unavailable, I forget the exact words... I unplugged the HDHomeRun Prime and plugged it back in, then everything seemed to start working again. That log is available here: http://pastebin.com/mGJSh698

Not sure about the original crash, but the issues restarting definitely seem to be related to an issue with the tuner. When I launched Windows Media Center it said it had recovered from an error and to check my guide data to make sure the recordings were there. I checked the guide and it was completely empty. I triggered an epg update from media center and it seems to be downloading ok.

I'm thinking of reverting to the version before 1171. That seems to be there version where the issues began. I don't expect it to resolve the issues as they seem to be media center and tuner related but I think it might be a good first step. Do you guys have any thoughts? Any other things to try first? Should I try the debugger?

Thanks
Reply
#13
I don't know, both crashes of swmc that you had were related to the wmc database - really unusual. Hopefully wmc has now rebuilt the database and it will be okay. But if it still crashes with database related issues, if it were me, I would re-install wmc (I know its a pain). I think your tuner issue was a fluke.

We haven't changed any database related stuff for a while, so I have trouble thinking you'll see any difference between the swmc versions. Most of our recent changes have been related to live tv streams. But I understand rolling back and wanting to rebuild from there. Good luck.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply

Logout Mark Read Team Forum Stats Members Help
ServerWMC 1171 - No EPG data0