raspberrypi-ch340-driver icon indicating copy to clipboard operation
raspberrypi-ch340-driver copied to clipboard

Syntax Error in raw-file

Open homelyUncle opened this issue 1 year ago • 1 comments

Try to compile from source, but had an error:

~ $ sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update
--2023-04-13 15:49:38--  https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13822 (13K) [text/plain]
Saving to: ‘/usr/bin/rpi-source’

/usr/bin/rpi-source  100%[=====================>]  13.50K  --.-KB/s    in 0.006s

2023-04-13 15:49:39 (2.27 MB/s) - ‘/usr/bin/rpi-source’ saved [13822/13822]

  File "/usr/bin/rpi-source", line 111
    except urllib2.HTTPError, e:
                            ^
SyntaxError: invalid syntax
~ $

Am I doing wrong or what?

homelyUncle avatar Apr 13 '23 12:04 homelyUncle

same here

pumatrax avatar Apr 25 '23 03:04 pumatrax