Closed pylint-bot closed 8 years ago
Original comment by Sylvain Thénault (BitBucket: sthenault, GitHub: @sthenault?):
looks like the bug lies in logilab.common.modutils._module_file when it attempts to look at the init.py file content. The file doesn't exist in your case. I would be curious to understand why, but in the mean time you should add some try/except IOError (or os.path.exists) around the open() call.
Original comment by Sylvain Thénault (BitBucket: sthenault, GitHub: @sthenault?):
Will be fixed in the next logilab-common release. See http://www.logilab.org/ticket/174606 for more info and patch
Originally reported by: BitBucket: dotpot, GitHub: @dotpot?
It's all started after 1.0.0 release (0.28.0 now is not working as well (as it was working before 1.0.0 release), might be some dependant libs change on pylint end).
So pylint fails due to IOError and "missing" imports, BUT nosetests (running in the same environment) passes everything (in tests, classes using scipy are tested as well - so imports exists and everything is fine).
Here is traceback:
Any ideas? Solutions?