Traceback (most recent call last):


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 135, in <lambda>

track_utc_time_change(hass, lambda now: update_devices(), second=30)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper

result = method(*args, **kwargs)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper

result = method(*args, **kwargs)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 159, in update_devices

update_sessions)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 293, in __init__

self.refresh(device, session)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 373, in refresh

self._media_content_rating = self._session.contentRating


 "/srv/homeassistant/lib/python3.5/site-packages/plexapi/base.py", line 273, in __getattribute__

value = super(PlexPartialObject, self).__getattribute__(attr)
AttributeError: 'Track' object has no attribute 'contentRating'

Traceback (most recent call last):


 "I:/scapy网络练习.py", line 68, in <module>

scapy测试()


 "I:/scapy网络练习.py", line 30, in scapy测试

reply=sr1(i/ic)


 "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scapy\sendrecv.py", line 344, in sr1

s=conf.L3socket(filter=filter, nofilter=nofilter, iface=iface)


 "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scapy\arch\pcapdnet.py", line 321, in __init__

self.ins = open_pcap(iface, 1600, 0, 100)


 "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scapy\arch\windows\__init__.py", line 237, in <lambda>

pcapdnet.open_pcap = lambda iface,*args,**kargs: _orig_open_pcap(pcap_name(iface),*args,**kargs)


 "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scapy\arch\pcapdnet.py", line 251, in <lambda>

open_pcap = lambda *args,**kargs: _PcapWrapper_pypcap(*args,**kargs)


 "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scapy\arch\pcapdnet.py", line 215, in __init__

self.iface = create_string_buffer(device.encode('ascii'))
AttributeError: 'NoneType' object has no attribute 'encode'