Guest User

Untitled

a guest
May 18th, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.67 KB | None | 0 0
  1.  
  2. pi@raspberrypi:~ $ sudo python -m webiopi
  3. 2016-05-19 00:40:46 - WebIOPi - INFO - Starting WebIOPi/0.7.1/Python2.7
  4. 2016-05-19 00:40:46 - WebIOPi - INFO - GPIO - Native mapped to REST API /GPIO
  5. 2016-05-19 00:40:46 - WebIOPi - WARNING - Access unprotected
  6. 2016-05-19 00:40:46 - WebIOPi - INFO - HTTP Server binded on http://192.168.1.20:8000/
  7. 2016-05-19 00:40:46 - WebIOPi - INFO - CoAP Server binded on coap://192.168.1.20:5683/
  8. 2016-05-19 00:40:46 - WebIOPi - INFO - CoAP Server binded on coap://224.0.1.123:5683/ (MULTICAST)
  9. ----------------------------------------
  10. Exception happened during processing of request from ('::ffff:192.168.1.22', 51072, 0, 0)
  11. Traceback (most recent call last):
  12. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  13. self.process_request(request, client_address)
  14. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  15. self.finish_request(request, client_address)
  16. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  17. self.RequestHandlerClass(request, client_address, self)
  18. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  19. self.handle()
  20. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  21. self.handle_one_request()
  22. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  23. method()
  24. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  25. self.processRequest()
  26. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  27. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  28. NameError: global name 'GPIO' is not defined
  29. ----------------------------------------
  30. ----------------------------------------
  31. Exception happened during processing of request from ('::ffff:192.168.1.22', 51073, 0, 0)
  32. Traceback (most recent call last):
  33. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  34. self.process_request(request, client_address)
  35. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  36. self.finish_request(request, client_address)
  37. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  38. self.RequestHandlerClass(request, client_address, self)
  39. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  40. self.handle()
  41. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  42. self.handle_one_request()
  43. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  44. method()
  45. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  46. self.processRequest()
  47. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  48. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  49. NameError: global name 'GPIO' is not defined
  50. ----------------------------------------
  51. ----------------------------------------
  52. Exception happened during processing of request from ('::ffff:192.168.1.22', 51074, 0, 0)
  53. Traceback (most recent call last):
  54. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  55. self.process_request(request, client_address)
  56. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  57. self.finish_request(request, client_address)
  58. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  59. self.RequestHandlerClass(request, client_address, self)
  60. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  61. self.handle()
  62. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  63. self.handle_one_request()
  64. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  65. method()
  66. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  67. self.processRequest()
  68. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  69. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  70. NameError: global name 'GPIO' is not defined
  71. ----------------------------------------
  72. ----------------------------------------
  73. Exception happened during processing of request from ('::ffff:192.168.1.22', 51075, 0, 0)
  74. Traceback (most recent call last):
  75. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  76. self.process_request(request, client_address)
  77. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  78. self.finish_request(request, client_address)
  79. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  80. self.RequestHandlerClass(request, client_address, self)
  81. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  82. self.handle()
  83. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  84. self.handle_one_request()
  85. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  86. method()
  87. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  88. self.processRequest()
  89. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  90. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  91. NameError: global name 'GPIO' is not defined
  92. ----------------------------------------
  93. ----------------------------------------
  94. Exception happened during processing of request from ('::ffff:192.168.1.22', 51076, 0, 0)
  95. Traceback (most recent call last):
  96. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  97. self.process_request(request, client_address)
  98. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  99. self.finish_request(request, client_address)
  100. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  101. self.RequestHandlerClass(request, client_address, self)
  102. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  103. self.handle()
  104. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  105. self.handle_one_request()
  106. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  107. method()
  108. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  109. self.processRequest()
  110. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  111. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  112. NameError: global name 'GPIO' is not defined
  113. ----------------------------------------
  114. ----------------------------------------
  115. Exception happened during processing of request from ('::ffff:192.168.1.22', 51077, 0, 0)
  116. Traceback (most recent call last):
  117. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  118. self.process_request(request, client_address)
  119. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  120. self.finish_request(request, client_address)
  121. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  122. self.RequestHandlerClass(request, client_address, self)
  123. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  124. self.handle()
  125. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  126. self.handle_one_request()
  127. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  128. method()
  129. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  130. self.processRequest()
  131. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  132. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  133. NameError: global name 'GPIO' is not defined
  134. ----------------------------------------
  135. ----------------------------------------
  136. Exception happened during processing of request from ('::ffff:192.168.1.22', 51079, 0, 0)
  137. Traceback (most recent call last):
  138. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  139. self.process_request(request, client_address)
  140. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  141. self.finish_request(request, client_address)
  142. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  143. self.RequestHandlerClass(request, client_address, self)
  144. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  145. self.handle()
  146. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  147. self.handle_one_request()
  148. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  149. method()
  150. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  151. self.processRequest()
  152. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  153. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  154. NameError: global name 'GPIO' is not defined
  155. ----------------------------------------
  156. ----------------------------------------
  157. Exception happened during processing of request from ('::ffff:192.168.1.22', 51080, 0, 0)
  158. Traceback (most recent call last):
  159. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  160. self.process_request(request, client_address)
  161. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  162. self.finish_request(request, client_address)
  163. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  164. self.RequestHandlerClass(request, client_address, self)
  165. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  166. self.handle()
  167. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  168. self.handle_one_request()
  169. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  170. method()
  171. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  172. self.processRequest()
  173. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  174. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  175. NameError: global name 'GPIO' is not defined
  176. ----------------------------------------
  177. ----------------------------------------
  178. Exception happened during processing of request from ('::ffff:192.168.1.22', 51081, 0, 0)
  179. Traceback (most recent call last):
  180. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  181. self.process_request(request, client_address)
  182. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  183. self.finish_request(request, client_address)
  184. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  185. self.RequestHandlerClass(request, client_address, self)
  186. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  187. self.handle()
  188. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  189. self.handle_one_request()
  190. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  191. method()
  192. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  193. self.processRequest()
  194. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  195. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  196. NameError: global name 'GPIO' is not defined
  197. ----------------------------------------
  198. ----------------------------------------
  199. Exception happened during processing of request from ('::ffff:192.168.1.22', 51082, 0, 0)
  200. Traceback (most recent call last):
  201. File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  202. self.process_request(request, client_address)
  203. File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  204. self.finish_request(request, client_address)
  205. File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  206. self.RequestHandlerClass(request, client_address, self)
  207. File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  208. self.handle()
  209. File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  210. self.handle_one_request()
  211. File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  212. method()
  213. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 267, in do_GET
  214. self.processRequest()
  215. File "build/bdist.linux-armv7l/egg/webiopi/protocols/http.py", line 258, in processRequest
  216. except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
  217. NameError: global name 'GPIO' is not defined
  218. ----------------------------------------
  219. ----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment