[New-bugs-announce] [issue15344] devinabox: failure when running make_a_box multiple times

Eric Snow report at bugs.python.org
Fri Jul 13 06:49:05 CEST 2012


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

When running make_a_box.py:

Fetching Mercurial ...
make_a_box.py:197: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=6>
  file_url = self._download_url()
Traceback (most recent call last):
  File "make_a_box.py", line 323, in <module>
    ins.create()
  File "make_a_box.py", line 219, in create
    self._create_mercurial()
  File "make_a_box.py", line 200, in _create_mercurial
    with open(os.path.join(self.directory, file_name), 'wb') as file:
IsADirectoryError: [Errno 21] Is a directory: 'Mercurial/'

Apparently running it more than once requires that you delete some things first.

----------
messages: 165354
nosy: brett.cannon, eric.snow
priority: normal
severity: normal
status: open
title: devinabox: failure when running make_a_box multiple times
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15344>
_______________________________________


More information about the New-bugs-announce mailing list