Skip to content

Compress options does not work, file remains locked?? #151

@ghost-ng

Description

@ghost-ng

I was trying to figure out why the compress option wasnt working for me (I could not find the zip), during searching I noticed that this error may be showing why the compress function isnt working?

[WARNING] [bookmark.go:130,Parse] sql: Scan error on column index 4, name "title": converting NULL to string is unsupported  
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_bookmark.csv success  
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_history.csv success  
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_download.csv success
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_localstorage.csv success  
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_cookie.csv success  
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_extension.csv success
[NOTICE] [browsingdata.go:65,Output] output to file results/firefox_7zcuz6y2_default_release_password.csv success
[ERROR] [main.go:66,func1] remove results/firefox_7zcuz6y2_default_release_bookmark.csv: The process cannot access the file 
because it is being used by another process.

I added log.Error statements after each error so I can see which err caused this:

this is the offending line: err = os.Remove(fileName)

[ERROR] [filetutil.go:166,CompressDir] remove results/firefox_7zcuz6y2_default_release_bookmark.csv: The process cannot access the file because it is being used by another process.

After adding more logging rules:

[ERROR] [filetutil.go:192,CompressDir] remove results/firefox_7zcuz6y2_default_release_bookmark.csv: The process cannot access the file because it is being used by another process.
[ERROR] [filetutil.go:192,CompressDir] remove results/firefox_7zcuz6y2_default_release_cookie.csv: The process cannot access the file because it is being used by another process.  
[ERROR] [filetutil.go:192,CompressDir] remove results/firefox_7zcuz6y2_default_release_download.csv: The process cannot access the file because it is being used by another process.
[ERROR] [filetutil.go:192,CompressDir] remove results/firefox_7zcuz6y2_default_release_extension.csv: The process cannot access the file because it is being used by another process.
[ERROR] [filetutil.go:192,CompressDir] remove results/firefox_7zcuz6y2_default_release_history.csv: The process cannot access the file because it is being used by another process.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions