popstas / transmission-cli

Transmission PHP client for detect profit torrents and automate weburg.net downloads
http://transmission-cli.popstas.ru
MIT License
18 stars 2 forks source link

error parsing query: found s, expected ; #40

Closed mabushey closed 7 years ago

mabushey commented 7 years ago

michael@corwin # /usr/local/bin/transmission-cli

Transmission CLI version v0.7.0 build @git-commit@

Usage: command [options] [arguments] ...

michael@corwin# /usr/local/bin/transmission-cli stats-send --transmission-host=localhost [critical] error parsing query: found s, expected ; at line 1, char 93

Version v0.6.0 did the same thing.

popstas commented 7 years ago

What influxdb version you have? Please show output of ´/usr/local/bin/transmission-cli stats-send --transmission-host=localhost -vvv´

mabushey commented 7 years ago

╰─➤ /usr/bin/influx Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring. Connected to http://localhost:8086 version 1.2.2 InfluxDB shell 0.10.0 ...

╰─➤ /usr/local/bin/transmission-cli stats-send --transmission-host=localhost -vvv [debug] Connect Transmission using: corwin:default@localhost:9091 [info] [2017-04-11 23:56:35] command: stats-send --transmission-host=localhost -vvv [debug] Request sent to the Transmission RPC API. [info] Invalid Transmission session ID. A new ID has been generated. [debug] Request sent to the Transmission RPC API. [debug] Connect InfluxDB using: corwin:[mypass]@localhost:8086 [critical] error parsing query: found s, expected ; at line 1, char 93

popstas commented 7 years ago

Hm, I have

$ influx
Connected to http://localhost:8086 version 1.2.1
InfluxDB shell version: 1.2.2

stats-send works.

Seems you have torrent with ' in names, see https://community.smartthings.com/t/smartthings-data-visualisation-using-influxdb-and-grafana/44946/27

Will check and fix at weekend. Thank you for report!

popstas commented 7 years ago

Confirmed, fixed in v0.7.1, please check.

mabushey commented 7 years ago

Thank you for fixing this. :)