Bug 1045803 - [abrt] mate-menu-editor: ConfigParser.py:512:_read:MissingSectionHeaderError: File contains no section headers.
Summary: [abrt] mate-menu-editor: ConfigParser.py:512:_read:MissingSectionHeaderError:...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: midori
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2071a70dffc7ff50cbde918ac57...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-22 04:29 UTC by Sergei S. Rublev
Modified: 2014-11-21 10:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-21 10:55:52 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.58 KB, text/plain)
2013-12-22 04:29 UTC, Sergei S. Rublev
no flags Details
File: environ (1.29 KB, text/plain)
2013-12-22 04:29 UTC, Sergei S. Rublev
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.