Your message dated Sun, 27 Nov 2011 17:22:31 +0000
with message-id <e1ruiqx-0007a7...@franck.debian.org>
and subject line Bug#587997: fixed in pytrainer 1.9.1-1
has caused the Debian Bug report #587997,
regarding Fails to run on mipsel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
587997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587997
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pytrainer
Tags: patch

Hi,

I backported pytrainer 1.7.2-1 to lenny and tried to run it on a
mipsel machine, but it failed to run with the following error:

 Unsupported sys.platform: linux2-mipsel.

The attached patch fixed this problem.

-- 
Matt                                              http://ftbfs.org/kraai
--- pytrainer-1.7.2.orig/pytrainer/lib/system.py
+++ pytrainer-1.7.2/pytrainer/lib/system.py
@@ -37,7 +37,7 @@
 		self._setGpxDir()
 
 	def _setHome(self):
-		if sys.platform == "linux2":
+		if sys.platform.startswith("linux2"):
 			variable = 'HOME'
 		elif sys.platform == "win32":
 			variable = 'USERPROFILE'
@@ -67,7 +67,7 @@
 	def _setConfFiles(self):
 		if sys.platform == "win32":
 			self.confdir = self.home+"/pytrainer"
-		elif sys.platform == "linux2":
+		elif sys.platform.startswith("linux2"):
 			self.confdir = self.home+"/.pytrainer"
 		else:
 			print "Unsupported sys.platform: %s." % sys.platform

--- End Message ---
--- Begin Message ---
Source: pytrainer
Source-Version: 1.9.1-1

We believe that the bug you reported is fixed in the latest version of
pytrainer, which is due to be installed in the Debian FTP archive:

pytrainer_1.9.1-1.debian.tar.gz
  to main/p/pytrainer/pytrainer_1.9.1-1.debian.tar.gz
pytrainer_1.9.1-1.dsc
  to main/p/pytrainer/pytrainer_1.9.1-1.dsc
pytrainer_1.9.1-1_all.deb
  to main/p/pytrainer/pytrainer_1.9.1-1_all.deb
pytrainer_1.9.1.orig.tar.bz2
  to main/p/pytrainer/pytrainer_1.9.1.orig.tar.bz2



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 587...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubu...@debian.org> (supplier of updated pytrainer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 27 Nov 2011 17:52:03 +0100
Source: pytrainer
Binary: pytrainer
Architecture: source all
Version: 1.9.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian running development group 
<pkg-running-de...@lists.alioth.debian.org>
Changed-By: Christian Perrier <bubu...@debian.org>
Description: 
 pytrainer  - tool for logging sport activities
Closes: 560907 587997 622170 624136 645960 647751 648600
Changes: 
 pytrainer (1.9.1-1) unstable; urgency=low
 .
   * New upstream release. This closes the following bugs from Debian
     BTS:
     - Portuguese translation. Closes: #645960
     - German translation. Closes: #647751
     - Wrong name for Danish translation. Closes: #624136
     - New upstream release. Closes: #648600
     - Fixed run failure un mipsel. Closes: #587997
     - Fixed "AttributeError: 'NoneType' object has, no attribute 'read'"
       Closes: #622170
   * Drop debian/pytrainer.1 as upstream now provides a manpage
     (which we to to build at build time)
   * Warn users about the lengthy database migration process, in
     NEWS.Debian
   * Fix synopsis in upstream manpage
   * Move pytr in /usr/lib/pytrainer as we're using a wrapper. That
     will also avoid a lintian warning about a missing manpage.
     Closes: #560907
   * Depend on python-migrate to allow database migration at first run
   * Bump Standards to 3.9.2 (checked)
   * Bump debhelper compatibility to 8
   * Use dh7-style debian/rules
Checksums-Sha1: 
 30f75ab8c22769ec46e2603e32b447c883afd35a 1909 pytrainer_1.9.1-1.dsc
 f46991887b2fca35be16b330f94aafc46357abea 393044 pytrainer_1.9.1.orig.tar.bz2
 182516aa63eee924850b111972e993d8cded5447 7563 pytrainer_1.9.1-1.debian.tar.gz
 7081dacb4ff7c5422c78b8af9863cb16475c3549 405990 pytrainer_1.9.1-1_all.deb
Checksums-Sha256: 
 0ff37621cb0fdde6d7afb433e289f2e318328b61f0732d60cbe9113695b85259 1909 
pytrainer_1.9.1-1.dsc
 76c4964616e368e51e937917c359010956b7a21380afd0fd0a4dbb993b7757ac 393044 
pytrainer_1.9.1.orig.tar.bz2
 14c4440eb706c9e226ead5ba9d5af186d313dd0f73f13b5414653b3051040a92 7563 
pytrainer_1.9.1-1.debian.tar.gz
 9cb561d4e527355c9bd0b34e9d1f2621d0b56078dd5f977ae8fa0ee14655f628 405990 
pytrainer_1.9.1-1_all.deb
Files: 
 83bc39b8e401d5dbf96a5e35ebdf9c97 1909 utils optional pytrainer_1.9.1-1.dsc
 00038223a22f155a86188ca9eb5d215d 393044 utils optional 
pytrainer_1.9.1.orig.tar.bz2
 f13197fce193938f0ce23c9404b47c3c 7563 utils optional 
pytrainer_1.9.1-1.debian.tar.gz
 2b1e86548f01fcbcbe4655b5e4ab9d00 405990 utils optional 
pytrainer_1.9.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIVAwUBTtJsBYcvcCxNbiWoAQLXKw/8DJVcr+uDePQ1b/O4hiIfCEeo8jbzcpfO
Rz1vQImAkzsISeOcivPRtrKlx3Zc3DlANgotWFHdoJoz2frkhdblmeuFHJ52wwR6
qw1uj9WXP9rXldSOcrGXSMf7+ThGd1BINeHzusG0hmNoPYzNVz5Ssmtjx61kaeI9
ura0v/wjJzrFJ1yMwLEcCYJxqkxMQo1CeSKHlf/5/ofdOQx6xK6SYMIx4Xeom1p8
RWxMdumlajNnfz3ga1DacungTQFZYmPuvRSQoDRyncxupVaPJcv+570uLhHC3FXm
1GXPXqKKYCl94pYVU/KQ0fikK6Fo+SQqwgVBJzd5IJsSQPOqaPEzRZWxax3bniEj
vPZSO09BWx/GLeLyu+VJr+d1pLVlGKZlhk/iEiRje72BAmNbIRBfryq0+e2DFSZX
f4qG/qAb8qk3txDkF4ER3CmMlmb5im725EBnt91oqUIL/x9RXZF9ZXDWHqI19g53
ZoQiInZ5tNXYutG9izNikPgVuzHuX4ADQZpKj+pU0TxnsmT4a6l+v/w6Y1vPKeLn
yWIEV7iEFG5ILt35/aGrotP2sLIJgL6wDHcGLLgLcOl9yYlEHBdL01uK8XxXocw2
1k5iYikNlwO2ekIWG6oDgUrOhQ2XpQ8CRjG8nF4RO43hjXVB8nj5pSPSG47iqEdk
HyAXcmceVNQ=
=KXw2
-----END PGP SIGNATURE-----



--- End Message ---
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to