View Issue Details

IDProjectCategoryView StatusLast Update
0006923Kali LinuxKali Package Bugpublic2020-12-11 07:42
ReporterRoseDeSable Assigned Tosbrun  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Versionkali-dev 
Summary0006923: Mitmproxy doesn't start under python 3.9.0b1
Description

Hello,
after the last distribution-update this days mitmproxy doesn't start:

mitmproxy
Traceback (most recent call last):
File "/usr/bin/mitmproxy", line 11, in <module>
load_entry_point('mitmproxy==5.1.1', 'console_scripts', 'mitmproxy')()
File "/usr/lib/python3/dist-packages/mitmproxy/tools/_main.py", line 147, in mitmproxy
run(console.master.ConsoleMaster, cmdline.mitmproxy, args)
File "/usr/lib/python3/dist-packages/mitmproxy/tools/_main.py", line 71, in run
opts = options.Options()
File "/usr/lib/python3/dist-packages/mitmproxy/options.py", line 50, in init
self.add_option(
File "/usr/lib/python3/dist-packages/mitmproxy/optmanager.py", line 109, in add_option
self._options[name] = _Option(name, typespec, default, help, choices)
File "/usr/lib/python3/dist-packages/mitmproxy/optmanager.py", line 34, in init
typecheck.check_option_type(name, default, typespec)
File "/usr/lib/python3/dist-packages/mitmproxy/utils/typecheck.py", line 73, in check_option_type
elif not isinstance(value, typeinfo):
File "/usr/lib/python3.9/typing.py", line 697, in instancecheck
return self.subclasscheck(type(obj))
File "/usr/lib/python3.9/typing.py", line 700, in subclasscheck
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks

This failure is described in github under "TypeError: Subscripted generics cannot be used with class and instance checks under python 3.9.0b1 0004021".

I believe, that mitmproxy mustb be fixed for python 3.9.0b1

Bye
Rose

Activities

RoseDeSable

RoseDeSable

2020-12-10 13:32

reporter   ~0013962

After installing the Version 5.3.0-1 of mitmproxy with the new rolling updates the application starts without problems

Thanks
Rose

Issue History

Date Modified Username Field Change
2020-12-10 10:48 RoseDeSable New Issue
2020-12-10 13:32 RoseDeSable Note Added: 0013962
2020-12-11 07:42 sbrun Assigned To => sbrun
2020-12-11 07:42 sbrun Status new => closed
2020-12-11 07:42 sbrun Resolution open => no change required