Bug#623012: Newest python seems to break obmenu

2011-04-28 Thread Jakub Wilk

* Jakub Wilk jw...@debian.org, 2011-04-16, 23:34:

(see bug #).


I meant: see bug #587373.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#623012: Newest python seems to break obmenu

2011-04-16 Thread Sérgio Cipolla
Package: obmenu
Version: 1.0-1+b1
Severity: grave
Justification: renders package unusable

I think that the recent python upgrades broke obmenu, particularly its obxml 
module.

usuario@crunchbang:~$ obmenu 
Traceback (most recent call last):
  File /usr/bin/obmenu, line 21, in module
import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named obxml

usuario@crunchbang:~$ obm-xdg 
Traceback (most recent call last):
  File /usr/bin/obm-xdg, line 24, in module
import xml.dom.minidom, obxml, os, sys, time
ImportError: No module named obxml


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages obmenu depends on:
ii  python-glade22.17.0-4+b1 GTK+ bindings: Glade support
ii  python-support   1.0.13  automated rebuilding support for P
ii  python2.52.5.5-11An interactive high-level object-o

Versions of packages obmenu recommends:
ii  openbox   3.4.11.1-1 standards compliant, fast, light-w

obmenu suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#623012: Newest python seems to break obmenu

2011-04-16 Thread Jakub Wilk

tags 623012 + patch
user debian-pyt...@lists.debian.org
usertags 623012 + python2.5-removal
thanks

* Sérgio Cipolla secipo...@gmail.com, 2011-04-16, 12:49:
I think that the recent python upgrades broke obmenu, particularly its 
obxml module.


usuario@crunchbang:~$ obmenu
Traceback (most recent call last):
 File /usr/bin/obmenu, line 21, in module
   import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named obxml


This is because obmenu is /usr/bin/python2.5 shebang (see bug #).

The attached patch fixes this bug.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#623012: Newest python seems to break obmenu

2011-04-16 Thread Jakub Wilk

* Jakub Wilk jw...@debian.org, 2011-04-16, 23:34:

The attached patch fixes this bug.


Now really attached.

--
Jakub Wilk
diff -u obmenu-1.0/debian/rules obmenu-1.0/debian/rules
--- obmenu-1.0/debian/rules
+++ obmenu-1.0/debian/rules
@@ -7,6 +7,8 @@
 include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
 
+DEB_PYTHON_BUILD_ARGS_ALL = --executable=/usr/bin/python
+
 install/obmenu::
 	dh_installman debian/man/*
 


Bug#623012: Newest python seems to break obmenu

2011-04-16 Thread Sergio Cipolla
Thank you.