Hide Forgot
Version-Release number of selected component: meld-1.8.2-1.fc19 Additional info: reporter: libreport-2.1.9 cmdline: python /usr/bin/meld executable: /usr/bin/meld kernel: 3.11.7-200.fc19.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: __init__.py:86:get_vcs:ValueError: max() arg is an empty sequence Traceback (most recent call last): File "/usr/share/meld/meld/meldwindow.py", line 245, in on_widget_drag_data_received self.open_paths(paths) File "/usr/share/meld/meld/meldwindow.py", line 791, in open_paths self._single_file_open(a) File "/usr/share/meld/meld/meldwindow.py", line 781, in _single_file_open doc.set_location(path) File "/usr/share/meld/meld/vcview.py", line 395, in set_location self.choose_vc(vc.get_vcs(os.path.abspath(location or "."))) File "/usr/share/meld/meld/vc/__init__.py", line 86, in get_vcs max_depth = max(len(vc.root) for vc in vcs if vc.VC_ROOT_WALK) ValueError: max() arg is an empty sequence Local variables in innermost frame: vcs: [] location: '/home/ARIKO/.etwolf/etmain/profiles/ARIKO-2-POTAGER/etconfig.cfg' plugin: <module 'meld.vc.svn_17' from '/usr/share/meld/meld/vc/svn_17.pyc'>
Created attachment 827549 [details] File: backtrace
Created attachment 827550 [details] File: environ
Description of problem: view stunnel source code. Provide one dir-name meld stunnel-4.20/ & Version-Release number of selected component: meld-1.8.2-1.fc19 Additional info: reporter: libreport-2.1.9 cmdline: python /usr/bin/meld stunnel-4.20/ executable: /usr/bin/meld kernel: 3.11.9-200.fc19.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: __init__.py:86:get_vcs:ValueError: max() arg is an empty sequence Traceback (most recent call last): File "/usr/bin/meld", line 173, in <module> main() File "/usr/bin/meld", line 165, in main new_window = app.parse_args(sys.argv[1:]) File "/usr/share/meld/meld/meldapp.py", line 169, in parse_args tab = open_paths(args, options.auto_compare, options.auto_merge) File "/usr/share/meld/meld/meldwindow.py", line 793, in open_paths tab = self.append_vcview(a, auto_compare) File "/usr/share/meld/meld/meldwindow.py", line 753, in append_vcview doc.set_location(location) File "/usr/share/meld/meld/vcview.py", line 395, in set_location self.choose_vc(vc.get_vcs(os.path.abspath(location or "."))) File "/usr/share/meld/meld/vc/__init__.py", line 86, in get_vcs max_depth = max(len(vc.root) for vc in vcs if vc.VC_ROOT_WALK) ValueError: max() arg is an empty sequence Local variables in innermost frame: vcs: [] location: '/home/dimhen/src/stunnel/stunnel-4.20' plugin: <module 'meld.vc.svn_17' from '/usr/share/meld/meld/vc/svn_17.pyc'>
same is also achieved by: 1) execute meld 2) choose "Version control view" in "New comparison" tab 3) select a directory from a version control checkout (cvs in my case) 4) click "Compare" Traceback (most recent call last): File "/usr/share/meld/meld/newdifftab.py", line 115, in on_button_compare_clicked tab = self.diff_methods[self.diff_type](compare_paths) File "/usr/share/meld/meld/meldwindow.py", line 753, in append_vcview doc.set_location(location) File "/usr/share/meld/meld/vcview.py", line 395, in set_location self.choose_vc(vc.get_vcs(os.path.abspath(location or "."))) File "/usr/share/meld/meld/vc/__init__.py", line 86, in get_vcs max_depth = max(len(vc.root) for vc in vcs if vc.VC_ROOT_WALK) ValueError: max() arg is an empty sequence
Other way to reproduce: in a folder with a CVS checkout, run $ meld .
looks like https://bugzilla.gnome.org/show_bug.cgi?id=721784
The fix is included in 1.8.4, please update.