Giter Site home page Giter Site logo

Comments (14)

Garbee avatar Garbee commented on July 28, 2024

How exactly did you set the environment variables in fish? If you do fish_config can you see them in the Variables tab listing?

Also the screenshot isn't displaying. Perhaps try re-uploading it?

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

Is the screenshot working now? And yes, the variables appear in fish_config.

from tiny-care-terminal.

Garbee avatar Garbee commented on July 28, 2024

Were the variables set with the -x option? That is what allows them to be passed to subprocesses in fish. Looking at the config area I don't see where they explicitly show this through the UX.

The screenshot is still failing with a 410 error.

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

screenshot

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

Hi can you still not see the screencap above?

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024

Have you opened a new tab or restarted your terminal, to make sure that your env variables are actually picked up?

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

i tried again, now nearly a year later, again, setting the variables with -x and restarting my terminal. still, the api keys were not read properly and i had to opt for scraping instead.

from tiny-care-terminal.

mojoaxel avatar mojoaxel commented on July 28, 2024

@selfagency Please read up on setting environment variables in fish: https://fishshell.com/docs/current/faq.html#faq-envvar

Try calling set before starting tct to make sure your environment variables are set.

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

i appreciate that you're trying to help, but i know how to set variables for fish. this is all in my config.fish which loads when you open a shell.

set -x TTC_REPOS dev
set -x TTC_REPOS_DEPTH 1
set -x TTC_GITBOT gitlog
set -x TTC_WEATHER 13214
set -x TTC_CELSIUS false
set -x TTC_APIKEYS true
set -x TTC_UPDATE_INTERVAL 10
set -x TTC_CONSUMER_KEY [my key]
set -x TTC_CONSUMER_SECRET [my secret]
set -x TTC_ACCESS_TOKEN [my token]
set -x TTC_ACCESS_TOKEN_SECRET [my token secret]

everything works fine except twitter which i have to set to scrape instead, otherwise i get an error.

from tiny-care-terminal.

mojoaxel avatar mojoaxel commented on July 28, 2024

i appreciate that you're trying to help, but i know how to set variables for fish.

😊 Ok, Sorry!
So let's assume it has nothing to do with the environment variables.

from tiny-care-terminal.

mojoaxel avatar mojoaxel commented on July 28, 2024

I'm out of ideas here...Maybe generate a new api kay at twitter? Or try your existing key/secret with another app!?

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

it was a brand new app with a brand new set of keys.

from tiny-care-terminal.

mojoaxel avatar mojoaxel commented on July 28, 2024

You got me interested, so I installed fish (wich is nice by the way).
I had no problems with the twitter-API or anything else.

from tiny-care-terminal.

selfagency avatar selfagency commented on July 28, 2024

closing this because it's 4 years old, twitter banned me for fighting with the nazis they refuse to ban, and i want to clean up my issues tab

from tiny-care-terminal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.