Giter Club home page Giter Club logo

pytwitch's People

Contributors

haaag avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pytwitch's Issues

Traceback (most recent call last): error

I fallowed the installing instructions as described and getting error for some reason;

pytwitch
Traceback (most recent call last):
  File "/home/ahmet/packages/pytwitch/.venv/bin/pytwitch", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/__main__.py", line 25, in main
    twitch = setup.twitch(prompt, menu, args.player, args.no_markup)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/setup.py", line 165, in twitch
    api = TwitchApi()
          ^^^^^^^^^^^
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/api.py", line 261, in __init__
    super().__init__()
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/api.py", line 76, in __init__
    self.load_client()
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/api.py", line 89, in load_client
    self.client = httpx.Client(headers=self._get_request_headers())
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_client.py", line 653, in __init__
    super().__init__(
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_client.py", line 183, in __init__
    self.headers = Headers(headers)
                   ^^^^^^^^^^^^^^^^
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_models.py", line 75, in __init__
    normalize_header_value(v, encoding),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_utils.py", line 55, in normalize_header_value
    return value.encode(encoding or "ascii")
           ^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'encode'

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.