Bug 1178196

Summary: [abrt] pyzor: client.py:180:run:OSError: [Errno 13] Permission denied: '/.pyzor'
Product: [Fedora] Fedora Reporter: Sean Sheedy <redhat>
Component: pyzorAssignee: Andreas Thienemann <andreas>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: andreas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7bef268d4c5d25070af18098ed376e4f002f6f7a
Whiteboard: abrt_hash:51dd43c0bd231528f734ac97ec709ca79bf99cc9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 23:14:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Sean Sheedy 2015-01-02 19:59:10 UTC
Version-Release number of selected component:
pyzor-0.5.0-9.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -Wignore::DeprecationWarning /usr/bin/pyzor report
executable:     /usr/bin/pyzor
kernel:         3.17.7-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            99

Truncated backtrace:
client.py:180:run:OSError: [Errno 13] Permission denied: '/.pyzor'

Traceback (most recent call last):
  File "/usr/bin/pyzor", line 8, in <module>
    pyzor.client.run()
  File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 1022, in run
    ExecCall().run()
  File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 180, in run
    os.mkdir(homedir)
OSError: [Errno 13] Permission denied: '/.pyzor'

Local variables in innermost frame:
homedir: '/.pyzor'
k: 'Timeout'
args: ['report']
options: []
self: <pyzor.client.ExecCall object at 0x25f7290>
debug: 0
defaults: {'DiscoverServersURL': 'http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x', 'ServersFile': 'servers', 'AccountsFile': 'accounts', 'Timeout': '5'}
v: '5'
specified_homedir: None
config: <pyzor.Config object at 0x25f38d0>
servers_fn: '/.pyzor/servers'
log: None

Comment 1 Sean Sheedy 2015-01-02 19:59:12 UTC
Created attachment 975351 [details]
File: backtrace

Comment 2 Sean Sheedy 2015-01-02 19:59:13 UTC
Created attachment 975352 [details]
File: environ

Comment 3 Jason Tibbitts 2015-03-05 23:14:57 UTC
This is almost certainly an end-user configuration error.  If it can't write to the home directory you provide to it, it's going to fail.  It could probably fail more gracefully and not backtrace, but that's not really relevant.