Bug 743011

Summary: [abrt] fedpkg-0.5.9.2-2.fc14: config.py:247:_read:ParsingError: File contains parsing errors: /home/remote/eblake/.gitconfig
Product: [Fedora] Fedora Reporter: Eric Blake <eblake>
Component: GitPythonAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: dcantrell, dennis, jortel, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2830ffa7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-02 23:29:43 UTC Type: ---
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
File: backtrace none

Description Eric Blake 2011-10-03 15:15:06 UTC
abrt version: 1.1.18
architecture: x86_64
Attached file: backtrace, 2154 bytes
cmdline: /usr/bin/python /usr/bin/fedpkg pull
component: fedora-packager
executable: /usr/bin/fedpkg
kernel: 2.6.35.14-96.fc14.x86_64
package: fedpkg-0.5.9.2-2.fc14
reason: config.py:247:_read:ParsingError: File contains parsing errors: /home/remote/eblake/.gitconfig
release: Fedora release 14 (Laughlin)
time: 1317654788
uid: 14986

How to reproduce
-----
1. Apparently, fedpkg doesn't like the contents of my ~/.gitconfig, even though git manages just fine
2.
3.

Comment 1 Eric Blake 2011-10-03 15:15:09 UTC
Created attachment 526082 [details]
File: backtrace

Comment 2 Jeff Ortel 2011-11-01 16:16:49 UTC
I experienced this as well doing 'fedpkg build'.  The problem seems to be leading spaces on property names.  After removing the indentation, fedpkg worked.

Eg:

[user]
    name = Jeff Ortel
    email = jortel

change to:

[user]
name = Jeff Ortel
email = jortel

Comment 3 Jesse Keating 2011-11-01 17:20:36 UTC
I believe that's actually a bug in GitPython that may be fixed by the newer build I'm putting out.

Comment 4 Jesse Keating 2012-03-02 23:29:43 UTC
Does seem to be fixed with the latest GitPython available.