Answer the question
In order to leave comments, you need to log in
Python 2.7 threading.pyc ignored error, how to fix?
When I try to run the script, I end up with this:
Traceback (most recent call last):
File "newer.py", line 268, in <module>
main()
File "newer.py", line 263, in main
bot = LFD()
File "newer.py", line 59, in __init__
grab.tools.files.clear_directory(self.path+'/debug')
AttributeError: 'module' object has no attribute 'tools'
Exception KeyError: KeyError(46451168,) in <module 'threading' from 'C:\Python27
\lib\threading.pyc'> ignored
Answer the question
In order to leave comments, you need to log in
How do you imagine fixing your bug without the code itself? From the message, I can only say that there are no "tools" in "grab" that your code refers to.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question