Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Common Issues
error "'module' object has no attribute '__main_leaf__'"
After running remote_commit, sometimes all tests fail with the above error. It means there's a clock sync issue between the commit environment and the test server. Because python uses the datestamp to figure out if it should recompile *.pyc's, having incorrect clocks can mess things up.
I'm not sure why things will work a lot, and then suddenly fail, but the either of the following should fix it:
- Reset your clock in your dev VMVirtual Machine back a few minutes/hours/whatever
- Remove all *.pyc files from everywhere - your environment and your directory on the server (/proj/testing/commits/YOUR_NAME/)