Dear Kenneth,

Here's the relevant part of the log:

  == 2020-03-06 07:37:29,260 build_log.py:265 INFO * GitHub user...
  * GitHub user...== 2020-03-06 07:37:29,260 build_log.py:265 INFO tardigradus 
=> OK
  tardigradus => OK
  == 2020-03-06 07:37:29,260 build_log.py:265 INFO * GitHub token...
  * GitHub token...== 2020-03-06 07:37:29,261 github.py:1816 WARNING Failed to 
obtain GitHub token for tardigradus
  Use the following procedure to install a GitHub token in your keyring:
  $ python -c 'import getpass, keyring; keyring.set_password("github_token", 
"tardigradus", getpass.getpass())'
  == 2020-03-06 07:37:29,261 build_log.py:265 INFO (no token found) => FAIL
  (no token found) => FAIL

The string 'fetch_github_token' doesn't occur in the log file.

Is that any help?

Cheers,

Loris

Kenneth Hoste <[email protected]> writes:

> Dear Loris,
>
> That's... weird.
>
> Any trace of useful information in the log file?
>
> To make it easier and include more information, you can try running:
>
>   eb --github-user tardigradus --check-github --debug -l > eb.log
>
> And then consult eb.log for relevant warning messages.
>
> There should be warning log messages from the 'fetch_github_token' function 
> that
> tries to obtain the token that may point out the problem.
>
>
> regards,
>
> Kenneth
>
> PS: Make sure you don't accidentally share your token (but I noticed you're
> already paying attention to that, since xyz are not valid characters in a 
> token
> ;) ).
>
>
> On 05/03/2020 10:49, Loris Bennett wrote:
>> Hi,
>>
>> I'm trying to set up Github integration.  I have created a token and
>> installed it:
>>
>>    [build@admin ~]$ eb --github-user tardigradus --install-github-token
>>    == temporary log file in case of crash /tmp/eb-KX8ZR3/easybuild-mN7UXX.log
>>    Token:
>>    Validating token...
>>    Token seems to be valid, installing it.
>>    Token 'xyz..123' installed!
>>
>> However, if I check the status via 'eb', I get:
>>
>>    [build@admin ~]$ eb --github-user tardigradus --check-github
>>    == temporary log file in case of crash /tmp/eb-vB97DT/easybuild-hmtD38.log
>>
>>    Checking status of GitHub integration...
>>
>>    Making sure we're online...OK
>>
>>    * GitHub user...tardigradus => OK
>>    * GitHub token...(no token found) => FAIL
>>
>> What am doing wrong?
>>
>> Cheers,
>>
>> Loris
>>
>
-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to