Traceback (most recent call last):
  
 "<string>", line 1, in <module>
  
 "C:\Python27\lib\multiprocessing\forking.py", line 381, in main
    self = load(from_parent)
  
 "C:\Python27\lib\pickle.py", line 1384, in load
    return Unpickler(file).load()
  
 "C:\Python27\lib\pickle.py", line 864, in load
    dispatch[key](self)
  
 "C:\Python27\lib\pickle.py", line 1089, in load_newobj
    obj = cls.__new__(cls, *args)
TypeError: __new__() takes at least 2 arguments (1 given)

error: Addon error: Traceback (most recent call last):


 "…/lib/python3.7/site-packages/mitmproxy/addonmanager.py", line 42, in safecall

yield


 "…/lib/python3.7/site-packages/mitmproxy/addons/script.py", line 102, in loadscript

ctx.master.addons.register(ns)


 "…/lib/python3.7/site-packages/mitmproxy/addonmanager.py", line 162, in register

self.master.options.process_deferred()


 "…/lib/python3.7/site-packages/mitmproxy/optmanager.py", line 326, in process_deferred

self.update(**update)


 "…/lib/python3.7/site-packages/mitmproxy/optmanager.py", line 225, in update

u = self.update_known(**kwargs)


 "…/lib/python3.7/site-packages/mitmproxy/optmanager.py", line 216, in update_known

self._options[k].set(v)


 "…/lib/python3.7/site-packages/mitmproxy/optmanager.py", line 57, in set

typecheck.check_option_type(self.name, value, self.typespec)


 "…/lib/python3.7/site-packages/mitmproxy/utils/typecheck.py", line 74, in check_option_type

raise e
TypeError: Expected <class 'bool'> for bool_option, but got <class 'NoneType'>.
