make smart show non-cryptic error message on path noth available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Wishlist
|
Unassigned |
Bug Description
Imported: http://
Reason: Issue Review. Bug. Better file/error handling required?
further details: https:/
msg1318 (view) Author: casualprogrammer Date: 2008-02-16.19:38:47
For space reasons I replaced the directory /var/lib/
symbolic link to an external (firewire) drive with ample space.
While running smart update with the drive not present, smart issues the
following message:
Traceback (most recent call last):
File "/usr/lib/
line 180, in callback
exec code in globals
File "<callback>", line 1, in <module>
File "/usr/lib/
line 424, in applyChanges
if self._ctrl.
File "/usr/lib/
commitTransaction
return self.commitChan
File "/usr/lib/
commitChangeSet
caching)
File "/usr/lib/
fetchPackages
os.
File "/usr/lib/
mkdir(name, mode)
OSError: [Errno 17] File exists: '/var/lib/
While the last line is probably the result of smart not being able to create the
packages directory because of the existing link, it could state that a link
exists whose target is missing, instead of this correct but rather cryptic message.
Changed in smart: | |
importance: | Undecided → Wishlist |