#2832 closed bug (Fixed)

log error with blank lines in auth file

Reported by: ricksebak Owned by: Cas
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 Changed 18 months ago by Cas

  • Milestone changed from needs verified to 1.3.13
  • Owner set to Cas
  • Status changed from new to assigned
  • Summary changed from auth file doesn't like comments to log 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 Changed 18 months ago by Cas

  • Resolution set to Fixed
  • Status changed from assigned to closed

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.