travis.rb: encrypt-file fails with "resource not found"

travis encrypt-file .file yields the following:

encrypting .file for foo/bar storing result as .file.enc DANGER ZONE: Override existing .file? |no| y storing secure env variables for decryption resource not found ({“error”:“Couldn’t find repository”})

I have no idea what this error means or how to overcome it. Google search yields nothing. I am running this command from the foo/bar repository local checkout directory.

For what it’s worth, travis encrypt works fine for the same repository.

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 35 (15 by maintainers)

Commits related to this issue

Most upvoted comments

The problem seems to be that we don’t have a valid GitHub token for Travis-bot on file for some reason (has the account ever been logged in via the web interface?), thus have never synced the account and therefore Travis CI doesn’t know that Travis-bot has access to the repository.

On an unrelated note, we would appreciate if you could make it clear on the Travis-bot profile that it is not affiliated with Travis CI, just to avoid potential confusion in the future. 😃

On Sat, Oct 11, 2014 at 7:43 PM, Bilge notifications@github.com wrote:

@BanzaiMan https://github.com/BanzaiMan Oh yes, I see the phantom repo has gone now. However, it has not fixed the problem. It seems that it was an unrelated issue. This account can run encrypt-file but Travis-bot account cannot. Nevertheless, thanks for clearing it.

— Reply to this email directly or view it on GitHub https://github.com/travis-ci/travis.rb/issues/237#issuecomment-58757938.