Am Donnerstag, den 20.12.2007, 16:10 +0000 schrieb Gary van der Merwe:
> Public bug reported:
>
> Steps to reproduce:
> * Remove file from tree
> * bzr gdiff
>
> Actual results:
> * The following error is writen to the console:
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/diff.py", line 382, in _treeview_cursor_cb
> self.diff_view.show_diff(specific_files)
> File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/diff.py", line 242, in show_diff
> old_label='', new_label='',
> File "/usr/lib/python2.5/site-packages/bzrlib/diff.py", line 378, in show_diff_trees
> return differ.show_diff(specific_files, extra_trees)
> File "/usr/lib/python2.5/site-packages/bzrlib/diff.py", line 710, in show_diff
> self.diff(file_id, path, path)
> File "/usr/lib/python2.5/site-packages/bzrlib/diff.py", line 743, in diff
> old_kind = self.old_tree.kind(file_id)
> File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 545, in kind
> return self._kind(relpath)
> File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 549, in _kind
> kind = file_kind(abspath)
> File "/usr/lib/python2.5/site-packages/bzrlib/osutils.py", line 153, in file_kind
> raise errors.NoSuchFile(f)
> bzrlib.errors.NoSuchFile: No such file: u'/home/garyvdm/picard/dev/resources/images/22x22/media-playback-start.png'
>
> Expected results:
> * No error written to the console.
I think it's actually correct that it is not showing you anything but
giving an error. It should display a single-line error rather than a
traceback though.
status triaged
importance low
summary "Don't print traceback for NoSuchFile error"
Am Donnerstag, den 20.12.2007, 16:10 +0000 schrieb Gary van der Merwe: python2. 5/site- packages/ bzrlib/ plugins/ gtk/diff. py", line 382, in _treeview_cursor_cb view.show_ diff(specific_ files) python2. 5/site- packages/ bzrlib/ plugins/ gtk/diff. py", line 242, in show_diff python2. 5/site- packages/ bzrlib/ diff.py" , line 378, in show_diff_trees show_diff( specific_ files, extra_trees) python2. 5/site- packages/ bzrlib/ diff.py" , line 710, in show_diff python2. 5/site- packages/ bzrlib/ diff.py" , line 743, in diff tree.kind( file_id) python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 545, in kind python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 549, in _kind python2. 5/site- packages/ bzrlib/ osutils. py", line 153, in file_kind NoSuchFile( f) errors. NoSuchFile: No such file: u'/home/ garyvdm/ picard/ dev/resources/ images/ 22x22/media- playback- start.png'
> Public bug reported:
>
> Steps to reproduce:
> * Remove file from tree
> * bzr gdiff
>
> Actual results:
> * The following error is writen to the console:
> Traceback (most recent call last):
> File "/usr/lib/
> self.diff_
> File "/usr/lib/
> old_label='', new_label='',
> File "/usr/lib/
> return differ.
> File "/usr/lib/
> self.diff(file_id, path, path)
> File "/usr/lib/
> old_kind = self.old_
> File "/usr/lib/
> return self._kind(relpath)
> File "/usr/lib/
> kind = file_kind(abspath)
> File "/usr/lib/
> raise errors.
> bzrlib.
>
> Expected results:
> * No error written to the console.
I think it's actually correct that it is not showing you anything but
giving an error. It should display a single-line error rather than a
traceback though.
status triaged
importance low
summary "Don't print traceback for NoSuchFile error"
Cheers,
Jelmer samba.org/ ~jelmer/
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>