镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Failed to generate images #30

Closed
Closed

Description

@pexeixv

I followed the installation guide in README.md. I created a secret with the access token, even then it the log says access token is missing.

  python3 --version
  python3 generate_images.py
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.8/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.8/x64/lib
    ACCESS_TOKEN: 
    GITHUB_TOKEN: ***
    EXCLUDED: 
    EXCLUDED_LANGS: 
    EXCLUDE_FORKED_REPOS: false
Python 3.8.8
Traceback (most recent call last):
  File "generate_images.py", line 119, in <module>
    asyncio.run(main())
  File "/opt/hostedtoolcache/Python/3.8.8/x64/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/hostedtoolcache/Python/3.8.8/x64/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "generate_images.py", line 100, in main
    raise Exception("A personal access token is required to proceed!")
Exception: A personal access token is required to proceed!
Error: Process completed with exit code 1.

Activity

  1. jstrieb commented on Mar 16, 2021

    @jstrieb
    Owner

    Hi, thanks for taking the time to open this issue!

    After reading your post, I'm not entirely sure what the problem could be. Have you double checked that you spelled the name of the secret correctly? The place to see the secrets is here.

    If you provide some more info, we can get to the bottom of what is going wrong, and then I can document the issue for anyone else who might have the same problem.

  2. comav commented on Mar 30, 2021

    @comav

    Hi!

    I had the same issue, so I tried to re-run a workflow, and it worked.
    As far as I understand, the script tries to generate images immediately after copying, but you need some time to set a Personal Access Token, so it can't find it.

    Hopefully, this will help you

  3. pinned this issue on Mar 30, 2021
  4. jstrieb commented on Apr 1, 2021

    @jstrieb
    Owner

    Thanks @pexeixv and @comav, both for bringing this to my attention, and for identifying the cause (and solution)! I will add this to the main documentation in case there are other users having the same problem who haven't reported it.

    I'm assuming that the solution provided by @comav does indeed fix the original problem. If not, please feel free to reopen this issue.

  5. ArshiaRx commented on Mar 24, 2022

    @ArshiaRx

    Hi!

    I had the same issue, so I tried to re-run a workflow, and it worked. As far as I understand, the script tries to generate images immediately after copying, but you need some time to set a Personal Access Token, so it can't find it.

    Hopefully, this will help you

    Hello,
    Getting back to this how long should we expect to wait until it understands the token and gets updated!

  6. added a commit that references this issue on Mar 5, 2025
    65dac68
  7. unpinned this issue on Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions