NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 278 279 280 281 282 … 433 Next »
Error attempt

Error attempt
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,699
Threads: 996
Joined: May 2006
#1
2012-12-13, 10:08 PM (This post was last modified: 2012-12-13, 10:32 PM by mvallevand.)
Does NextPVR attempt to reread a directory on error? For the first time I can recall NextPVR failed to record a show and it might simple have been because my NAS was waking up slowly too.

Code:
2012-12-13 12:57:36.835 [DEBUG][4] Resuming... 2012-12-13 12:57:37.018 [DEBUG][7] Recording service noted the system was resuming... 2012-12-13 12:57:37.020 [DEBUG][7] Starting: C:\Users\Public\NPVR\Scripts\Wakeup.bat 2012-12-13 12:57:38.710 [DEBUG][5] cycling MVP servers 2012-12-13 12:57:38.710 [DEBUG][5] Starting MVP server 0 2012-12-13 12:57:44.651 [DEBUG][7] C:\Users\Public\NPVR\Scripts\Wakeup.bat has exited 2012-12-13 12:59:19.003 [DEBUG][7] Unexpected error in GetTargetName: System.IO.IOException: The specified network name is no longer available. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at NShared.RecordingService.GetTargetName(ScheduledRecording scheduledRecording) at NShared.RecordingService.WorkerThread() . but it sleeps and works fine afterwards. 2012-12-13 13:57:35.252 [DEBUG][4] Resuming... 2012-12-13 13:57:35.283 [DEBUG][7] Recording service noted the system was resuming... 2012-12-13 13:57:35.358 [DEBUG][7] Starting: C:\Users\Public\NPVR\Scripts\Wakeup.bat 2012-12-13 13:57:36.918 [DEBUG][5] cycling MVP servers 2012-12-13 13:57:36.919 [DEBUG][5] Starting MVP server 0 2012-12-13 13:57:41.232 [DEBUG][7] C:\Users\Public\NPVR\Scripts\Wakeup.bat has exited 2012-12-13 13:59:07.151 [DEBUG][7] allocating recording target filename: K:\Homeland\Homeland_20121213_14001500.ts 2012-12-13 13:59:07.153 [DEBUG][7] About to start recording (2775 on 1524): K:\Homeland\Homeland_20121213_14001500.ts... 2012-12-13 13:59:07.158 [DEBUG][7] Free space 587198365696 (K:\)

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,494
Threads: 784
Joined: Nov 2003
#2
2012-12-13, 11:31 PM
mvallevand Wrote:Does NextPVR attempt to reread a directory on error?
No - it relies on the file system being in a functioning state when it attempts to use it.

To be honest, I've never recommended recording to a network drive. Too much stuff like this that can go wrong.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,699
Threads: 996
Joined: May 2006
#3
2012-12-13, 11:49 PM
Ok, but it's a shame. I've recorded 100's of times fine, and I expect that a simply retry could right a lot of those things that you say go wrong being networked. Besides it seems better than lost recordings.

I now prefer that my backend is powered off except when I record/watch live tv and as that is only 10-20 hours a week, playing files from the share is the logical way to do this.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,494
Threads: 784
Joined: Nov 2003
#4
2012-12-14, 12:09 AM
How long do you think it would take your NAS to wake or reappear in this sort of scenario?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,699
Threads: 996
Joined: May 2006
#5
2012-12-14, 12:27 AM
That reminds me I need to send a post on my findings on my client side testing being slow

2012-11-28 17:07:53.830 [DEBUG][1] LoadList@0
2012-11-28 17:08:06.188 [DEBUG][1] ACTIVATE_PLUGIN: Recordings
2012-11-28 17:08:06.188 [DEBUG][1] ACTIVATE_PLUGIN
2012-11-28 17:08:06.191 [DEBUG][1] OnKeyDown() done. Took 12360.70703125 ms

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2012-12-14, 02:22 AM
Use your wakeup.bat to stall for a few seconds. You can use either
Code:
Choice /CS /C:T /D:T /N /T:5
where /T: is the number of seconds to delay. Or
Code:
ping 1.1.1.1 /w 1000 /n 3 > null
where /n is roughly half the number of seconds to delay. Choice is more accurate.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,699
Threads: 996
Joined: May 2006
#7
2012-12-14, 02:45 AM
I think it could be my NAS drive spinning down and after not being accessed for 12+ hours and I might need to do DIR on it and not just ping the NIC I don't do too many mid-day recordings. However I still think a server should be a bit more tolerant of errors than a client who has a a chance to retry.

Martin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#8
2012-12-14, 05:44 AM (This post was last modified: 2012-12-14, 05:50 AM by johnsonx42.)
then have your wakeup.bat write something to the nas, a log line or something, that will make sure it's awake and ready.

(not that I'm disagreeing with the idea that NRecord could do a retry)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Mouse Click on TV Guide throws an error mlopez1007 2 2,390 2021-03-22, 11:33 AM
Last Post: Graham
  Unhandled Exception Error Message reedaf4 23 10,919 2020-03-13, 05:03 PM
Last Post: sub
Photo Server database error mnthope 4 3,115 2019-12-23, 11:28 PM
Last Post: sub
  Framework Error Mroctober 1 1,717 2019-09-25, 03:13 PM
Last Post: Graham
  EPG error message djregehr 3 2,355 2019-08-09, 05:50 PM
Last Post: djregehr
  Error in Channel Setup Rich A 17 6,498 2019-05-24, 10:17 PM
Last Post: Rich A
  Recording Error: No errors, but no data delivered. jksmurf 4 2,800 2019-04-08, 04:24 AM
Last Post: jksmurf
  Import Error with Updated NPVR Release Coulen 9 4,416 2019-03-08, 10:00 PM
Last Post: sub
  Recurring page causes exception error metrov 9 4,161 2019-02-07, 09:23 PM
Last Post: metrov
  Invalid character in EPG data/Unicode error ZXGuesser 6 3,836 2019-02-07, 04:24 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode