Bug#594129: pympd: does not start - can't find the necessary Python modules

2010-08-27 Thread Timur Birsh
On Friday 27 August 2010 21:36:44 Jakub Wilk wrote:
 tags 594129 patch
 thanks
 
 'current' in XS-Python-Version is deprecated - as per Debian Python
 Policy. Change it to 2.6. Please find below patch that fixes it.
 
 XSPV:current is not really a big deal (and it's certainly better than
 XSPV:2.6). The culprit is shebang hardcoded at build time. The attached
 patch fixes both things.

Piotr and Jakub, sorry. I'll take it into consideration.

Thanks,
Timur



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



Bug#594129: pympd: does not start - can't find the necessary Python modules

2010-08-27 Thread Jakub Wilk

tags 594129 patch
thanks


'current' in XS-Python-Version is deprecated - as per Debian Python Policy.
Change it to 2.6. Please find below patch that fixes it.


XSPV:current is not really a big deal (and it's certainly better than 
XSPV:2.6). The culprit is shebang hardcoded at build time. The attached 
patch fixes both things.


--
Jakub Wilk
diff -u pympd-0.07/debian/control pympd-0.07/debian/control
--- pympd-0.07/debian/control
+++ pympd-0.07/debian/control
@@ -5,7 +5,7 @@
 Build-Depends: debhelper (= 5.0.37.2), dpatch
 Build-Depends-Indep: python-all-dev (= 2.3), python-central (= 0.5), docbook-to-man
 Standards-Version: 3.7.2
-XS-Python-Version: current
+XS-Python-Version: = 2.4
 Homepage: http://pympd.sourceforge.net/
 
 Package: pympd
diff -u pympd-0.07/debian/rules pympd-0.07/debian/rules
--- pympd-0.07/debian/rules
+++ pympd-0.07/debian/rules
@@ -11,7 +11,7 @@
 	
 	set -e; \
 	for python in $(PYVERS); \
-	do $$python setup.py build; \
+	do $$python setup.py build --executable=/usr/bin/python; \
 	done
 	docbook-to-man debian/pympd.sgml  pympd.1
 


signature.asc
Description: Digital signature


Processed: Bug#594129: pympd: does not start - can't find the necessary Python modules

2010-08-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 594129 patch
Bug #594129 [pympd] pympd: does not start - can't find the necessary Python 
modules
Added tag(s) patch.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
594129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594129
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


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



Bug#594129: pympd: does not start - can't find the necessary Python modules

2010-08-23 Thread Bernd Zeimetz
Package: pympd
Version: 0.07-1.3
Severity: grave

% pympd
Traceback (most recent call last):
  File /usr/bin/pympd, line 12, in module
import pympd
ImportError: No module named pympd

Replacing the shebank of /usr/bin/pympd with the default Python
version makes it work... Did not have the time to investigate further.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.2-think (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pympd depends on:
ii  python2.6.5-12   interactive high-level object-orie
ii  python-central0.6.16 register and build utility for Pyt
ii  python-glade2 2.17.0-4   GTK+ bindings: Glade support
ii  python2.5 2.5.5-6An interactive high-level object-o

Versions of packages pympd recommends:
pn  mpd   none (no description available)

pympd suggests no packages.

-- no debconf information



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