Topic: [RESOLVED] Dynamic places menu stopped working

My places entry in my OB menu seems to have stopped working. It was suggested in IRC that the XML may be badly formatted, although I haven't touched it myself. I've pasted that below.

Any ideas? I'm totally at a loss. smile

<openbox_pipe_menu>
<item label="Browse here..">
    <action name="Execute">
        <execute>pcmanfm '/home/foom'</execute>
    </action>
</item>
<separator /><menu id="/home/foom/backup" label="backup" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/backup" />
<menu id="/home/foom/bin" label="bin" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/bin" />
<item label="cb_ninjawork.2009_01_31_18_55_49.0.svg">
    <action name="Execute">
        <execute>pcmanfm '/home/foom/cb_ninjawork.2009_01_31_18_55_49.0.svg'</execute>
    </action>
</item>
<menu id="/home/foom/documents" label="documents" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/documents" />
<menu id="/home/foom/downloads" label="downloads" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/downloads" />
<menu id="/home/foom/gpodder-downloads" label="gpodder-downloads" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/gpodder-downloads" />
<menu id="/home/foom/images" label="images" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/images" />
<menu id="/home/foom/music" label="music" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/music" />
<menu id="/home/foom/PDF" label="PDF" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/PDF" />
<menu id="/home/foom/projects" label="projects" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/projects" />
<menu id="/home/foom/tango-noir0-8.0" label="tango-noir0-8.0" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/tango-noir0-8.0" />
<menu id="/home/foom/tmp" label="tmp" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/tmp" />
<menu id="/home/foom/videos" label="videos" execute="/usr/bin/crunchbang/obpipemenu-places /home/foom/videos" />
</openbox_pipe_menu>

Last edited by Foomandoonian (2009-01-31 21:57:40)

foomandoonian's tumblelog & twitter

Re: [RESOLVED] Dynamic places menu stopped working

<item label="cb_ninjawork.2009_01_31_18_55_49.0.svg">
    <action name="Execute">
        <execute>pcmanfm '/home/foom/cb_ninjawork.2009_01_31_18_55_49.0.svg'</execute>
    </action>

Looks as thought there is a bad character right after the "k" in cd_ninjawork. It appears to be a Unicode Character 'CANCEL' (U+0018) not likely well handled by xml parser. Try removing the character.

My web activities: Twitter | Identi.ca | Facebook | Blog

Re: [RESOLVED] Dynamic places menu stopped working

Good eye Kestrel, that fixed it! It was an autosave file that Inkscape put there after it crashed. I recall now having a similar problem on Linux Mint (with another Inkscape file, IIRC).

Thanks! big_smile

foomandoonian's tumblelog & twitter

Re: [RESOLVED] Dynamic places menu stopped working

I just had a similar issue caused by a strange filename in my home folder (lots of non-alphanumeric characters). It caused the parser to choke (the pipemenu command must add the names of your files to the xml document at runtime).

The error was something like "error parsing XML file (null), see stdout for more information."

Getting rid of the offending file fixed the problem - I imagine a rename would have done the trick, too.