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

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

@cooldean32

Description

@cooldean32

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions