pixelated / pixelated-user-agent

User facing components of Pixelated: a JavaScript single page app and a RESTful service.
GNU Affero General Public License v3.0
159 stars 72 forks source link

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

Open cooldean32 opened 7 years ago

cooldean32 commented 7 years ago

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'