'NoneType found' error during update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Not sure what could have caused this. After re-running 'smart update' the error went away.
This is on Ubuntu Karmic, with smart 1.2-4.
-> http://
Release [ 30%]
Traceback (most recent call last):
File "/usr/bin/smart", line 195, in <module>
main(
File "/usr/bin/smart", line 168, in main
exitcode = iface.run(
File "/usr/lib/
result = _command.
File "/usr/lib/
failed = not ctrl.reloadChan
File "/usr/lib/
if not channel.
File "/usr/lib/
self.
File "/usr/lib/
command = " ".join(arguments)
TypeError: sequence item 9: expected string, NoneType found
Changed in smart: | |
status: | New → Incomplete |
"sequence item 9" would be "release_ gpg_item. getTargetPath( )". So it looks like it was None, even though "release_ gpg_item. getFailedReason ()" was None. Maybe it should also check for "release_ gpg_item. getStatus( ) != SUCCEEDED" ?