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

AttributeError: 'list' object has no attribute 'get' #2

Open
fpellicciotti opened this issue Aug 10, 2017 · 1 comment
Open

AttributeError: 'list' object has no attribute 'get' #2

fpellicciotti opened this issue Aug 10, 2017 · 1 comment

Comments

@fpellicciotti
Copy link

Everytime I execute the influxdbSeedbox.py, I get the following error message:

Loading Configuration File config.ini
Configuration Successfully Loaded
Logging is enabled. Log output will be sent to output.log
Generating Deluge Client
Traceback (most recent call last):
File "influxdbSeedbox.py", line 286, in
main()
File "influxdbSeedbox.py", line 282, in main
monitor.run()
File "influxdbSeedbox.py", line 264, in run
self.write_influx_data(torrent_json)
File "influxdbSeedbox.py", line 237, in write_influx_data
self.influx_client.write_points(json_data)
File "C:\Program Files\Python36\lib\site-packages\influxdb\client.py", line 456, in write_points
tags=tags, protocol=protocol)
File "C:\Program Files\Python36\lib\site-packages\influxdb\client.py", line 506, in _write_points
protocol=protocol
File "C:\Program Files\Python36\lib\site-packages\influxdb\client.py", line 292, in write
data = make_lines(data, precision).encode('utf-8')
File "C:\Program Files\Python36\lib\site-packages\influxdb\line_protocol.py", line 126, in make_lines
point.get('measurement', data.get('measurement'))
AttributeError: 'list' object has no attribute 'get'

I have used Deluge and Utorrent with the same issue.

@Gibletron
Copy link

A year later I'm encountering the same issue.
@fpellicciotti did you ever find the issue or a possible solution?

I'm using uTorrent specifically and the log seems to say the utorrent.py script is working properly, the writing to influxdb doesn't.

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

2 participants