Encountering an Error in Robot Framework after tests run
<p>I am new to using Robot Framework, and have run into a problem while running tests on a Jenkins server. The tests are passing, and after the tests run I get the following message:</p>

<blockquote>
  <p>Output:  /opt/bitnami/apps/jenkins/jenkins_home/jobs/Robot Test/workspace/robot/Results/output.xml</p>
  
  <p>[ ERROR ] Reading XML source '/opt/bitnami/apps/jenkins/jenkins_home/jobs/Robot Test/workspace/robot/Results/output.xml' failed: ImportError: >No module named expat; use SimpleXMLTreeBuilder instead</p>
</blockquote>

<p>I get this message regardless of what tests I run. I am not explicitly calling expat or any other xml module. </p>

<p>I am running Python 2.7.9 and Robot Framework 3.0. </p>

<p>If I run "pybot -o NONE" to cancel the logging the error goes away, but I do want the logging and do not know how to stop the error. </p>

<p>Thanks for any help you can offer.</p>

<p>In case it helps anyone who finds this, it appears that my issue was that some of the modules I installed using pip were not installed using "sudo". This led a few of them to install the module, but with errors. When I uninstalled them, and then reinstalled them with sudo, this error has not reappeared. </p>

python python-2.7 selenium jenkins robotframework