Bug 815053

Summary: User cron + Deluge error
Product: [Fedora] Fedora Reporter: Misha Shnurapet <shnurapet>
Component: delugeAssignee: Rahul Sundaram <metherid>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: calumlind, justinnoah, metherid
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-24 22:20:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
system email none

Description Misha Shnurapet 2012-04-22 08:42:31 UTC
Created attachment 579266 [details]
system email

I'm getting an error sent to the system mailbox (see the attachment).

Version-Release number of selected component:

deluge-gtk-1.3.3-2.fc17.noarch
deluge-daemon-1.3.3-2.fc17.noarch
deluge-images-1.3.3-2.fc17.noarch
deluge-web-1.3.3-2.fc17.noarch
deluge-console-1.3.3-2.fc17.noarch
deluge-common-1.3.3-2.fc17.noarch
cronie-anacron-1.4.8-11.fc17.x86_64
crontabs-1.11-3.20101115git.fc17.noarch
cronie-1.4.8-11.fc17.x86_64

Reproducible every 3 days or so.

Steps to Reproduce:
1. crontab -e
2. '@reboot deluged'
3. reboot
4. login and work as usual
  
Actual results: everything seems to work OK, but a message is sent to the user's system mailbox telling something's not right.

Comment 1 Calum 2012-04-24 22:20:26 UTC
You need to set the locale to utf8 for cron. 

See these links for more info:

http://www.logikdev.com/2010/02/02/locale-settings-for-your-cron-job/
http://fedoraproject.org/wiki/Features/PythonEncodingUsesSystemLocale