Advertisement
skeeney

Untitled

Mar 23rd, 2013
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. $ export PYTHONDEBUG=Y && ./texturecache.py c movies "artist"
  2. Querying 192.168.0.7:9090 for all Movies...
  3.  
  4. 2013-03-23 12:21:07.439259: SENDING JSON REQUEST
  5. 2013-03-23 12:21:07.534405: BUFFER RECEIVED (len 468)
  6. 2013-03-23 12:21:07.534595: CONVERTING RESPONSE
  7. 2013-03-23 12:21:07.534741: CONVERSION COMPLETE, elapsed time: 0.095385 seconds
  8. 2013-03-23 12:21:07.534810: RECEIVED LIMITS: {u'start': 0, u'total': 1, u'end': 1}
  9. Movie: The Artist send: 'POST /jsonrpc HTTP/1.1\r\nHost: 192.168.0.7:8080\r\nAccept-Encoding: identity\r\nContent-Length: 161\r\nContent-Type: application/json\r\n\r\n{"jsonrpc": "2.0", "params": {"path": "image://smb%3a%2f%2fW7MC%2fHDfilms4%2fThe%20Artist%20(2011)%2ffanart.jpg/"}, "method": "Files.PrepareDownload", "id": "1"}'
  10. reply: 'HTTP/1.1 200 OK\r\n'
  11. header: Content-Length: 198
  12. header: Content-Type: application/json
  13. header: Date: Sat, 23 Mar 2013 12:21:07 GMT
  14. send: u'GET /image/image%3a%2f%2fsmb%253a%252f%252fW7MC%252fHDfilms4%252fThe%2520Artist%2520(2011)%252ffanart.jpg%2f HTTP/1.1\r\nHost: 192.168.0.7:8080\r\nAccept-Encoding: identity\r\n\r\n'
  15. reply: 'HTTP/1.1 200 OK\r\n'
  16. header: Content-Length: 402669
  17. header: Expires: Sun, 23 Mar 2014 12:21:07 GMT
  18. header: Date: Sat, 23 Mar 2013 12:21:07 GMT
  19. [ + fanart ]send: 'POST /jsonrpc HTTP/1.1\r\nHost: 192.168.0.7:8080\r\nAccept-Encoding: identity\r\nContent-Length: 192\r\nContent-Type: application/json\r\n\r\n{"jsonrpc": "2.0", "params": {"path": "image://http%3a%2f%2fd3gtl9l2a4fn1j.cloudfront.net%2ft%2fp%2foriginal%2fi0mpvMIIjyubXsVKug9vX0lYpnd.jpg/"}, "method": "Files.PrepareDownload", "id": "1"}'
  20. reply: ''
  21. Traceback (most recent call last):
  22. File "./texturecache.py", line 1341, in <module>
  23. main(sys.argv[1:])
  24. File "./texturecache.py", line 1304, in main
  25. libraryQuery("cache", argv[1], argv[2])
  26. File "./texturecache.py", line 355, in libraryQuery
  27. libraryAllMovies(action, filter, force, extraFields, rescan)
  28. File "./texturecache.py", line 482, in libraryAllMovies
  29. for artwork in art: loadImage(force, artwork, art[artwork], imgErrors)
  30. File "./texturecache.py", line 786, in loadImage
  31. URL = getImageURL(filename)
  32. File "./texturecache.py", line 763, in getImageURL
  33. data = sendJSON(REQUEST, "1")
  34. File "./texturecache.py", line 271, in sendJSON
  35. return json.loads(web.getresponse().read())
  36. File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
  37. response.begin()
  38. File "/usr/lib/python2.7/httplib.py", line 407, in begin
  39. version, status, reason = self._read_status()
  40. File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
  41. raise BadStatusLine(line)
  42. httplib.BadStatusLine: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement