obamenu depends on python2

Bug #1816473 reported by Kevin Otte
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openbox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

/usr/bin/obamenu in the openbox package requires Python 2, but the openbox package has no dependency on a python2 package. This causes an error dialog to pop up when selecting the Applications menu.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openbox 3.6.1-7ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic i686
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: i386
Date: Mon Feb 18 14:08:37 2019
SourcePackage: openbox
UpgradeStatus: Upgraded to bionic on 2018-12-16 (64 days ago)

Revision history for this message
Kevin Otte (nivex) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openbox (Ubuntu):
status: New → Confirmed
Revision history for this message
seahawk1986 (seahawk1986-hotmail) wrote :

Also the shebang should be changed to #!/usr/bin/env python2 since /usr/bin/python does not exist anymore in
Ubuntu focal

Revision history for this message
Kevin Otte (nivex) wrote :

I just ran 2to3 on obamenu and it looks like a simple fix. Maybe we can push this upstream to Debian and not need the python2 call?

Revision history for this message
Kevin Otte (nivex) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fixup obamenu for python3" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Confirmed, but… since obamenu is an external tool not supplied by Openbox developers, I think the appropriate solution here would be to simply remove obamenu from the Openbox package. You can always download it if you want it:
https://rmoe.anukis.de/obamenu.html

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Also reading /etc/xdg/openbox/menu.xml There's a comment above the call to obconf that says "This requires the presence of the 'openbox-menu' package to work." Needless to say, that doesn't help XD

Revision history for this message
Mateusz Łukasik (mati75) wrote :

I will push fix for that to Debian repo at this week.

> Also reading /etc/xdg/openbox/menu.xml There's a comment above the call to obconf that says "This requires the presence of the 'openbox-menu' package to work." Needless to say, that doesn't help XD

ahrrr my bad

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openbox - 3.6.1-9

---------------
openbox (3.6.1-9) unstable; urgency=medium

  * Switch to python3. (Closes: #887122 #886716) (LP: #1816473)
    + Thanks for Kevin Otte (nivex) for patch obamenu
  * d/control:
    + Change dh version to 12.
    + Bump Standards-Version to 4.5.0.
    + Set Rules-Requires-Root to no.
  * Rename debian/NEWS.Debian to debian/NEWS.
  * d/patches:
    + Fix 07_update_desktop.patch
  * Update debian/source/lintian-overrides to new of rename tags.
  * Drop references for lxde-applications.menu. (Closes: #884570)
  * d/*.symbols add Build-Depends-Package:openbox-dev
    Fix lintian warning symbols-file-missing-build-depends-package-field.
  * d/copyright: Welcome 2020.

 -- Mateusz Łukasik <email address hidden> Tue, 17 Mar 2020 18:22:37 +0100

Changed in openbox (Ubuntu):
status: Confirmed → 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.