Windows support

Denys Duchier duchier at ps.uni-sb.de
Sat Jun 4 18:11:31 BST 2005


Mark <mwatts42 at gmail.com> writes:

> I see a number of comments on the list that indicate there is at least
> some support for Windows and that said support appears to be growing,
> however, the last tarball does not work.  I get the following
> traceback:
>
> Traceback (most recent call last):
>   File "bzr", line 20, in ?
>     import sys, bzrlib, bzrlib.commands
>   File "P:\bzr-0.0.4\bzrlib\__init__.py", line 19, in ?
>     from inventory import Inventory, InventoryEntry
>   File "P:\bzr-0.0.4\bzrlib\inventory.py", line 38, in ?
>     from bzrlib.osutils import uuid, quotefn, splitpath, joinpath, appendpath
>   File "P:\bzr-0.0.4\bzrlib\osutils.py", line 298, in ?
>     _rand_file = file('/dev/urandom', 'rb')
> IOError: [Errno 2] No such file or directory: '/dev/urandom'
>
> Am I doing something wrong?

No. uuid as implemented in osutils.py is not portable.  I offered a portable
replacement a while back but it hasn't made it into bzr, obviously.

-- 
Dr. Denys Duchier - IRI & LIFL - CNRS, Lille, France
+33 (0)6 25 78 25 74    http://www.lifl.fr/~duchier/




More information about the bazaar mailing list