threeplanetssoftware / apple_cloud_notes_parser

Parser for Apple Notes data stored on the Cloud as seen on Apple handsets
MIT License
411 stars 26 forks source link

Docker version failing in Sonoma #85

Closed dmd closed 1 year ago

dmd commented 1 year ago

I'm using:

ghcr.io/threeplanetssoftware/apple_cloud_notes_parser   latest    fe50bbef4d04   3 days ago      288MB

I'm getting:

/app/lib/AppleNotesEmbeddedDrawing.rb:102:in `get_media_filepath': undefined method `length' for nil:NilClass (NoMethodError)

    zgeneration = "#{@uuid}/#{zgeneration}/" if zgeneration.length > 0
                                                           ^^^^^^^
    from /app/lib/AppleNotesEmbeddedDrawing.rb:23:in `initialize'
    from /app/lib/AppleNotesEmbeddedObject.rb:420:in `new'
    from /app/lib/AppleNotesEmbeddedObject.rb:420:in `block (2 levels) in generate_embedded_objects'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:200:in `block (2 levels) in execute'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/resultset.rb:126:in `each'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:199:in `block in execute'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:154:in `prepare'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:194:in `execute'
    from /app/lib/AppleNotesEmbeddedObject.rb:308:in `block in generate_embedded_objects'
    from /app/lib/AppleNotesEmbeddedObject.rb:288:in `each'
    from /app/lib/AppleNotesEmbeddedObject.rb:288:in `generate_embedded_objects'
    from /app/lib/AppleNote.rb:181:in `replace_embedded_objects'
    from /app/lib/AppleNote.rb:141:in `initialize'
    from /app/lib/AppleNoteStore.rb:766:in `new'
    from /app/lib/AppleNoteStore.rb:766:in `block in rip_note'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:200:in `block (2 levels) in execute'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/resultset.rb:126:in `each'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:199:in `block in execute'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:154:in `prepare'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:194:in `execute'
    from /app/lib/AppleNoteStore.rb:756:in `rip_note'
    from /app/lib/AppleNoteStore.rb:650:in `block in rip_notes'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:200:in `block (2 levels) in execute'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/resultset.rb:126:in `each'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:199:in `block in execute'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:154:in `prepare'
    from /usr/local/bundle/gems/sqlite3-1.6.6/lib/sqlite3/database.rb:194:in `execute'
    from /app/lib/AppleNoteStore.rb:649:in `rip_notes'
    from /app/lib/AppleNoteStore.rb:216:in `rip_all_objects'
    from /app/lib/AppleBackup.rb:203:in `block in rip_notes'
    from /app/lib/AppleBackup.rb:200:in `each'
    from /app/lib/AppleBackup.rb:200:in `rip_notes'
    from notes_cloud_ripper.rb:194:in `<main>'
threeplanetssoftware commented 1 year ago

Thanks for flagging! I wish the release tag of "beta" would carry through to the images.

I just pushed a potential fix, can you try it from the repo itself before I cut a fresh release? It takes ~45 minutes for Github to build the new images.

threeplanetssoftware commented 1 year ago

I've pushed a fresh release as 0.14.1-beta. It should be available as the latest Docker image in about an hour.

dmd commented 1 year ago

Fixed, thank you!