The problem seems to be caused by `inspect` module importing
`collections` module (`from collections import namedtuple` in the
above traceback). For some reason this doesn't import the Python
standard module `collections` but instead the Robot Framework standard
test library `Collections`. Python module imports are by default
case-sensitive, but I just learned [1] that there is an environment
variable `PYTHONCASEOK` that can be used to make imports
case-insensitive. Could you check do you have that environment
variable set and possibly remove it?
> I've tried doing a clean reinstall of python several times but can't
> seem to figure this out.
I doubt uninstall removes environment variables so `PYTHONCASEOK`
could still cause this problem. If that's the case, we need to
document this in the installation instructions and also think could we
solve this somehow in the framework itself. In a retrospect
`Collections` was somewhat bad name for this library but renaming it
at this point probably isn't that good idea.
[1] http://www.python.org/dev/peps/pep-0235/
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
Great that the fix was this simple. I submitted an issue about
documenting that this environment variable should not be set (or
fixing this somehow otherwise):
http://code.google.com/p/robotframework/issues/detail?id=590