chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

Auto-Sub crashes when root path is not available #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. put the computer in standby 
2. resume the computer
3. most of the time, autosub is not running any more after the computer 
resumes. Looks like it quits because it doesn't detect a network connection.

What is the expected output? What do you see instead?
Autosub should still be running when resuming from standby.

What version of the product are you using? On what operating system?
0.5.5 Beta running on Windows 8

Please provide any additional information below.
I suspect that is has to do with the network connection not yet active when 
resuming from standby. I can repro the autosub shutdown behaviour when 
disabling my network adapter., autosub immediately quits. Also when starting 
autosub in this case, it also immediately quits. When I enable the NIC again, 
autosub stays running. So I think it's related to the fact that the NIC is not 
up and running yet when resuming from standby and therefor autosub quits.

Original issue reported on code.google.com by fvdweste...@gmail.com on 17 Oct 2012 at 5:46

GoogleCodeExporter commented 9 years ago
Hmm weird, what are the last log lines when this happens?

I tried it out on Windows 7, but I am not able to reproduce it. What are the 
last line in the auto-sub log file?

Original comment by romke.va...@gmail.com on 17 Oct 2012 at 6:36

GoogleCodeExporter commented 9 years ago
I think I found the problem, you are using auto-sub scanning a network share, 
correct?

Original comment by romke.va...@gmail.com on 17 Oct 2012 at 7:41

GoogleCodeExporter commented 9 years ago
Hi, yes that's correct. I'm using a mapped network drive to my NAS. The log 
states:

2012-10-17 07:41:54,816 ERROR  Root path does M:\Series not exists, aborting...
2012-10-17 07:41:47,801 ERROR  Root path does M:\Series not exists, aborting...
2012-10-17 07:41:39,285 ERROR  Root path does M:\Series not exists, aborting...

Original comment by fvdweste...@gmail.com on 17 Oct 2012 at 8:11

GoogleCodeExporter commented 9 years ago
It's not really related to 'standby' mode, it is related that auto-sub boots 
faster then your network being ready. Auto-Sub crashes because it can't locate 
the root path. 

Issue accepted, I'll try my best to make it ready for the next release, but 
can't promise anything.

Original comment by romke.va...@gmail.com on 17 Oct 2012 at 8:20

GoogleCodeExporter commented 9 years ago
Hi, thanks! I think it's (a bit) related since when resuming from standby the 
network card is re-initialized. Autosub is still running and wants to check the 
folder (since it missed the last check because the computr was in stand-by), 
but crashes because of the missing root-path.

Original comment by fvdweste...@gmail.com on 17 Oct 2012 at 8:35

GoogleCodeExporter commented 9 years ago
This issue was closed by revision fe015e3fe7bd.

Original comment by romke.va...@gmail.com on 8 Nov 2012 at 12:38