Opened 8 years ago

Closed 8 years ago

#2832 closed bug (Fixed)

log error with blank lines in auth file

Reported by: ricksebak Owned by: Calum
Priority: trivial Milestone: 1.3.13
Component: Core Version: 1.3.12
Keywords: Cc:

Description

If you put comments in the deluge auth file, it will cause "ERROR ] 15:14:31 common:428 Your auth file is malformed: Incorrect number of fields!". Deluge, and the auth file, otherwise works fine despite the error.

My use case is to deploy deluge via chef, so I leave a reminder to myself when a file is managed by chef (local changes would be overridden). Although deluge works fine even with comments, it would be nice if it could ignore them without producing this error.

#
# /var/lib/deluge/.config/deluge/auth
#
# Generated by Chef for myhostname
#

localclient:b1cd20ebdddeeabcdebedad5e7e490970e98:10
deluge:deluge:10

Change History (2)

comment:1 by Calum, 8 years ago

Milestone: needs verified1.3.13
Owner: set to Calum
Status: newassigned
Summary: auth file doesn't like commentslog error with blank lines in auth file

Comments in auth file are supported, what you are seeing is produced by the blank lines in your file.

comment:2 by Calum, 8 years ago

Resolution: Fixed
Status: assignedclosed

Seemed familiar... Already fixed this in core code: #2201

Fixed in develop [416fb5e1e3788f4] and 1.3-stable [f221ae53eb3]

Note: See TracTickets for help on using tickets.