Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run jar file against latest chrome version - windows #16

Closed
soujanyash opened this issue Jul 31, 2023 · 0 comments
Closed

unable to run jar file against latest chrome version - windows #16

soujanyash opened this issue Jul 31, 2023 · 0 comments

Comments

@soujanyash
Copy link

Hi,
I am trying to run the jar file in my windows machine and the chrom version is 115. I always get error

C:\Users\djsou\CookieMonster\CookieMonster>java -jar CookieMonster.jar --browsers=chrome --domains=facebook.com
Selected Browsers: Chrome
Selected Domains: facebook.com
============================================================
Searching cookies for domain: facebook.com
============================================================
Searching in browser: Chrome
============================================================
java.nio.file.FileSystemException: C:\Users\djsou\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies -> .cookies.db: The process cannot access the file because it is being used by another process
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:208)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:284)
        at java.base/java.nio.file.Files.copy(Files.java:1299)
        at cmonster.browsers.ChromeBrowser.processCookies(ChromeBrowser.java:142)
        at cmonster.browsers.Browser.getCookiesForDomain(Browser.java:40)
        at cmonster.CookieMonster.dumpCookies(CookieMonster.java:131)
        at cmonster.CookieMonster.main(CookieMonster.java:107)
No cookies found.
============================================================
============================================================
Finished.

Looks like the cookies file not able to be copied before starting reading it.
Is there anything missing here ?

@soujanyash soujanyash closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant