crashed with AttributeError in __contains__(): 'NoneType' object has no attribute '__contains__'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have installed Ubuntu-12.0.4 on my desktop. Initially, the software centre worked well. But now after clicking on it it is trying to open and within few seconds it is crashes.
Error messages:
=======
2012-07-02 11:50:41,369 - softwarecenter.
2012-07-02 11:50:41,398 - softwarecenter.
2012-07-02 11:50:41,669 - softwarecenter.
Traceback (most recent call last):
File "/usr/share/
self._cache = apt.Cache(
File "/usr/lib/
self.
File "/usr/lib/
self.
SystemError: E:Malformed line 57 in source list /etc/apt/
2012-07-02 11:50:46,610 - softwarecenter.
Traceback (most recent call last):
File "/usr/share/
tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
File "/usr/share/
if (not pkgname in self.cache and
File "/usr/share/
return self._cache.
AttributeError: 'NoneType' object has no attribute '__contains__'
Traceback (most recent call last):
File "/usr/bin/
app.run(args)
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
view_
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
whats_new_cat = self._update_
File "/usr/share/
docs = whats_new_
File "/usr/share/
nonblocking
File "/usr/share/
self.
File "/usr/share/
matches = enquire.get_mset(0, self.limit, None, xfilter)
File "/usr/share/
if (not pkgname in self.cache and
File "/usr/share/
return self._cache.
AttributeError: 'NoneType' object has no attribute '__contains__'
=======
Please do the needful.
Thanks & Regards
Ramesh Naidu
no longer affects: | canonical-identity-provider |
affects: | software-center → software-center (Ubuntu) |
summary: |
- Ubuntu software centre crashes + crashed with AttributeError in in __contains__(): 'NoneType' object has + no attribute '__contains__' |
summary: |
- crashed with AttributeError in in __contains__(): 'NoneType' object has - no attribute '__contains__' + crashed with AttributeError in __contains__(): 'NoneType' object has no + attribute '__contains__' |
Status changed to 'Confirmed' because the bug affects multiple users.