I'm getting the exact same error anytime I try to publish any changes to any themes. The only way i have found to solve the issue is to delete and reinstall c5. This is very frustrating and preventing the use of this tool. Please let me know if anyone can help out.
What did you do and when does this happen?