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.

Error -609 when sending photos to trash

#19

Traceback (most recent call last):

 File "hs/cocoa.pyc", line 42, in _async_run
 File "dupeguru/app_pe_cocoa.pyc", line 150, in _do_delete
 File "appscript/reference.pyc", line 544, in __getattr__
 File "appscript/reference.pyc", line 234, in <lambda>
 File "appscript/reference.pyc", line 222, in connect
 File "appscript/terminology.pyc", line 165, in tablesforapp
 File "appscript/terminology.pyc", line 137, in aetesforapp
RuntimeError: Can't get terminology for application (aem.Application(u'/Applications/iPhoto.app')): CommandError: Connection is invalid. (-609)

My best bet would be to add a "timeout=0" on the first command sent to iPhoto. It might be too slow on some machines to launch.

Reported by Virgil Dupras · June 5th, 2009 @ 09:30 AM

State: fixed
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras

    I'm also getting:

    Traceback (most recent call last):
      File "hs/cocoa.pyc", line 42, in_async_run
      File "dupeguru/app_pe_cocoa.pyc", line 153, in _do_delete
      File "appscript/reference.pyc", line 609, in __call__
      File "appscript/reference.pyc", line 467, in __call__
    CommandError:
    CommandError:
      OSERROR: -609
      MESSAGE: Connection is invalid.
      COMMAND:
    app(u'/Applications/iPhoto.app').photos.ID(4294969911L).image_path.get()
    

    I think this one is because the user closed iPhoto in the middle of the task.

    June 5th, 2009 @ 09:34 AM

  2. Virgil Dupras
    Virgil Dupras
    • Milestone set to se2.7.2 me5.6.2 pe1.7.3

    [milestone:ID#41804 bulk edit command]

    June 6th, 2009 @ 01:33 PM

  3. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    June 6th, 2009 @ 04:55 PM

  4. Virgil Dupras
    Virgil Dupras
    • State changed from new to hold

    (from [9]) [#19 Error -609 when sending photos to trash state:hold] Added "timeout=0" args to appscript call. Let's try and see if it helps.

    June 6th, 2009 @ 05:22 PM

  5. Virgil Dupras
    Virgil Dupras
    • State changed from hold to fixed

    Well, no news. Let's assume it's alright and re-open the ticket if needed

    June 10th, 2009 @ 05:43 PM

  6. Virgil Dupras
    Virgil Dupras
    • State changed from fixed to open

    Looks like it isn't fixed after all:

    Application Identifier: com.hardcoded_software.dupeguru_pe
    Application Version: 1.7.3
    
    Traceback (most recent call last):
      File "hsutil/cocoa.pyc", line 45, in _async_run
      File "dupeguru/app_pe_cocoa.pyc", line 153, in _do_delete
      File "hsutil/cocoa.pyc", line 73, in as_fetch
      File "appscript/reference.pyc", line 609, in __call__
      File "appscript/reference.pyc", line 475, in __call__
    CommandError: CommandError:
            OSERROR: -609
            MESSAGE: Connection is invalid.
            COMMAND: app(u'/Applications/iPhoto.app').albums.ID(4295966296L).photos[20001:21000].get()
    

    June 12th, 2009 @ 08:34 AM

  7. Virgil Dupras
  8. Virgil Dupras
    Virgil Dupras
    • Milestone set to se2.7.3 me5.6.3 pe1.7.4

    [milestone:ID#42447 bulk edit command]

    June 14th, 2009 @ 03:41 PM

  9. Virgil Dupras
    Virgil Dupras
    • State changed from open to fixed

    (from [88]) [#19 Error -609 when sending photos to trash state:fixed] Now there are "timeout=0" args in every AS calls. It has to work.

    June 19th, 2009 @ 12:51 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.