Closed dougthor42 closed 8 years ago
Looks like you have a pretty good grasp of the problem. Did you find a way to reproduce it outside of GitLab's environment?
Sadly no, I was unable to reproduce it outside of GitLab.
I wouldn't worry too much about it. It seems that the workaround of not using spaces in the path works very well - I haven't had any issues since.
Okay, since you can't reproduce it independently AND have a workaround, I'm going to mark it as closed. If any of that changes, feel free to reopen the issue.
Summary:
There appears to be an issue where
AttributeError: 'ModuleImportFailure' object has no attribute <truncated path>
is raised if a path as a space character in it.Removing the space from
path
seems to fix the issue, but it might be something that should be looked into for future releases.This issue is only see when ruing GitLab's Multi-Runner in a self-hosted environment - I can't reproduce it locally.
I believe that it has to do with the space in the path because the full path is:
while the error is only showing:
Notes
This only occurs when I run green using GitLab's CI. The GitLab Multi Runner is on a Windows 8.1 x64 machine, running WinPython34 (x64). In addition, all of the unit testing runs inside a python virtual environment.
I'm still working on narrowing down exactly how to reproduce it, but that could take some time. In the mean time, let me know if there's any more info you'd like me to collect.
Exception Text