Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

AlreadyExistsError during auto fs update

#71

It seems possible for dupeGuru to stumble on an AlreadyExistsError when getting files to scan:

Application Identifier: com.hardcoded_software.dupeguru
Application Version: 2.8.1

Traceback (most recent call last):
 File "hsutil/cocoa.pyc", line 47, in _async_run
 File "dupeguru/app.pyc", line 231, in do
 File "dupeguru/directories.pyc", line 102, in get_files
 File "dupeguru/directories.pyc", line 67, in _get_files
 File "dupeguru/directories.pyc", line 67, in _get_files
 File "dupeguru/directories.pyc", line 67, in _get_files
 File "dupeguru/directories.pyc", line 67, in _get_files
 File "dupeguru/directories.pyc", line 67, in _get_files
 File "dupeguru/directories.pyc", line 67, in _get_files
 File "dupeguru/directories.pyc", line 66, in _get_files
 File "hsfs/auto.pyc", line 152, in dirs
 File "hsfs/auto.pyc", line 92, in __update_if_needed
 File "hsfs/auto.pyc", line 129, in _do_update
 File "dupeguru/app_se_cocoa.pyc", line 40, in _create_sub_file
 File "hsfs/_fs.pyc", line 236, in _create_sub_file
 File "hsfs/_fs.pyc", line 137, in __init__
 File "hsfs/_fs.pyc", line 62, in __init__
 File "hsfs/tree.pyc", line 142, in __init__
 File "hsfs/tree.pyc", line 32, in __init__
 File "hsfs/tree.pyc", line 103, in parent
 File "hsfs/_fs.pyc", line 71, in _do_before_add
AlreadyExistsError: 'web.jpg' already exists in 'S6301593'

Reported by Virgil Dupras · October 14th, 2009 @ 03:04 PM

State: fixed
Milestone: se2.9
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras
    • State changed from new to accepted

    October 14th, 2009 @ 04:44 PM

  2. Virgil Dupras
    Virgil Dupras
    • Assigned user cleared.
    • Milestone cleared.

    I can't figure out the cause of this crash, and I don't want to put ugly try..except around _create_sub_file() in auto.

    I want to make this release asap, so I'm postponing this ticket.

    October 14th, 2009 @ 05:04 PM

  3. Virgil Dupras
    Virgil Dupras
    • Milestone set to se2.9

    This is normally already fixed by the hsfs removal, but I still have to check out the code to make sure it's not possible to have 2 files with the same path in the list of scanned files.

    October 27th, 2009 @ 12:28 PM

  4. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed
    • Assigned user set to Virgil Dupras

    Bah, I really don't see how it's possible. The first error must have been a mixup in the fs.auto update mechanism (threading?)...

    October 29th, 2009 @ 01:23 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.