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

fix #3

Closed
dgnsrekt opened this issue Jun 21, 2018 · 2 comments
Closed

fix #3

dgnsrekt opened this issue Jun 21, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@dgnsrekt
Copy link
Owner

Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/core.py", line 61, in run
bags = filter_cold()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/core.py", line 37, in filter_cold
gbot_pipe = GunBotStateInterface()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 138, in init
self.state_file_data = self._extract()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 167, in _extract
data = GunBotStateInterface.state_file_reader(jsonpath)
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 150, in state_file_reader
return json.loads(f.read())
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@dgnsrekt dgnsrekt added the bug Something isn't working label Jun 21, 2018
@dgnsrekt
Copy link
Owner Author

Traceback (most recent call last):
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 152, in state_file_reader
return json.loads(f.read())
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/core.py", line 61, in run
bags = filter_cold()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/core.py", line 37, in filter_cold
gbot_pipe = GunBotStateInterface()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 139, in init
self.state_file_data = self._extract()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 173, in _extract
data = GunBotStateInterface.state_file_reader(jsonpath)
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 153, in state_file_reader
except json.decode.JSONDecodeError:
AttributeError: module 'json' has no attribute 'decode'

@dgnsrekt
Copy link
Owner Author

Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/core.py", line 75, in run
bags = cls.filter_cold()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/core.py", line 47, in filter_cold
GBSI = GunBotStateInterface()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 161, in init
self.state_file_data = self._extract()
File "/home/devtop/Programming/fomo-gunbot-plus/fomo_gunbot_plus/gunbot_interface.py", line 180, in _extract
data['name'] = name
TypeError: 'NoneType' object does not support item assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant