Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restoring cache error: possibly related to the wrong check for symbolic link #110

Open
gnoejnooh opened this issue Feb 1, 2023 · 1 comment
Assignees

Comments

@gnoejnooh
Copy link

Orb version: 2.1.1

What happened:

Restoring cache step from python/install-packages is showing error. I was able to find related PR for 2.0.1 and applied suggested changes but it did not help and the error still persists.

The error message from the failed Restoring cache step is as follows:

error computing cache key: template: cacheKey:1:32: executing "cacheKey" at <checksum "/tmp/cci_pycache/lockfile">: error calling checksum: open /tmp/cci_pycache/lockfile: no such file or directory

Expected behavior:

Restore cache without an error.

Additional Information:

Current config file setup:

version: 2.1

orbs:
  aws-ecr: circleci/[email protected]
  python: circleci/[email protected]

executors:
  python:
    parameters:
      tag:
        type: string
        default: "3.10"
    docker:
      - image: cimg/python:<< parameters.tag >>

jobs:
  pytest:
    executor:
      name: python
    steps:
      - checkout
      - python/install-packages:
          pkg-manager: poetry
          cache-version: v2
          args: --with=dev,type_check --sync
...
@marboledacci
Copy link
Contributor

Could you indicate in what step are you getting the error? Do you have a poetry.lock file?

@marboledacci marboledacci self-assigned this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants