Connected to pydev debugger (build 162.1967.10)
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2016.2.3\helpers\pydev\pydevd.py", line 1580, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "C:\Program Files\JetBrains\PyCharm 2016.2.3\helpers\pydev\pydevd.py", line 964, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Program Files\JetBrains\PyCharm 2016.2.3\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/root/PycharmProjects/untitled/script.py", line 161, in <module>
regger()
File "C:/Users/root/PycharmProjects/untitled/script.py", line 56, in regger
fp.add_extension(addon)
File "C:\Python3.5\lib\site-packages\selenium\webdriver\firefox\firefox_profile.py", line 92, in add_extension
self._install_extension(extension)
File "C:\Python3.5\lib\site-packages\selenium\webdriver\firefox\firefox_profile.py", line 271, in _install_extension
addon_details = self._addon_details(addon)
File "C:\Python3.5\lib\site-packages\selenium\webdriver\firefox\firefox_profile.py", line 344, in _addon_details
manifest = f.read()
File "C:\Python3.5\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 4484: character maps to <undefined>