Closed Oshawk closed 3 years ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
@Oshawk could you please explain what change I should do in what file to skip #112 problem in tcd? Thanks!
@Oshawk could you please explain what change I should do in what file to skip #112 problem in tcd? Thanks!
@vanyamlb Running pip install --upgrade --force-reinstall git+https://github.com/PetterKraabol/Twitch-Python.git
should do it.
@Oshawk I ran this command and also the same but with Twitch-Chat-Downloader.git and still getting data get name error... Maybe because the changes were made only here, but not in tcd repo?
I entered the command again... now I get this
self._map_user_colors(data) File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\pipe.py", line 187, in _map_user_colors sha256.update(str.encode(data['commenter']['_id'])) TypeError: 'NoneType' object is not subscriptable
did I do something wrong or the error occurs? It happens when I try to download many chats with Twitch Chat Downloader...
@Oshawk I ran this command and also the same but with Twitch-Chat-Downloader.git and still getting data get name error... Maybe because the changes were made only here, but not in tcd repo?
I entered the command again... now I get this
self._map_user_colors(data) File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\pipe.py", line 187, in _map_user_colors sha256.update(str.encode(data['commenter']['_id'])) TypeError: 'NoneType' object is not subscriptable
did I do something wrong or the error occurs? It happens when I try to download many chats with Twitch Chat Downloader...
@vanyamlb It looks like that is a different issue. Can you tell me what command you are running?
@Oshawk I ran this command and also the same but with Twitch-Chat-Downloader.git and still getting data get name error... Maybe because the changes were made only here, but not in tcd repo? I entered the command again... now I get this self._map_user_colors(data) File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\pipe.py", line 187, in _map_user_colors sha256.update(str.encode(data['commenter']['_id'])) TypeError: 'NoneType' object is not subscriptable did I do something wrong or the error occurs? It happens when I try to download many chats with Twitch Chat Downloader...
@vanyamlb It looks like that is a different issue. Can you tell me what command you are running?
for example, this
tcd -c mrmashadi --first=500
after some amount of VODs downloaded, I get this:
[PS5] WL Road to Top200 - Road to 2k Follower - !instagram !youtube !watchtime !team
[default] ./874918085.txt
[PS5] Pack Opening - Road to 2k Follower - !instagram !youtube !watchtime !team
Traceback (most recent call last):
File "c:\users\vanya\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\vanya\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\vanya\AppData\Local\Programs\Python\Python39\Scripts\tcd.exe__main.py", line 7, in
@vanyamlb You should probably add this as an issue on https://github.com/PetterKraabol/Twitch-Chat-Downloader.
@Oshawk did that. Thank you for your help.
Used the same style as in line 41 to avoid passing None to the Commenter and Message constructors. This fixes issue #26. I think it also fixes https://github.com/PetterKraabol/Twitch-Chat-Downloader/issues/112.