T
T
theSever2015-10-31 12:24:09
Python
theSever, 2015-10-31 12:24:09

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

1 answer(s)
V
Vladimir Martyanov, 2015-10-31
@vilgeforce

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 question

Ask a Question

731 491 924 answers to any question