question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No CircleCI Token

See original GitHub issue

When trying to get smithy help on the command line, I see the following:

scopatz@athenaie ~ $ conda smithy -h
Traceback (most recent call last):
  File "/home/scopatz/.local/bin/conda-smithy", line 4, in <module>
    __import__('pkg_resources').run_script('conda-smithy==0.1.0.dev0', 'conda-smithy')
  File "/home/scopatz/miniconda3/lib/python3.4/site-packages/setuptools-18.0.1-py3.4.egg/pkg_resources/__init__.py", line 735, in run_script
  File "/home/scopatz/miniconda3/lib/python3.4/site-packages/setuptools-18.0.1-py3.4.egg/pkg_resources/__init__.py", line 1652, in run_script
  File "/home/scopatz/.local/lib/python3.4/site-packages/conda_smithy-0.1.0.dev0-py3.4.egg/EGG-INFO/scripts/conda-smithy", line 10, in <module>
    import conda_smithy.configure_circle_ci as configure_circle_ci
  File "/home/scopatz/.local/lib/python3.4/site-packages/conda_smithy-0.1.0.dev0-py3.4.egg/conda_smithy/configure_circle_ci.py", line 13, in <module>
    with open(os.path.expanduser('~/.conda-smithy/circle.token'), 'r') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/home/scopatz/.conda-smithy/circle.token'

It would be ideal if smithy could ask for the CircleCI username and password and then put the token in the right place.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
scopatzcommented, Jul 23, 2015

Go home, GitHub, you’re drunk 😉

0reactions
pelsoncommented, Jul 23, 2015

Got a notification this time. Maybe I did get it late last night… 🍺 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing API Tokens - CircleCI
In the Token name field, type a memorable name for the token. Click the Add API Token button. After the token appears, copy...
Read more >
CircleCI API Developer's Guide
Currently, Personal API tokens are the only supported tokens on API v2. Project tokens are not currently supported on API v2.
Read more >
CircleCI API v2 Returns "404 Not Found"
Any token found under "Project Settings > API Permissions" is a project API token, regardless of the scope you assigned to it. For...
Read more >
Using OpenID Connect Tokens in Jobs - CircleCI
Learn how to use OpenID Connect ID tokens for access to compatible cloud services. ... token uses a context (the context may have...
Read more >
Personal API Token could not be used - CircleCI Discuss
I'm running in terminal a build tools that requires cirlceCI's personal API token to create a project. It prompts me to enter the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found