Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Syntax Error in raw-file #7

@homelyUncle

Description

@homelyUncle

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions