_readdir_pyx.pyx in python 2.5 causes errors with bzr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool |
Bug Description
Intrepid beta, 64bit
Linux c14n 2.6.27-5-generic #1 SMP Fri Oct 3 00:36:38 UTC 2008 x86_64 GNU/Linux
joey@c14n:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu intrepid (development branch)
Release: 8.10
Codename: intrepid
joey@c14n:
Bazaar (bzr) 1.7.1
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
bzrlib: /usr/lib/
Bazaar configuration: /home/joey/.bazaar
Bazaar log file: /home/joey/.bzr.log
0.149 encoding stdout as sys.stdout encoding 'UTF-8'
0.152 bzr arguments: [u'-Dhpss', u'info', u'-v']
0.152 looking for plugins in /home/joey/
0.829 looking for plugins in /usr/lib/
0.829 Plugin name __init__ already loaded
0.829 Plugin name upload already loaded
0.829 Plugin name __init__ already loaded
0.829 Plugin name stats already loaded
0.925 encoding stdout as sys.stdout encoding 'UTF-8'
1.255 opening working tree '/home/
1.581 Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
verbose=
File "/usr/lib/
outfile)
File "/usr/lib/
_show_
File "/usr/lib/
delta = working.
File "/usr/lib/
want_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
current_
File "/usr/lib/
for _, name in sorted(
File "_readdir_pyx.pyx", line 101, in _readdir_
OSError: [Errno 17] File exists
Doing this fixes it:
sudo mv /usr/lib/
appears to be a misuse of errno; - need to set to zero before calling every C library call. Yay.