Closed punkuotukas closed 1 year ago
The first line of rpi-source says:
#!/usr/bin/env python2
and yet your error message comes from the RE module from Python 3.9.
What have you changed?
You could try changing line 257 (https://github.com/RPi-Distro/rpi-source/blob/master/rpi-source#L257) to use mode 'rt' instead:
with gzip.open(fn, 'rt') as f:
That continues to work using python2, so I'll change it if it fixes it for you.
You might want to check to see if #17 fixes this.
@lurch sadly it doesn't. Same issue here with the latest version
after updating imported libraries and python version, I ran in some syntax error that I cannot put the time to take a deeper look. when running
rpi-source
command, following output is thrown: