https://bugzilla.novell.com/show_bug.cgi?id=439687 User felix@derklecks.de added comment https://bugzilla.novell.com/show_bug.cgi?id=439687#c433565 Summary: bzr does not work correctly with python 2.6 Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: kssingvo@novell.com ReportedBy: felix@derklecks.de QAContact: qa@suse.de Found By: --- HI, this is a follow up of bug #433565 which has been marked as a duplicate of my original bug #425644. Sadly #433565 is right and there are still issues. I am running bzr 1.6.1 from todays factory. I hit today: m@macbook:~/computer_networks/document> bzr diff bzr: ERROR: exceptions.AttributeError: 'builtin_function_or_method' object has no attribute 'new' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 797, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 818, in ignore_pipe result = func(*args, **kwargs) File "/usr/lib/python2.6/site-packages/bzrlib/builtins.py", line 1479, in run extra_trees=extra_trees, using=using) File "/usr/lib/python2.6/site-packages/bzrlib/diff.py", line 429, in show_diff_trees return differ.show_diff(specific_files, extra_trees) File "/usr/lib/python2.6/site-packages/bzrlib/diff.py", line 853, in show_diff return self._show_diff(specific_files, extra_trees) File "/usr/lib/python2.6/site-packages/bzrlib/diff.py", line 876, in _show_diff executable) in sorted(iterator, key=changes_key): File "/usr/lib/python2.6/site-packages/bzrlib/workingtree_4.py", line 2455, in iter_changes result = _process_entry(current_entry, current_path_info) File "/usr/lib/python2.6/site-packages/bzrlib/workingtree_4.py", line 2013, in _process_entry stat_value=path_info[3]) File "/usr/lib/python2.6/site-packages/bzrlib/dirstate.py", line 1511, in update_entry link_or_sha1 = self._sha1_file(abspath) File "/usr/lib/python2.6/site-packages/bzrlib/osutils.py", line 608, in sha_file_by_name s = sha.new() and: fm@macbook:~/computer_networks> bzr ci "initial import" /usr/lib/python2.6/site-packages/bzrlib/testament.py:73: DeprecationWarning: the sha module is deprecated; use the hashlib module instead from sha import sha bzr: ERROR: Path(s) are not versioned: "initial import" fm@macbook:~/computer_networks> bzr ci -m "initial import" /usr/lib/python2.6/site-packages/bzrlib/testament.py:73: DeprecationWarning: the sha module is deprecated; use the hashlib module instead from sha import sha /usr/lib/python2.6/site-packages/bzrlib/lazy_import.py:195: DeprecationWarning: the md5 module is deprecated; use hashlib instead module = __import__(module_python_path, scope, scope, []) Committing to: /home/fm/computer_networks/ The release notes on http://doc.bazaar-vcs.org/bzr.1.8/en/release-notes/NEWS.html#bzr-1-8-2008-10... state that now all python 2.6 test cases are passed. I think it might be a good idea to update as this probably will be the only supported by upstream and the only bzr version that really works. Sorry Klaus for rechecking so late. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.