rclone-webui-react icon indicating copy to clipboard operation
rclone-webui-react copied to clipboard

GUI Installation: Tag file potentially missing EOF/EOL

Open elsajyang opened this issue 3 years ago • 0 comments

A tag file might be missing an end of line, end of file char.

To reproduce the issue:

Following the rclone GUI docs, I ran the following code to download and run the rclone GUI:

MacBook-Pro:proj ejy$ rclone rcd --rc-web-gui
2021/03/07 21:29:22 ERROR : Error reading tag file at /Users/ejy/Library/Caches/rclone/webgui/tag 
2021/03/07 21:29:22 NOTICE: A new release for gui (v2.0.4) is present at https://github.com/rclone/rclone-webui-react/releases/download/v2.0.4/currentbuild.zip
2021/03/07 21:29:22 NOTICE: Downloading webgui binary. Please wait. [Size: 4740206, Path :  /Users/ejy/Library/Caches/rclone/webgui/v2.0.4.zip]
2021/03/07 21:29:23 NOTICE: Unzipping webgui binary
2021/03/07 21:29:23 NOTICE: Serving Web GUI
2021/03/07 21:29:23 NOTICE: Serving remote control on http://localhost:5572/

Checking out the file that errored:

MacBook-Pro:proj ejy$ cat /Users/ejy/Library/Caches/rclone/webgui/tag
v2.0.4MacBook-Pro:proj
MacBook-Pro:proj ejy$ vim /Users/ejy/Library/Caches/rclone/webgui/tag
v2.0.4
~                                                                                 
~                                                                                 
~                                                                                 
~                                                                                 
"~/Library/Caches/rclone/webgui/tag" [noeol] 1L, 6C

Running

  • MacOS High Sierra 10.13.6
  • Terminal
  • rclone v1.54.0
  • os/arch: darwin/amd64
  • go version: go1.15.7

Many thanks!

elsajyang avatar Mar 08 '21 06:03 elsajyang