urllib2.HTTPError: HTTP Error 500: Internal Server Error
.
Traceback (most recent call last):
File "coffee_bot.py", line 298, in <module>
while(coffebot.deliver_coffee() and not rospy.is_shutdown()):
File "coffee_bot.py", line 102, in deliver_coffee
data = json.load(urllib2.urlopen(self.server_public_dns + "/turtlebot-server/coffee_queue.php?pop"))
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
[INFO] [WallTime: 1522206985.803673] Stop
Asked by Redhwan on 2018-03-27 22:18:11 UTC
Comments
I've edited your question so that it's readable by using the Preformatted Text button (marked
101010
), but it still seems like some significant details are missing, such as the code that produces this error, and a description of what it's supposed to do.Asked by ahendrix on 2018-03-27 22:54:31 UTC
I would go a bit further and say this is not a question right now. As @ahendrix notes, we don't know anything about context or what this backtrace is supposed to tell us. Please include additional details, a link to any tutorials you are following, etc. Without those, we will not be able to help.
Asked by gvdhoorn on 2018-03-28 02:29:13 UTC