Author Topic: Unable to catalog external drive  (Read 2556 times)

Offline jarle

  • Member
  • **
  • Posts: 52
    • View Profile
Unable to catalog external drive
« on: December 02, 2020, 12:33:54 AM »
Cannot catalog external hard drive.

MacBook Pro (16-inch, 2019), Catalina 10.15.7, 4 TB NTFS formatted drive, PM Plus Version 6.0, build 5376 (14f9534).

I can browse the disk just fine, but trying to catalog it results in an endless list of error messages:

Wed 09:09:48] Error: SharePointManager.try_create_sharepoint: failed to create or read sharepoint record at: "/Volumes/Seagate 4TB/" - Read-only file system @ rb_sysopen - /Volumes/Seagate 4TB/.pmshare
    ./archive/common/am_pathing.rb:502:in `initialize'
    ./archive/common/am_pathing.rb:502:in `open'
    ./archive/common/am_pathing.rb:502:in `write_sharepoint_rec'
    ./archive/common/am_pathing.rb:348:in `try_create_sharepoint'
    ./archive/common/am_pathing.rb:327:in `block in create_sharepoint_closest_to_prefix'
    ./archive/common/am_pathing.rb:324:in `loop'
    ./archive/common/am_pathing.rb:324:in `create_sharepoint_closest_to_prefix'
    ./archive/common/am_pathing.rb:315:in `create_sharepoint_unless_exists'
    ./archive/common/am_pathing.rb:642:in `block in metadata_records_ensure_share_point_mappings'
    ./archive/common/am_pathing.rb:640:in `each'
    ./archive/common/am_pathing.rb:640:in `metadata_records_ensure_share_point_mappings'
    ./archive/app/am.rb:708:in `fetch_metadata_for_partitioned_filelist'
    ./archive/app/scanner_task.rb:174:in `fetch_metadata_and_add_documents'
    ./archive/app/scanner_task.rb:144:in `block in schedule_metadata_add_on_fiber'
    /Applications/Photo Mechanic Plus.app/Contents/pmruby/lib/ruby/site_ruby/2.2.0/cila/fiberpool.rb:60:in `call'
    /Applications/Photo Mechanic Plus.app/Contents/pmruby/lib/ruby/site_ruby/2.2.0/cila/fiberpool.rb:60:in `block in add_fiber'


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Unable to catalog external drive
« Reply #1 on: December 02, 2020, 09:20:13 AM »
Cannot catalog external hard drive.

MacBook Pro (16-inch, 2019), Catalina 10.15.7, 4 TB NTFS formatted drive, PM Plus Version 6.0, build 5376 (14f9534).

I can browse the disk just fine, but trying to catalog it results in an endless list of error messages:

Wed 09:09:48] Error: SharePointManager.try_create_sharepoint: failed to create or read sharepoint record at: "/Volumes/Seagate 4TB/" - Read-only file system @ rb_sysopen - /Volumes/Seagate 4TB/.pmshare

We'll have to report the error better and not keep retrying.  In order to track a drive, Photo Mechanic Plus needs to write a small file as close to the root of the disk as possible.  Because your disk is read-only, it can't be cataloged.  It would likely work on Windows since that's a native file system on the Windows platform and the disk would be writable.

-Kirk

Offline Bill Kelly

  • Software Developer
  • Full Member
  • ***
  • Posts: 131
    • View Profile
    • Camera Bits, Inc.
Re: Unable to catalog external drive
« Reply #2 on: December 02, 2020, 10:43:38 AM »
Because your disk is read-only, it can't be cataloged.

Just to follow-up: We're exploring a solution to catalogging read-only media, which we hope to include in a future build.