Comments (7)
Hi, try updating the pip packages and try again.
pip install -U --user -r requirements.txt
from twitch-chat-downloader.
Thanks! I think we've fixed this error right away.
However, another error occurred, such as the link: #57
There was no input error in the video ID section.
It may be annoying, but could you please confirm this error?
Thank you so much.
from twitch-chat-downloader.
I get the same error as #57 if I enter an invalid video ID, for instance by adding a space before it.
❯ python app.py
Video ID: 332918674
Traceback (most recent call last):
File "app.py", line 46, in <module>
main()
File "app.py", line 39, in main
app.download(app.arguments.video, app.arguments.format)
File "/home/petter/projects/Twitch-Chat-Downloader/app/downloader.py", line 24, in download
video: twitch.Video = twitch.Video(video_id)
File "/home/petter/projects/Twitch-Chat-Downloader/app/twitch/video.py", line 41, in __init__
video: helix.Video = helix.video(video_id)
File "/home/petter/.local/lib/python3.7/site-packages/twitch/helix/helix.py", line 36, in video
return helix.Videos(self.api(), video_ids=None, **kwargs)[0]
File "/home/petter/.local/lib/python3.7/site-packages/twitch/helix/videos.py", line 45, in __init__
self._api.get(self._path, params=kwargs)['data']]
KeyError: 'data'
I've added trimming for user inputs in f8a5a56. Run git pull
to update.
The error comes from twitch-python, which currently lacks error handling.
from twitch-chat-downloader.
It wasn't about spaces.
But I solved the problem in a different way.
Thank you for your quick response!
from twitch-chat-downloader.
I found out the cause of the error.
When installing a module listed in requirements.txt, a module named 'twitch' overlaps the name of the module previously installed.
Do you know how to change a installed module name to unique? I Ask for help.
Please understand that the sentence is uneven as it is using a translator.
from twitch-chat-downloader.
Hi, twitch-python is imported with import twitch
.
If you have several Python packages that are imported with import twitch
, then you might want to look into virtual environment solutions like pipenv.
Pipenv helps you create an isolated python environment (virtual environment) to avoid import collision.
from twitch-chat-downloader.
It works successfully. Thank you very much for your kind reply!
from twitch-chat-downloader.
Related Issues (20)
- Invalid format in settings file
- Using TCD in python code
- Feature: log downloads to prevent re-downloading
- 504 Server Error: Gateway Time-out for url
- 503 Server Error: No healthy IP available for the backend for url: ...
- Srt duration won't work
- Support for Twitch API HOT 42
- Error When Rendering Chat
- Feature Request - conversion of json chat file already stored locally HOT 1
- Chat Render stuck on "Fetching Chat Badges"
- Client Authentication Broken HOT 3
- 404 Client Error: Not Found for url HOT 5
- How to use the start, stop and cooldown parameters?
- md
- How do I custom format?
- How do I custom format? HOT 1
- KeyError: 'access_token' HOT 2
- requests.exceptions.SSLError
- error message : Invalid settings format HOT 1
- 410 Client Error HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitch-chat-downloader.