Comments (4)
How often this does happen? Is it only is certain chats?
from weechat-twitch.
I get this error eventually in the weechat buffer. But I get a twitch.py error in all chats after second reconnection:
I get a token from your website and set the relevant settings and it works fine. After reconnecting I eventually get these errors.
Using version 0.9 installed from /scripts
from weechat-twitch.
Sorry i can't reproduce issue. Can you check /server raw and paste the raw input that results in the error?
from weechat-twitch.
I get an error with /whois
The raw server says
22:31:48 <-- twitch │ PING irc.chat.twitch.tv
│22:31:48 --> twitch │ :tmi.twitch.tv PONG tmi.twitch.tv :irc.chat.twitch.tv
│22:32:01 <== twitch │ (message dropped)
22:34:30 twitch =!= │ twitch.py: error communicating with twitch api
│22:34:30 weechat │ python: stdout/stderr (twitch): Traceback (most recent call last):
│22:34:30 weechat │ python: stdout/stderr (twitch): File
│ │ "/home/deffn/.local/share/weechat/python/autoload/twitch.py", line 266, in
│ │ channel_api
│22:34:30 weechat │ python: stdout/stderr (twitch): jsonDict = json.loads(stdout.strip())
│22:34:30 weechat │ python: stdout/stderr (twitch): ^^^^^^^^^^^^^^^^^^^^^^^^^^
│22:34:30 weechat │ python: stdout/stderr (twitch): File
│ │ "/usr/lib/python3.11/json/__init__.py", line 346, in loads
│22:34:30 weechat │ python: stdout/stderr (twitch): return _default_decoder.decode(s)
│22:34:30 weechat │ python: stdout/stderr (twitch): ^^^^^^^^^^^^^^^^^^^^^^^^^^
│22:34:30 weechat │ python: stdout/stderr (twitch): File
│ │ "/usr/lib/python3.11/json/decoder.py", line 337, in decode
│22:34:30 weechat │ python: stdout/stderr (twitch): obj, end = self.raw_decode(s, idx=_w(s,
│ │ 0).end())
│22:34:30 weechat │ python: stdout/stderr (twitch):
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│22:34:30 weechat │ python: stdout/stderr (twitch): File
│ │ "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
│22:34:30 weechat │ python: stdout/stderr (twitch): raise JSONDecodeError("Expecting value",
│ │ s, err.value) from None
│22:34:30 weechat │ python: stdout/stderr (twitch): json.decoder.JSONDecodeError: Expecting
│ │ value: line 1 column 1 (char 0)
│22:34:30 weechat │ python: stdout/stderr (twitch): During handling of the above exception,
│ │ another exception occurred:
│22:34:30 weechat │ python: stdout/stderr (twitch): Traceback (most recent call last):
│22:34:30 weechat │ python: stdout/stderr (twitch): File
│ │ "/home/deffn/.local/share/weechat/python/autoload/twitch.py", line 270, in
│ │ channel_api
│22:34:30 weechat │ python: stdout/stderr (twitch):
│ │ weechat.prnt(data['buffer'],'%stwitch.py: return code: %s' %
│ │ (weechat.prefix('error'),rc))
│22:34:30 weechat │ python: stdout/stderr (twitch): ~~~~^^^^^^^^^^
│22:34:30 weechat │ python: stdout/stderr (twitch): TypeError: string indices must be integers,
│ │ not 'str'
│22:34:30 weechat =!= │ python: error in function "channel_api"
from weechat-twitch.
Related Issues (16)
- /whois does not work HOT 2
- Allow token to be stored securely HOT 3
- Unable to use WeeChat's secured data to store token HOT 2
- Is this still working and/or supported? HOT 2
- Can't connect to twitch HOT 2
- Add WeeChat Message Tags to Printed Messages HOT 4
- /WHOIS Response Location When Using Relay Client
- Ideas
- Connection host address has changed HOT 1
- Add to official repo HOT 1
- Does this support message tags? HOT 3
- =!= twitch.py: error communicating with twitch api HOT 14
- whois does not seem to work HOT 1
- irc error WHISPER command received not translated as a PRIVMSG HOT 1
- Show messages from extensions/integrations/channel points? HOT 1
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 weechat-twitch.