syncthing-tray
syncthing-tray copied to clipboard
initialize.go: invalid character 'C' looking for beginning of value | failed to remove temp icon file (null): invalid address
Xubuntu 18.04 (64bit), syncthing running
INFO: syncthing v1.3.4 "Fermium Flea" (go1.13.7 linux-amd64) [email protected] 2020-01-14 07:01:03 UTC
Output of command /usr/bin/syncthing-tray as user, Icon stays red
2020/02/05 16:57:08 main.go:283: Starting Syncthing-Tray v0.7 - 2016-12-27 14:36:29 UTC 2020/02/05 16:57:08 main.go:284: Connecting to syncthing at http://localhost:8384 2020/02/05 16:57:08 initialize.go:146: wating for lock 2020/02/05 16:57:08 initialize.go:148: wating for event lock failed to remove temp icon file (null): Ungültige Adresse 2020/02/05 16:57:08 initialize.go:134: invalid character 'C' looking for beginning of value 2020/02/05 16:57:08 initialize.go:192: invalid character 'C' looking for beginning of value 2020/02/05 16:57:08 initialize.go:193: error getting syncthing config -> retry in 5s 2020/02/05 16:57:13 initialize.go:134: invalid character 'C' looking for beginning of value 2020/02/05 16:57:13 initialize.go:192: invalid character 'C' looking for beginning of value 2020/02/05 16:57:13 initialize.go:193: error getting syncthing config -> retry in 5s 2020/02/05 16:57:18 rate_reader.go:30: inBytesRate: 0.00 B/s outBytesRate: 0.00 B/s 2020/02/05 16:57:18 initialize.go:134: invalid character 'C' looking for beginning of value 2020/02/05 16:57:18 initialize.go:192: invalid character 'C' looking for beginning of value 2020/02/05 16:57:18 initialize.go:193: error getting syncthing config -> retry in 5s
Output of command /usr/bin/syncthing-tray as super-user - even if it doesn't make any sense, Icon stays red
2020/02/05 16:59:21 main.go:283: Starting Syncthing-Tray v0.7 - 2016-12-27 14:36:29 UTC 2020/02/05 16:59:21 main.go:284: Connecting to syncthing at http://localhost:8384 2020/02/05 16:59:21 initialize.go:146: wating for lock 2020/02/05 16:59:21 initialize.go:148: wating for event lock failed to remove temp icon file (null): Ungültige Adresse 2020/02/05 16:59:21 initialize.go:134: invalid character 'C' looking for beginning of value 2020/02/05 16:59:21 initialize.go:192: invalid character 'C' looking for beginning of value 2020/02/05 16:59:21 initialize.go:193: error getting syncthing config -> retry in 5s
(syncthing-tray:2910): Gdk-CRITICAL **: 16:59:21.176: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed 2020/02/05 16:59:26 initialize.go:134: invalid character 'C' looking for beginning of value 2020/02/05 16:59:26 initialize.go:192: invalid character 'C' looking for beginning of value 2020/02/05 16:59:26 initialize.go:193: error getting syncthing config -> retry in 5s
invalid character 'C' looking for beginning of value is usually a wrong or missing api key which is needed, please confirm if you set it correctly. The error message could definitely be improved in case it is a wrong api key...
python3.5-requests-futures is installed, Installation ran smoothly. Whats the needed action to check if needed api key is missing?
python requests?
How do you start it? you need to specify the syncthing api key via command line
The .Desktop File (autostarted)
$cat ~/.config/autostart/syncthing-start.desktop
[Desktop Entry] Name=Start Syncthing GenericName=File synchronization Comment=Starts the main syncthing process in the background. Exec=sh -c '/usr/bin/syncthing -no-browser & python3 /opt/indicator-syncthing/indicator-syncthing.py &' Icon=syncthing Terminal=false Type=Application Keywords=synchronization;daemon; Categories=Network;FileTransfer;P2P
How can api be specified within the execution command? (Sorry didn't want to close please reopen. It was an accident-klick...)
https://github.com/alex2108/syncthing-tray/blob/master/README.md
A syncthing api key needs to be provided via
-api STAPIKEY
I have no idea what "indicator-syncthing.py" has in it since it is not from this project and I don't find any info about it anywhere, I guess you have to ask at the place where you got that file from or post it here. Probably edit the command line that starts syncthing-tray in there.