Bug 1045803

Summary: [abrt] mate-menu-editor: ConfigParser.py:512:_read:MissingSectionHeaderError: File contains no section headers.
Product: [Fedora] Fedora Reporter: Sergei S. Rublev <ssrublev>
Component: midoriAssignee: Kevin Fenzi <kevin>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dan.mashal, davidx, fedora, kevin, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/36fe73036f05429dbb18ac5a2e79350e2fef093e
Whiteboard: abrt_hash:2071a70dffc7ff50cbde918ac57187c643e980e6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-21 10:55:52 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
File: environ none

Description Sergei S. Rublev 2013-12-22 04:29:02 UTC
Description of problem:
Was trying to remove a link to an URL in MATE application menus autoadded by bookmarking function of Midori default browser shipped with Fedora 20.

Version-Release number of selected component:
mate-menu-editor-1.6.0-2.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python2.7 -OOt /usr/bin/mozo
dso_list:       python-libs-2.7.5-9.fc20.x86_64
executable:     /usr/bin/mozo
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
ConfigParser.py:512:_read:MissingSectionHeaderError: File contains no section headers.
file: /home/ssr/.local/share/applications/livejournal.com_tools_recent_comments.bml#posted.desktop, line: 2
'                [Desktop Entry]\n'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Mozo/MainWindow.py", line 333, in on_edit_delete_activate
    self.editor.deleteItem(item)
  File "/usr/lib/python2.7/site-packages/Mozo/MenuEditor.py", line 351, in deleteItem
    self.__writeItem(item, hidden=True)
  File "/usr/lib/python2.7/site-packages/Mozo/MenuEditor.py", line 549, in __writeItem
    keyfile = util.DesktopParser(file_path)
  File "/usr/lib/python2.7/site-packages/Mozo/util.py", line 29, in __init__
    if len(self.read(filename)) == 0:
  File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib64/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /home/ssr/.local/share/applications/livejournal.com_tools_recent_comments.bml#posted.desktop, line: 2
'                [Desktop Entry]\n'

Local variables in innermost frame:
cursect: None
fp: <open file '/home/ssr/.local/share/applications/livejournal.com_tools_recent_comments.bml#posted.desktop', mode 'r' at 0x286fed0>
e: None
fpname: '/home/ssr/.local/share/applications/livejournal.com_tools_recent_comments.bml#posted.desktop'
mo: None
optname: None
lineno: 2
line: '                [Desktop Entry]\n'
self: <Mozo.util.DesktopParser instance at 0x2935050>

Comment 1 Sergei S. Rublev 2013-12-22 04:29:07 UTC
Created attachment 840254 [details]
File: backtrace

Comment 2 Sergei S. Rublev 2013-12-22 04:29:09 UTC
Created attachment 840255 [details]
File: environ

Comment 3 Wolfgang Ulbrich 2013-12-25 08:07:41 UTC
(In reply to Sergei S. Rublev from comment #0)
> Description of problem:
> Was trying to remove a link to an URL in MATE application menus autoadded by
> bookmarking function of Midori default browser shipped with Fedora 20.
Midori is only the default browser if you install from livecd.
A normal mate installation from dvd or netiso use firefox.

Comment 4 Kevin Fenzi 2013-12-25 16:54:51 UTC
Can you attach the .desktop file? And explain exactly how you created it?

Comment 5 Wolfgang Ulbrich 2014-11-21 10:55:52 UTC
closed, mate-menu-editor are renamed to mozo
+
no activity from reporter