Advertisement
pellekrogholt

Untitled

Feb 11th, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. notifying callback http://:8080/events mac () is now connected
  2. Traceback (most recent call last):
  3. File "./measure_rssi.py", line 45, in <module>
  4. tracked_connection.process_rssi(rssi_avg)
  5. File "/tb-beacon-application/local-scripts/statefulconnection.py", line 159, in process_rssi
  6. self._connection_state_machine.handle('rssi_readable')
  7. File "/tb-beacon-application/local-scripts/statemachine.py", line 47, in handle
  8. self.current_state = self.state_table[ self.current_state ][ event ]()
  9. File "/tb-beacon-application/local-scripts/statefulconnection.py", line 103, in _enter_connected
  10. self._notify( 'mac (%s) is now connected' % self._mac, parameters={'name':'connected', 'mac':self._mac})
  11. File "/tb-beacon-application/local-scripts/statefulconnection.py", line 94, in _notify
  12. f = urllib2.urlopen(req)
  13. File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
  14. return _opener.open(url, data, timeout)
  15. File "/usr/lib/python2.7/urllib2.py", line 400, in open
  16. response = self._open(req, data)
  17. File "/usr/lib/python2.7/urllib2.py", line 418, in _open
  18. '_open', req)
  19. File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
  20. result = func(*args)
  21. File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
  22. return self.do_open(httplib.HTTPConnection, req)
  23. File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
  24. r = h.getresponse(buffering=True)
  25. File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
  26. response.begin()
  27. File "/usr/lib/python2.7/httplib.py", line 407, in begin
  28. version, status, reason = self._read_status()
  29. File "/usr/lib/python2.7/httplib.py", line 397, in _read_status
  30. raise BadStatusLine(line)
  31. httplib.BadStatusLine: HTTP/1.1 200,[object Object] unknown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement