Is there something in on of these functions (the .list() or .connect() that is killing the compile process?
You mean "is there something in these functions that makes use of a library that can not be found/was not imported". The answer is most likely yes.