Skip to content

Problems building docs: dvc pull error #8807

Closed

Description

@anbj

In 2022 I had a problem getting the file GMT_RGBchart.pdf (see forum).

This was eventually fixed, but now I have the problem again, and dvc pull gives me this warning (see forum):

$ dvc pull
Collecting                                            |0.00 [00:00,    ?entry/s]
WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:                                                               
md5: 711b91c1e9ce135c4cefe5c0423dd0d3
md5: 4e1589ab02c8b055beda5df4648b9cab
md5: bfcf20afcd67b3e28bee96a585b17585
md5: 75d5637e2d95ff525494625885256606
md5: c4baee16117233ebb14377d7e096294e
md5: 33f3046e099b3cb82dd525be715d5e67
md5: 56cbfeb249815d8c59013741ba36c558
md5: 03d6040145b93e3c9e34433d271f8046
md5: df15b17f0c342bf624aac9a71eab979e
md5: 752b35fff020e0e8596263531ca31881.dir

[... snip ...]

doc/scripts/images/GMT_base_symbols3.ps
doc/scripts/images/GMT_tut_11.ps
doc/examples/images/ex02.ps
Is your cache up to date?
<https://error.dvc.org/missing-files>

Activity

  1. added
    bug
    on Oct 8, 2025
  2. seisman commented on Oct 9, 2025

    @seisman
    Member

    Could you please show the output of dvc pull --verbose?

  3. anbj commented on Oct 9, 2025

    @anbj
    ContributorAuthor

    Here's a log of dvc pull --verbose &> dvc.log.
    Looks like I'm getting 401 Unauthorized.

    dvc.log.tar.gz

  4. seisman commented on Oct 9, 2025

    @seisman
    Member

    I think you need an DagsHub account to pull the baseline images.

    1. Visit https://dagshub.com/GenericMappingTools/gmt
    2. Click the "Remote" button, switch to "Data"->"DVC" tab, choose the "HTTP" protocol, then you should see instructions like below:
    dvc remote modify origin --local auth basic 
    dvc remote modify origin --local user <user>
    dvc remote modify origin --local password <password>
    
  5. anbj commented on Oct 9, 2025

    @anbj
    ContributorAuthor

    I see. I'll try this.

  6. anbj commented on Oct 9, 2025

    @anbj
    ContributorAuthor

    Bingo, this does it. Thanks @seisman!

  7. joa-quim commented on Oct 9, 2025

    @joa-quim
    Member

    Hmm, I did a

    C:\progs_cygw\GMTdev\gmt5\master>dvc pull
    Collecting                                                                         |0.00 [00:00,    ?entry/s]
    Fetching
    Building workspace index                                                         |1.30k [00:00, 3.24kentry/s]
    Comparing indexes                                                                |1.21k [00:00, 13.9kentry/s]
    Applying changes                                                                   |0.00 [00:00,     ?file/s]
    Everything is up to date.
    

    But that cannot be true. #8809 just updated two dvc files. So not Everything is up to date

  8. seisman commented on Oct 9, 2025

    @seisman
    Member

    Did you run git pull before that?

  9. joa-quim commented on Oct 9, 2025

    @joa-quim
    Member

    No, I hadn't, and not obvious why I should had. dvc pull pulls new files from the DVC and git pull from the GMT repo.

  10. seisman commented on Oct 9, 2025

    @seisman
    Member

    git pull fetches the latest .dvc files from the GMT git repo, while dvc pull needs the information in the .dvc files to know which files to fetch from the DVC repo.

  11. joa-quim commented on Oct 9, 2025

    @joa-quim
    Member

    Thanks, not immediately obvious but makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions