Skip to content

Instantly share code, notes, and snippets.

@ajeddeloh
Created May 25, 2016 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeddeloh/7de4321afa807b070134b4153b4fe4f6 to your computer and use it in GitHub Desktop.
Save ajeddeloh/7de4321afa807b070134b4153b4fe4f6 to your computer and use it in GitHub Desktop.
Running devserver as root
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>500 Internal Server Error</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>500 Internal Server Error</h2>
<p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
<pre id="traceback">Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib64/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/devserver/devserver.py", line 375, in build
return self._builder.Build(board, pkg, kwargs)
File "/usr/lib64/devserver/builder.py", line 203, in Build
if (self._ShouldBeWorkedOn(board, pkg) and
File "/usr/lib64/devserver/builder.py", line 175, in _ShouldBeWorkedOn
if pkg in _OutputOf(['cros_workon', '--board=' + board, 'list']):
File "/usr/lib64/devserver/builder.py", line 42, in _OutputOf
raise subprocess.CalledProcessError(p.returncode, command_name)
CalledProcessError: Command 'cros_workon --board=amd64-usr list' returned non-zero exit status 1
</pre>
<div id="powered_by">
<span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.2</a></span>
</div>
</body>
</html>
Running devserver as normal user
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>500 Internal Server Error</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>500 Internal Server Error</h2>
<p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
<pre id="traceback">Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib64/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/devserver/devserver.py", line 375, in build
return self._builder.Build(board, pkg, kwargs)
File "/usr/lib64/devserver/builder.py", line 219, in Build
if not UpdateGmergeBinhost(board, pkg, deep):
File "/usr/lib64/devserver/builder.py", line 150, in UpdateGmergeBinhost
old_build_time, = gmerge_tree.dbapi.aux_get(pkg, ['BUILD_TIME'])
File "/usr/lib64/python2.7/site-packages/portage/dbapi/bintree.py", line 139, in aux_get
aux_cache = self.cpvdict[instance_key]
KeyError: (u'sys-fs/e2fsprogs-1.42.13', None, 2087956L, 1464212310L, 1464212310L)
</pre>
<div id="powered_by">
<span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.2</a></span>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment