#71 ✓fixed
Virgil Dupras

AlreadyExistsError during auto fs update

Reported by Virgil Dupras | October 14th, 2009 @ 03:04 PM | in se2.9 (closed)

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'

Comments and changes to this ticket

  • Virgil Dupras

    Virgil Dupras October 14th, 2009 @ 04:44 PM

    • Assigned user set to “Virgil Dupras”
    • State changed from “new” to “accepted”
  • Virgil Dupras

    Virgil Dupras October 14th, 2009 @ 05:04 PM

    • 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.

  • Virgil Dupras

    Virgil Dupras October 27th, 2009 @ 12:28 PM

    • 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.

  • Virgil Dupras

    Virgil Dupras October 29th, 2009 @ 01:23 PM

    • 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?)...

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages