Skip to content

git lfs corrupted pointer: image_widget_grid.png #861

Open
@FlynnOConnell

Description

@FlynnOConnell

@apasarkar and I have now both gotten the following git lfs error.

  Downloading docs/source/_static/guide_hello_world.png (106 KB)
      Error downloading object: docs/source/_static/guide_hello_world.png
      (97fda35): Smudge error: Error downloading
      docs/source/_static/guide_hello_world.png
      (97fda350fd73fc33792447114828884563862cae1f89530f242360d72f284ccc): EOF
      ...
      error: external filter 'git-lfs filter-process' failed
      fatal: docs/source/_static/guide_hello_world.png: smudge filter lfs
      failed

This is a broken LFS pointer.

Finding the corrupted pointer

Listing all files tracked by git-lfs:

flynn at pop-os in ~/repos/work/fastplotlib (main)
$ git lfs ls-files
Notice the commit for image_widget_grid.png :
.. omitting entries for the other images... 
430cd0ee5c * examples/screenshots/image_widget_grid.png
7522a35768 * examples/screenshots/image_widget_imgui.png
5f0843f469 * examples/screenshots/image_widget_single_video.png
eec22392f8 * examples/screenshots/image_widget_videos.png
1c4449f7e9 * examples/screenshots/image_widget_viewports_check.png
09cc7b0680 * examples/screenshots/imgui_basic.png
... more images omitted...

Now pull the most recent pointers from lfs:

flynn at pop-os in ~/repos/work/fastplotlib (main)
$ git lfs pull

Running git lfs fsck show's the corrupted file:

flynn at pop-os in ~/repos/work/fastplotlib (main)
$ git lfs fsck

pointer: nonCanonicalPointer: Pointer for 430cd0ee5c05221c42073345480acbeee672c299311f239dc0790a9495d0d758 (blob a6ccd144abfd4a6cc888c28391acf436a969ba94) was not canonical

This is the image_widget_grid.png:

flynn at pop-os in ~/repos/work/fastplotlib (main)
$ git show a6ccd144abfd4a6cc888c28391acf436a969ba94

version https://git-lfs.github.com/spec/v1

oid sha256:430cd0ee5c05221c42073345480acbeee672c299311f239dc0790a9495d0d758
size 248046

The extra blank line between version and oid breaks this, which should look like (according to this):

version https://git-lfs.github.com/spec/v1
oid sha256:430cd0ee5c05221c42073345480acbeee672c299311f239dc0790a9495d0d758
size 248046

Why is the docs/source/_static/guide_hello_world.png image causing errors, not the image_widget_grid.png ?

I don't know, the guide_hello_world.png pointer is properly formatted:

flynn at pop-os in ~/repos/work/fastplotlib (main)
$ git show HEAD:docs/source/_static/guide_hello_world.png | head

version https://git-lfs.github.com/spec/v1
oid sha256:97fda350fd73fc33792447114828884563862cae1f89530f242360d72f284ccc
size 106236

My guess is that image_widget_grid.png broke the git lfs pipeline, leading to an error that gives the wrong culprit filename.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy