Skip to content

AttributeError: 'NoneType' object has no attribute 'group' #20

@mastier

Description

@mastier

I pressume the problem lies with no iwprivs, despite i installed the driver and rebooted


pi@raspberrypi:~/piracast/scripts $ uname -r
4.1.13+

pi@raspberrypi:~/piracast/scripts $ sudo python piracast.py
Bring up wlan0 just in case...
ifup: interface wlan0 already configured
Increase rmem_default...

wpa_supplicant: no process found
hostapd: no process found
wlan0     no private ioctls.

wlan0     no private ioctls.

wlan0     no private ioctls.

wlan0     no private ioctls.

wlan0     no private ioctls.

wlan0     no private ioctls.

Waiting for incoming connection...
wlan0     no private ioctls.

Traceback (most recent call last):
  File "piracast.py", line 76, in <module>
    wfd.wfd_connection_wait()
  File "/home/pi/piracast/scripts/wfd.py", line 241, in wfd_connection_wait
    peer_status = p2p_status_get()
  File "/home/pi/piracast/scripts/wfd.py", line 56, in p2p_status_get
    return int(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

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