Skip to content

test_tarfile error on cygwin (Directory not empty) #48088

Closed

Description

@ocean-city
BPO 3838
Nosy @gustaebel
Files
  • test_tarfile.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-09-21.11:59:05.396>
    created_at = <Date 2008-09-11.17:59:32.565>
    labels = ['easy']
    title = 'test_tarfile error on cygwin (Directory not empty)'
    updated_at = <Date 2008-09-21.11:59:05.360>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2008-09-21.11:59:05.360>
    actor = 'ocean-city'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-09-21.11:59:05.396>
    closer = 'ocean-city'
    components = []
    creation = <Date 2008-09-11.17:59:32.565>
    creator = 'ocean-city'
    dependencies = []
    files = ['11465']
    hgrepos = []
    issue_num = 3838
    keywords = ['patch', 'easy']
    message_count = 3.0
    messages = ['73044', '73509', '73510']
    nosy_count = 2.0
    nosy_names = ['lars.gustaebel', 'ocean-city']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue3838'
    versions = ['Python 2.6', 'Python 3.0']

    Activity

    1. ocean-city commented on Sep 11, 2008

      ocean-citymannequin
      MannequinAuthor

      This differs from bpo-3824. test_tarfile claims following error at the
      end of test.

      Traceback (most recent call last):
        File "test_tarfile.py", line 1210, in <module>
          test_main()
        File "test_tarfile.py", line 1207, in test_main
          shutil.rmtree(TEMPDIR)
        File "/home/WhiteRabbit/python-dev/trunk/Lib/shutil.py", line 225, in
      rmtree
          onerror(os.rmdir, path, sys.exc_info())
        File "/home/WhiteRabbit/python-dev/trunk/Lib/shutil.py", line 223, in
      rmtree
          os.rmdir(path)
      OSError: [Errno 90] Directory not empty:
      '/cygdrive/c/DOCUME~1/WHITER~1/LOCALS~1
      /Temp/test_tarfile_tmp'

      I've attached patch.

    2. gustaebel commented on Sep 21, 2008

      gustaebelmannequin
      Mannequin

      The patch is okay. Go ahead.

      BTW, I've never used Cygwin before, is it always that slow? 10 minutes
      for a configure script on a recent machine is a real pain.

    3. ocean-city commented on Sep 21, 2008

      ocean-citymannequin
      MannequinAuthor

      Thanks, fixed in trunk(r66539) and py3k(r66540).

      BTW, I've never used Cygwin before, is it always that slow? 10 minutes
      for a configure script on a recent machine is a real pain.

      Yes, that's really painful. On my box, I can eat dinner and take a bath
      while configure & make. :-)

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions