Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto + bing don't work #277

Open
felon-efnet opened this issue Sep 30, 2017 · 0 comments
Open

crypto + bing don't work #277

felon-efnet opened this issue Sep 30, 2017 · 0 comments

Comments

@felon-efnet
Copy link

[12:20:14] [INFO] [efnet:#dewtz] .bing green kings 1g catridge
[12:20:14] [ERROR] Error in hook bing:bing
Traceback (most recent call last):
File "/home/dank/CloudBot-master/cloudbot/plugin.py", line 376, in _execute_hook
out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threaded, hook, event)
File "/usr/lib/python3.4/asyncio/futures.py", line 386, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/dank/CloudBot-master/cloudbot/plugin.py", line 340, in _execute_hook_threaded
return hook.function(*parameters)
File "/home/dank/CloudBot-master/plugins/bing.py", line 59, in bing
j = request.json()['d']['results'][0]
File "/usr/lib/python3/dist-packages/requests/models.py", line 740, in json
return json.loads(self.content.decode(encoding), **kwargs)
File "/usr/lib/python3.4/json/init.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)


crypto error on .crypto

[12:27:19] [INFO] [efnet:#i_take_irc_seriously] .crypto btc
[12:27:19] [ERROR] Error in hook cryptocurrency:crypto_command
Traceback (most recent call last):
File "/home/dank/CloudBot-master/cloudbot/plugin.py", line 376, in _execute_hook
out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threaded, hook, event)
File "/usr/lib/python3.4/asyncio/futures.py", line 386, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/dank/CloudBot-master/cloudbot/plugin.py", line 340, in _execute_hook_threaded
return hook.function(*parameters)
File "/home/dank/CloudBot-master/plugins/cryptocurrency.py", line 77, in crypto_command
updated_time = datetime.fromtimestamp(data['timestamp'])
TypeError: an integer is required (got type str)

linuxdaemon added a commit to linuxdaemon/CloudBot that referenced this issue Dec 26, 2018
…chdog-0.9.0

Bump watchdog from 0.8.3 to 0.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant