Errors while opening serial port

Turned off brewpi spark for a few hours and now can’t do anything. Update script gives:

Checking current firmware version…
Apr 23 2016 18:51:36 Opening serial port
Apr 23 2016 18:51:47 Errors while opening serial port:
Could not find compatible serial devices

Unable to receive version from controller.
Is your controller unresponsive and do you wish to try restoring your firmware? [y/N]:
y
Traceback (most recent call last):
File “/home/brewpi/utils/updateFirmware.py”, line 263, in
result = updateFromGitHub(userInput=userInput, beta=beta, useDfu=useDfu)
File “/home/brewpi/utils/updateFirmware.py”, line 76, in updateFromGitHub
if “Particle” in name:
TypeError: argument of type ‘NoneType’ is not iterable

Web interface gives:
Apr 23 2016 18:53:07 Opening serial port
Apr 23 2016 18:53:17 Errors while opening serial port:
Could not find compatible serial devices

Please help asap .

What do you see on the screen of the BrewPi Spark?

It seems like it does not have a good USB connection.

If you think the firmware got wiped or something, run flashDfu:

sudo python /home/brewpi/utils/flashDfu.py --autodfu

Brewpi is is still in previous mode and is receiving power, and previously data, over the USB. No cables were moves when turned off as it is mounted.

Unplugging and plugging USB resolved. So bizarre as it was mounted with cabling not moving. Thanks for the help☺

Very strange. It is possible to for the USB power pins to connect with the data pins making contact. Maybe when replugging it, you pushed it in just a bit further.