Fails to update and create menu entries

Bug #6997 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
menu (Debian)
Fix Released
Unknown
menu (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #258584 http://bugs.debian.org/258584

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #258584 http://bugs.debian.org/258584

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 10 Jul 2004 16:07:40 +0200
From: Alexandre Touret <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Fails to update and create menu entries

Package: menu
Version: 2.1.15
Severity: grave
Justification: causes non-serious data loss

Hi,
I have menu entries described in the /etc/menu. These works fine from 2
years. But recently, when I update my debs menus, the update-menus tool
don t recognize any of them.
The error message:

/etc/menu/jalbum-4.4: line 1: syntax error near unexpected token
`xserver-xfree86'
/etc/menu/jalbum-4.4: line 1:
`?package(xserver-xfree86):command=3D"/usr/local/bin/JAlbum" needs=3D"X1=
1"
\'
L'ex=E9cution de /etc/menu/jalbum-4.4 n'a cr=E9=E9 aucune donn=E9e en sor=
tie ni
retourn=E9 aucune erreur.

My file:
?package(xserver-xfree86):command=3D"/usr/local/bin/JAlbum" needs=3D"X11=
" \
                        section=3D"Apps/Tools" title=3D"Jalbum 4.4" \
                     hints=3D"JALBUM Photo Generator" \
        icon=3D/usr/local/java/bin/jalbum-4.4/help/images/smallicon.gif

Thanks for helping

Alexandre Touret

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=3Dfr_FR, LC_CTYPE=3Dfr_FR

Versions of packages menu depends on:
ii dpkg 1.10.22 Package maintenance system f=
or Deb
ii libc6 2.3.2.ds1-13 GNU C Library: Shared librar=
ies an
ii libgcc1 1:3.3.4-3 GCC support library
ii libstdc++5 1:3.3.4-3 The GNU Standard C++ Library=
 v3

-- no debconf information

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

I cannot reproduce this bug at all. menu works for me. a possible locale setting
problem?

Revision history for this message
Matt Zimmerman (mdz) wrote :

I'm not convinced that issues with the Debian menu system should be RC for Warty
anyway...

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

closing as agreed with Matt on IRC.

Revision history for this message
In , Bill Allombert (allomber) wrote : Re: Bug#258584: Fails to update and create menu entries

severity 258584 normal
thanks
On Sat, Jul 10, 2004 at 04:07:40PM +0200, Alexandre Touret wrote:
> Package: menu
> Version: 2.1.15
> Severity: grave
> Justification: causes non-serious data loss

Really, what data were lost ?

> Hi,
> I have menu entries described in the /etc/menu. These works fine from 2
> years. But recently, when I update my debs menus, the update-menus tool
> don t recognize any of them.
> The error message:
>
> /etc/menu/jalbum-4.4: line 1: syntax error near unexpected token
> `xserver-xfree86'
> /etc/menu/jalbum-4.4: line 1:
> `?package(xserver-xfree86):command="/usr/local/bin/JAlbum" needs="X11"
> \'
> L'exécution de /etc/menu/jalbum-4.4 n'a créé aucune donnée en sortie ni
> retourné aucune erreur.

Menu acts as if /etc/menu/jalbum-4.4 was executable. Is it the case ?

In this case, menu try to execute it and use the output as menu entries,
so in fact the first error message is output by the shell. This is a
documented feature.

chmod a-x /etc/menu/jalbum-4.4
should cure the problem.

Cheers,
--
Bill. <email address hidden>

Imagine a large red swirl here.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040716093155.GB32677@seventeen>
Date: Fri, 16 Jul 2004 11:31:55 +0200
From: Bill Allombert <email address hidden>
To: Alexandre Touret <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#258584: Fails to update and create menu entries

severity 258584 normal
thanks
On Sat, Jul 10, 2004 at 04:07:40PM +0200, Alexandre Touret wrote:
> Package: menu
> Version: 2.1.15
> Severity: grave
> Justification: causes non-serious data loss

Really, what data were lost ?

> Hi,
> I have menu entries described in the /etc/menu. These works fine from 2
> years. But recently, when I update my debs menus, the update-menus tool
> don t recognize any of them.
> The error message:
>
> /etc/menu/jalbum-4.4: line 1: syntax error near unexpected token
> `xserver-xfree86'
> /etc/menu/jalbum-4.4: line 1:
> `?package(xserver-xfree86):command="/usr/local/bin/JAlbum" needs="X11"
> \'
> L'ex�tion de /etc/menu/jalbum-4.4 n'a cr�aucune donn�en sortie ni
> retourn�ucune erreur.

Menu acts as if /etc/menu/jalbum-4.4 was executable. Is it the case ?

In this case, menu try to execute it and use the output as menu entries,
so in fact the first error message is output by the shell. This is a
documented feature.

chmod a-x /etc/menu/jalbum-4.4
should cure the problem.

Cheers,
--
Bill. <email address hidden>

Imagine a large red swirl here.

Revision history for this message
In , Morten Brix Pedersen (morten-mbrix) wrote :

Hi Alexandre,

* Bill Allombert <email address hidden> [2004-07-16 02:35:06]:
> Menu acts as if /etc/menu/jalbum-4.4 was executable. Is it the case ?
>
> In this case, menu try to execute it and use the output as menu entries,
> so in fact the first error message is output by the shell. This is a
> documented feature.

As Bill mentions, this is expected behaviour. Can you please reply to
this bug report and confirm whether or not your /etc/menu/jalbum-4.4
was/is executable?

We would like to close bugs, but we need your feedback.

Thanks!

  - Morten.

--
http://mbrix.dk/

Revision history for this message
In , Alexandre Touret (atouret) wrote : My menu entrie was executable

Package: menu
Version: 2.1.18
Followup-For: Bug #258584

My menu entries was executable :-(
Thx for your help

Alexandre

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages menu depends on:
ii dpkg 1.10.23 Package maintenance system for Deb
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-2 GCC support library
ii libstdc++5 1:3.3.5-1 The GNU Standard C++ Library v3

-- no debconf information

Revision history for this message
In , Morten Brix Pedersen (morten-mbrix) wrote : Re: Bug#258584: My menu entrie was executable

close 258584
thanks

* Alexandre Touret <email address hidden> [2004-10-16 00:11:35]:
> Package: menu
> Version: 2.1.18
> Followup-For: Bug #258584
>
> My menu entries was executable :-(

Ok, thanks for your feedback! I am closing the bug now.

  - Morten.

--
http://mbrix.dk/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 15 Oct 2004 23:50:18 +0200
From: Morten Brix Pedersen <email address hidden>
To: Alexandre Touret <email address hidden>
Cc: Bill Allombert <email address hidden>,
 <email address hidden>
Subject: Re: Bug#258584: Fails to update and create menu entries

Hi Alexandre,

* Bill Allombert <email address hidden> [2004-07-16 02:35:06]:
> Menu acts as if /etc/menu/jalbum-4.4 was executable. Is it the case ?
>
> In this case, menu try to execute it and use the output as menu entries,
> so in fact the first error message is output by the shell. This is a
> documented feature.

As Bill mentions, this is expected behaviour. Can you please reply to
this bug report and confirm whether or not your /etc/menu/jalbum-4.4
was/is executable?

We would like to close bugs, but we need your feedback.

Thanks!

  - Morten.

--
http://mbrix.dk/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 15 Oct 2004 23:58:07 +0200
From: Alexandre Touret <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: My menu entrie was executable

Package: menu
Version: 2.1.18
Followup-For: Bug #258584

My menu entries was executable :-(
Thx for your help

Alexandre

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages menu depends on:
ii dpkg 1.10.23 Package maintenance system for Deb
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-2 GCC support library
ii libstdc++5 1:3.3.5-1 The GNU Standard C++ Library v3

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 16 Oct 2004 00:14:00 +0200
From: Morten Brix Pedersen <email address hidden>
To: <email address hidden>
Cc: Alexandre Touret <email address hidden>,
 <email address hidden>
Subject: Re: Bug#258584: My menu entrie was executable

close 258584
thanks

* Alexandre Touret <email address hidden> [2004-10-16 00:11:35]:
> Package: menu
> Version: 2.1.18
> Followup-For: Bug #258584
>
> My menu entries was executable :-(

Ok, thanks for your feedback! I am closing the bug now.

  - Morten.

--
http://mbrix.dk/

Changed in menu:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.