Config parse error not helpful

Bug #915273 reported by kris
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Redshift
Confirmed
Low
Unassigned

Bug Description

Everytime I execute a command "redshift -l 52.14:21.0 -t 5500:4300" which is correct, according the man pages, I get following response from a terminal:

 "Malformed argument.
Failed to set manual option.
Try `-l manual:help' for more information."

more info:
OS: Linux Mint 12 x64
X: Gnome3

Revision history for this message
Jon Lund Steffensen (jonls) wrote :

That looks odd. Can you try "redshift -l 52:21" to see if that works. Otherwise, try "redshift -l manual:lat=52.14:lon=21.0".

Revision history for this message
kris (message4kris) wrote :

Both given commands gives the same:

Malformed argument.
Failed to set manual option.
Try `-l manual:help' for more information.

Revision history for this message
kris (message4kris) wrote :

I've just found a problem. It was caused by incorrect configuration file. Pity that error wasn't really helpfull.

Malformed argument.
Failed to set manual option.
Try `-l manual:help' for more information.

Above error suggest that is a problem with command syntax, not in the configuration file. I think something like

"Error parsing configuration file in ~/.config/redshift.conf" would be better, in case of problems with configuration file syntax.

Revision history for this message
Jon Lund Steffensen (jonls) wrote :

Thanks. I've updated the bug to reflect this.

summary: - Failed to set manual option
+ Config parse error not helpful
Changed in redshift:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.