Robotics StackExchange | Archived questions

turtlebot and coffeebot webserver open problems : No JSON object could be decoded ?

Hi! I currently learn turtlebot's application on following websites:

1."Configure CoffeeBot’s Web Server": http://learn.turtlebot.com/2015/02/01/20/

2.Markwsilliman's github: https://github.com/markwsilliman?tab=overview&from=2017-03-01&to=2017-03-31&utf8=%E2%9C%93

My goal is to order a coffee (robot driving to specific location) through a chrome extension.

Now I have succeed to create an "ec2" for server, and also sudo git clone https://github.com/markwsilliman/turtlebot-server/

but when I perform the script "coffee_bot.py"(this script is in Markwsilliman's github),

it viewed the ValueError "No JSON object could be decoded" image description

I have searched the problem for some times and the result is almost showed that it is because "UTF-8 files with BOM",

does it mean the script "coffee_queue.php" need to remove its BOM before perform it?

I have no idea to solve it,

could somebody help me?

very thank you for your answering!! !!

Asked by saver54012 on 2017-04-11 20:31:08 UTC

Comments

Answers