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 execute #1

Open
cybertron10 opened this issue Nov 27, 2019 · 0 comments
Open

Unable to execute #1

cybertron10 opened this issue Nov 27, 2019 · 0 comments

Comments

@cybertron10
Copy link

Can you please help me solve this error. I dont know what am i doing wrong

[+] Starting Web driver...
[-] ERROR running Webdriver: ZIP does not support timestamps before 1980Traceback (most recent call last):
File "automate_knoxss.py", line 141, in main
firefox_binary=firefox_binary)
File "/home/cybertron/.local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 166, in init
capabilities.update(options.to_capabilities())
File "/home/cybertron/.local/lib/python3.7/site-packages/selenium/webdriver/firefox/options.py", line 180, in to_capabilities
opts["profile"] = self._profile.encoded
File "/home/cybertron/.local/lib/python3.7/site-packages/selenium/webdriver/firefox/firefox_profile.py", line 180, in encoded
zipped.write(filename, filename[path_root:])
File "/usr/lib/python3.7/zipfile.py", line 1713, in write
zinfo = ZipInfo.from_file(filename, arcname)
File "/usr/lib/python3.7/zipfile.py", line 518, in from_file
zinfo = cls(arcname, date_time)
File "/usr/lib/python3.7/zipfile.py", line 357, in init
raise ValueError('ZIP does not support timestamps before 1980')
ValueError: ZIP does not support timestamps before 1980

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "automate_knoxss.py", line 226, in
main()
File "automate_knoxss.py", line 144, in main
if driver:
NameError: name 'driver' is not defined

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