Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

AttributeError: 'NoneType' object has no attribute 'checkcache' #1081

Open
cooldean32 opened this issue Aug 3, 2017 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'checkcache' #1081

cooldean32 opened this issue Aug 3, 2017 · 0 comments

Comments

@cooldean32
Copy link

Hello Sir/Madam,

I am new in Python. I am wondering if there is any one who can fix the error message for me in Eclipse Pydev. Actually, the sourcecode is downloaded from website and I try to import an Django Porject. I want to see how it works step by setp.

I run & debug manage.py in Pydev and get an error below. I hope someone can give some advice. Any suggestion is highly appreciated. Thanks.

Regards, Dean

Linux Debian 6
Python 2.7
Eclipse Naen + PyDev

==============Error Message==================
warning: Debugger speedups using cython not found. Run '"/usr/bin/python" "/home/deanhuang/Documents/eclipse-jee-neon-3-linux-gtk/plugins/org.python.pydev_5.8.0.201706061859/pysrc/setup_cython.py" build_ext --inplace' to build.
pydev debugger: starting (pid: 4375)
Finding files... done.
Importing test modules ... done.
Creating test database for alias 'default'...
Ran 0 tests in 0.000s
OK
Destroying test database for alias 'default'...
Unhandled exception in thread started by <bound method DumpThreads.__bootstrap of <DumpThreads(Thread-6, stopped daemon -1251673232)>>
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 525, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib/python2.7/threading.py", line 565, in __bootstrap_inner
(self.name, _format_exc()))
File "/usr/lib/python2.7/traceback.py", line 241, in format_exc
return ''.join(format_exception(etype, value, tb, limit))
File "/usr/lib/python2.7/traceback.py", line 141, in format_exception
list = list + format_tb(tb, limit)
File "/usr/lib/python2.7/traceback.py", line 76, in format_tb
return format_list(extract_tb(tb, limit))
File "/usr/lib/python2.7/traceback.py", line 100, in extract_tb
linecache.checkcache(filename)
AttributeError: 'NoneType' object has no attribute 'checkcache'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant