Open jpluimers opened 7 years ago
Don't you love the sound of deadlines whooshing by (:
"I love deadlines. I love the whooshing noise they make as they go by." ~Douglas Adams
Clearly even the extended April 2020 Python 2.7 end-of-life deadline was not met during various personal circumstances (when interested, read back the pinned post at twitter.com/jpluimers).
Please perform the work in branch features/python3.
Notes:
Upgrade to more modern Python, which might be easier than I anticipated:
[Info] - new fritzcap.py version 2.3 | Seite 2 | IP Phone Forum - #23
gestern auf bullseye migriert und prompt in die Falle gelaufen. Mit python3 lief es nicht mehr. Aber mit
2to3
den Code migriert und die restlichen Fehlermeldungen abgearbeitet und es tat wieder. Das waren nur Typwandlungen vonstr
nachbyte
oder umgekehrt. In Python 2 war das noch eins. Ich habe null Ahnung von Python aber einfaches googlen der Fehlermeldungen brachte schon die Lösung.
apt install 2to3
apt install python3-lib2to3
apt install python3-toolz
cd fritzcap-master; 2to3 . -w
str.encode()
oderbytes()
wo nötig
The original software has been extensively used with Python 2.6 and seems to work fine with Python 2.7.
It is unclear how well it works with Python 3 so that needs to be investigated.
Before the Python 2.7 end-of-life in 2020 [WayBack] the fritzcap code needs to be made compatible with Python 3.
Python 3 has been there since 2008 and most Linux/BSD/Windows based operating systems have Python 3 available, some even out of the box.