openube / ispyconnect

Security and surveillance software
20 stars 11 forks source link

don't delete files after 70% full in storage management #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I don't know
2.
3.

What is the expected output?
I expect it will delete old files after 70% of storage will be used.

 What do you see instead?
it don't delete files after 70% full in storage management. just keep record 
new files until flash drive free space = 0. after that creating files 0 bytes 
long. day setting was set to 1 as written here: 
http://www.ispyconnect.com/userguide-settings.aspx but if set to 4 for example 
and press the "run now" button nothing hapeened - old files don't deleting.

What version of the product are you using? On what operating system?
last
windows 8

Please provide any additional information below.
using Lenovo IdeaPad G780 17.3" HD+, Ci3-3110M, 4096Mb, 500Gb, DVD-RW, WiFi, 
BT, Cam, W8

Original issue reported on code.google.com by daposhli...@gmail.com on 18 Mar 2013 at 1:02

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
maybe it is because I use a usb flash drive instead of hard drive to store 
media folder. maybe program can't detect 70% full and 0 bytes free space on a 
flash drives? can anyone check it?

Original comment by daposhli...@gmail.com on 22 Mar 2013 at 10:16

GoogleCodeExporter commented 9 years ago
I check the log file and it is all of this message:

System.Collections.ListDictionaryInternal
Message 16:38:03 Running Storage Management
Exception: 16:38:03
Не удалось найти часть пути "F:\ispy\audio".
mscorlib
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) в 
System.IO.FileSystemEnumerableIterator`1.CommonInit() в 
System.IO.FileSystemEnumerableIterator`1..ctor(String path, String 
originalUserPath, String searchPattern, SearchOption searchOption, 
SearchResultHandler`1 resultHandler, Boolean checkHost) в 
System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption 
searchOption) в iSpyApplication.MainForm.DeleteOldFiles()

"Не удалось найти часть пути "F:\ispy\audio"." means 
can't find part of path "F:\ispy\audio". what is this mean??? there is a path! 
and audio folder is always empty 

Original comment by daposhli...@gmail.com on 22 Mar 2013 at 12:25

GoogleCodeExporter commented 9 years ago
i found same question here 
http://forums.ispyconnect.com/forum.aspx?g=posts&t=1173 directory is exist! how 
fix this bug??

Original comment by daposhli...@gmail.com on 22 Mar 2013 at 12:28

GoogleCodeExporter commented 9 years ago
set to 20mb, files in folder is already 60mb. press run now button

Message 19:59:49 Running Storage Management
Message 19:59:49 Media storage limit (20MB) exceeded
Message 19:59:49 Running Storage Management
Message 19:59:49 Media storage limit (20MB) exceeded
Message 19:59:50 Running Storage Management
Message 19:59:50 Media storage limit (20MB) exceeded
Message 19:59:50 Running Storage Management
Message 19:59:50 Media storage limit (20MB) exceeded

and files not deleting

Original comment by daposhli...@gmail.com on 22 Mar 2013 at 1:04

GoogleCodeExporter commented 9 years ago
it'll be a file permissions issue - check the log file and the permissions on 
that directory

Original comment by ad...@developerinabox.com on 16 Apr 2013 at 2:15

GoogleCodeExporter commented 9 years ago
log file is up there ^^^ there is no any file permissions issues in it

and

1) it is a flash drive, there is no any permissions for it, I can easily remove 
and create files in it without even administrator rights.
2) I try to launch ispy with administrator rights - nothing changes.
3) suddenly Storage Management start working without any changes in isy 
settings and system. program was running for a week and one day start to remove 
files from flash drive from time to time. log file is now consist of "Running 
Storage Management" messages.
4) I try to upgrade to v4.9.0.0 but it eats cpu a lot, downgrade to 4.8.4.0 and 
storage managemend stop working xDDD it is don't working again! and log file 
still consist of "Running Storage Management" messages.

Original comment by daposhli...@gmail.com on 16 Apr 2013 at 12:22