Your message dated Fri, 17 Oct 2014 10:00:32 +0000 with message-id <[email protected]> and subject line Bug#765371: fixed in owfs 2.9p7-1 has caused the Debian Bug report #765371, regarding Import fails - error parsing version (fixed upstream) 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 [email protected] immediately.) -- 765371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765371 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-ow Version: 2.9p5-1 Severity: grave Trying to import ow results in pietro@debiousci:~$ python -c "import ow" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 37, in <module> __version__ = _OW.version( ) + '-%s' % '$Id$'.split( )[ 2 ] IndexError: list index out of range The line which gives an error... couldn't really do otherwise. The problem comes from the fact that while in previous upstream versions that line looked like __version__ = _OW.version( ) + '-%s' % '$Id: __init__.py,v 1.19 2013/03/24 01:23:30 alfille Exp $'.split( )[ 2 ] , this was changed probably through an automatic replacement which broke owpython in version 2.9p5. The same applies to ownet. Attached is a patch which fixes both. Notice that both are also fixed upstream in version 2.9p7 (exactly in the same way as my patch). So the optimal fix would be to simply package it. But if this can't be done in reasonable time, I could (push 2.9p5-1.1 to collab-maint, and) try to get a new NMU sponsored with my simple patch applied. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (600, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores) Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-ow depends on: ii libc6 2.19-11 ii libow-2.9-5 2.9p5-1.1 ii python 2.7.8-1 python-ow recommends no packages. python-ow suggests no packages. -- no debconf informationcommit 64222f5788c664c15bb0f980ed170be1405c308c Author: Pietro Battiston <[email protected]> Date: Tue Oct 14 14:32:29 2014 +0200 Only return the OW version diff --git a/debian/patches/only-return-the-OW-version.patch b/debian/patches/only-return-the-OW-version.patch new file mode 100644 index 0000000..3c040be --- /dev/null +++ b/debian/patches/only-return-the-OW-version.patch @@ -0,0 +1,25 @@ +From: Pietro Battiston <[email protected]> +Date: Tue, 14 Oct 2014 14:29:13 +0200 +Subject: Only return the OW version. + +The python files are currently installed without replacing some +placeholders such as "$Id$". As a consequence, the parsing ("split()") +of the version number fails. This horrible hack simply disables it, +until the real fix is implemented. +--- + module/swig/python/ow/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/module/swig/python/ow/__init__.py b/module/swig/python/ow/__init__.py +index 0ed9dfd..84bc115 100644 +--- a/module/swig/python/ow/__init__.py ++++ b/module/swig/python/ow/__init__.py +@@ -34,7 +34,7 @@ from ow import _OW + + __author__ = 'Peter Kropf' + __email__ = '[email protected]' +-__version__ = _OW.version( ) + '-%s' % '$Id$'.split( )[ 2 ] ++__version__ = _OW.version( ) + + + # diff --git a/debian/patches/series b/debian/patches/series index 494f101..f0fe969 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ deb-specific_python-install.patch deb_specific__owfs-use-config.patch for-upstream_fix-ABI.patch for-upstream_owexist-manpage.patch +only-return-the-OW-version.patch
--- End Message ---
--- Begin Message ---Source: owfs Source-Version: 2.9p7-1 We believe that the bug you reported is fixed in the latest version of owfs, which is due to be installed in the Debian FTP archive. 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Vincent Danjean <[email protected]> (supplier of updated owfs 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 14 Oct 2014 18:57:13 +0200 Source: owfs Binary: owfs-common owfs libow-2.9-7 libowcapi-2.9-7 libow-dev libownet-2.9-7 libownet-dev owserver ow-shell ow-tools owfs-fuse owhttpd owftpd libow-php5 libownet-php libow-perl libownet-perl python-ow python-ownet libow-tcl owfs-doc owfs-dbg Architecture: all amd64 source Version: 2.9p7-1 Distribution: unstable Urgency: medium Maintainer: Vincent Danjean <[email protected]> Changed-By: Vincent Danjean <[email protected]> Closes: 765371 Description: libow-2.9-7 - 1-Wire File System full library libowcapi-2.9-7 - 1-Wire File System C library libow-dev - 1-Wire File System (development files) libownet-2.9-7 - owserver protocol library libownet-dev - owserver protocol library (development files) libownet-perl - Perl module for accessing 1-wire networks libownet-php - Dallas 1-wire support: PHP OWNet library libow-perl - Dallas 1-wire support: Perl5 bindings libow-php5 - Dallas 1-wire support: PHP5 bindings libow-tcl - Dallas 1-wire support: Tcl bindings owfs-common - common files used by any of the OWFS programs owfs - Dallas 1-wire support owfs-dbg - Debugging symbols for the OWFS packages owfs-doc - Dallas 1-wire support: Documentation for owfs owfs-fuse - 1-Wire filesystem owftpd - FTP daemon providing access to 1-Wire networks owhttpd - HTTP daemon providing access to 1-Wire networks owserver - Backend server for 1-Wire control ow-shell - shell utilities to talk to an 1-Wire owserver ow-tools - tools to monitor or inspect a ow-server link python-ow - Dallas 1-wire support: Python bindings python-ownet - Python module for accessing 1-wire networks Changes: owfs (2.9p7-1) unstable; urgency=medium . * New (minor) upstream release + fix version parsing in python and perl modules (Closes: #765371) Checksums-Sha1: 279b7c60e18cf32144641fdbef7222b9fb906645 2977 owfs_2.9p7-1.dsc d1a0c5de20cb307e55c50bd182b420263c72365e 1454288 owfs_2.9p7.orig.tar.gz 0012394b0e8bf5a9a926966d4b4c269675f5531d 51972 owfs_2.9p7-1.debian.tar.xz 036e09eaf77c9b7dc8e0ba255b862f2a9d0e34c3 15302 owfs-common_2.9p7-1_all.deb 87262e41d7c494591a64c2f3d77931d84833f239 7204 owfs_2.9p7-1_all.deb 9395fe86d44f36c5615944fc83d17e068678b037 216606 libow-2.9-7_2.9p7-1_amd64.deb c6debc1962fa91edf16a836d5e56fb3b72be2852 10794 libowcapi-2.9-7_2.9p7-1_amd64.deb e4db6703da28bddc40da5b105a70f9c6d7627afc 15008 libow-dev_2.9p7-1_amd64.deb 287e5019ceccc2f08e1ac505ffe5718aa8c69a68 20382 libownet-2.9-7_2.9p7-1_amd64.deb 85096f0c627052cc089203045cade70504a166a0 14042 libownet-dev_2.9p7-1_amd64.deb 2e2402974886458b26e5d40b69293a5144231e7e 23688 owserver_2.9p7-1_amd64.deb 6ec42d21b324903056aa85eff04295ba57393997 25738 ow-shell_2.9p7-1_amd64.deb f5a8a82361b1d2f0f8120f7525cfb4e94b442532 26576 ow-tools_2.9p7-1_all.deb 9c4013c7e3aa7dd4e4b0742146c7961a734c0dc3 18788 owfs-fuse_2.9p7-1_amd64.deb 71650e52c03f98c52202580d0d9799f72c9f145a 25872 owhttpd_2.9p7-1_amd64.deb 8ca637f28656aaee9c72a7ce96ec82c326a5cf0e 36286 owftpd_2.9p7-1_amd64.deb 5101ed914526e0c476b9a9e8d44b5fd3eff795f6 12674 libow-php5_2.9p7-1_amd64.deb 20a76babc9c9eaf327d07dc8a390e13dd0f2b4e5 15852 libownet-php_2.9p7-1_all.deb 85f5b7751aad971999fd2318cf5e68d6005717ba 18744 libow-perl_2.9p7-1_amd64.deb c2a778b0b3ea98c4f696e0c3fdd54e5e8773a054 28246 libownet-perl_2.9p7-1_all.deb 39fcc92e87811504990e2ca1a4950902d4b496e3 32660 python-ow_2.9p7-1_amd64.deb 7f6e16b2682c180e735848ef5a5a401f118963c3 14518 python-ownet_2.9p7-1_all.deb 46e0acc0f98070e637646ab5baa2ba6b8bd0e2e1 17600 libow-tcl_2.9p7-1_amd64.deb b5ceefef9c5c6da532e672c2399618f0a5ffbc3e 193698 owfs-doc_2.9p7-1_all.deb 9b07e13f6b923fc2f4b6858f4e5d732f2de49196 1712416 owfs-dbg_2.9p7-1_amd64.deb Checksums-Sha256: 0e7556ebc3c813d16c59ac3c2c4ae0cacad4dc85263b136dbc12ee66346015c5 2977 owfs_2.9p7-1.dsc 8f74d24e9a98958d4fc7e505bc110c94d35f5aae70e260e99d94fc632dfe1f85 1454288 owfs_2.9p7.orig.tar.gz cc3738807c1d16feed78f5645dbce2effb8f36b00ae0014e6c88e1da115c8444 51972 owfs_2.9p7-1.debian.tar.xz fdeec7c7fce6a66b2ed33824be093b3d794e3a89c192c359020208f70bb0b209 15302 owfs-common_2.9p7-1_all.deb 09126a2ab56690f2e9d03322fa4a58d2ac19420739bcd20d163d450046df83bc 7204 owfs_2.9p7-1_all.deb 2a9712b4ab71beca814312005442ab4c8b21485745d3d79763972dd14ea1744c 216606 libow-2.9-7_2.9p7-1_amd64.deb a55c0439bce4845b384698ae30b9fd6b5b495d29ea703ff18c22d29b0b743d06 10794 libowcapi-2.9-7_2.9p7-1_amd64.deb e6f435e943e2c220336ba3c6cd375124c558456ab895fc002a840acec317f027 15008 libow-dev_2.9p7-1_amd64.deb 270a3f15a844b6eb4dd193f654b67594137b7b805f5e89ab792787922bb6beba 20382 libownet-2.9-7_2.9p7-1_amd64.deb a858203b9de6787cb7bfe059b532f4a207cfbbf7f7280e4e7a01c29c0798e906 14042 libownet-dev_2.9p7-1_amd64.deb ac281777dcd2a2f8ee98746c391e11b9e16dafb60f139b9689c35489dc342398 23688 owserver_2.9p7-1_amd64.deb ef08da902323eeff08ca279558a72385f7bd382a67fe529928da68db5daaed8f 25738 ow-shell_2.9p7-1_amd64.deb 54b369dea62b19a29e75523ca3e8f4834e880c42967e42f22e9fe66f45b58c3b 26576 ow-tools_2.9p7-1_all.deb 22823b2ba94eb055524940274a57c9e528219224db50d754b1cc1a635aea26df 18788 owfs-fuse_2.9p7-1_amd64.deb ec19935234b5754fda95f8d26f48b3319b1b4001f3a1d8448785896c930a5b0e 25872 owhttpd_2.9p7-1_amd64.deb b474744de21aae9a6863fd726e584504d12c1358f9099a7f14476861d2caea6f 36286 owftpd_2.9p7-1_amd64.deb 97fc06645772c56a39fa17091aa5839a9df38faad9645645c33270bd089fe2a7 12674 libow-php5_2.9p7-1_amd64.deb fde8514f22596a0e4320417fbf6c973004a6bd6a1166df047681445a3788fc6e 15852 libownet-php_2.9p7-1_all.deb cc7ecb14ff05f500c536d948465577c2c694106423c1f7dfff35dea489c298aa 18744 libow-perl_2.9p7-1_amd64.deb b811689b2ffd74ae3e618786082645d56d401670d671101d2230936d720e7949 28246 libownet-perl_2.9p7-1_all.deb 4152d226263809f95cae7d124220df44d710b9321d56e874e91eb4405aa01e2e 32660 python-ow_2.9p7-1_amd64.deb 6a14c17510a0e88d95957c0be19efd41ba8d51e98fa8d63866547edabd34db22 14518 python-ownet_2.9p7-1_all.deb 332cba0a3286f32044439abfc0c905b8f5479186508f8b84e3672241c9793773 17600 libow-tcl_2.9p7-1_amd64.deb 3ae90e8050722ac4ad3e6c6beb058cd502e3a11c4efa024451358c8c8131f752 193698 owfs-doc_2.9p7-1_all.deb 31daaad67f3cb0ac5ffd530d2f4ea5e92dcf1cdc8f018234617d54f4838fc2af 1712416 owfs-dbg_2.9p7-1_amd64.deb Files: fd7961101dd140f4e30c06fae459ce8d 2977 electronics extra owfs_2.9p7-1.dsc 47808d820e6340af58ec05cfe8e220c6 1454288 electronics extra owfs_2.9p7.orig.tar.gz a9201b34f600902f097bb238a1d46ad7 51972 electronics extra owfs_2.9p7-1.debian.tar.xz a96bed50af036725b462010c99759331 15302 electronics extra owfs-common_2.9p7-1_all.deb 23f56280a7a0797568252c5ddcdab92e 7204 electronics extra owfs_2.9p7-1_all.deb af29e86edbb21354dbcd83a4c33f54ef 216606 libs extra libow-2.9-7_2.9p7-1_amd64.deb 9f58fcd1df94b93afbf3a1cdde54813d 10794 libs extra libowcapi-2.9-7_2.9p7-1_amd64.deb 176f510de2d5f0fecf6c096087d5f7c1 15008 libdevel extra libow-dev_2.9p7-1_amd64.deb 2f538d757441a3ac41c81c08b64ae87c 20382 libs extra libownet-2.9-7_2.9p7-1_amd64.deb aaf999a832fd3f70a4034e9be3bc5a40 14042 libdevel extra libownet-dev_2.9p7-1_amd64.deb 88b46396eab536e5930cfe5606abae44 23688 electronics extra owserver_2.9p7-1_amd64.deb c3ca4731cef9fd3f44de8c1bb609ea92 25738 electronics extra ow-shell_2.9p7-1_amd64.deb 56e1c551d4dbde7802bf027719e62d81 26576 electronics extra ow-tools_2.9p7-1_all.deb 2abb008e918c4c27a2774716c6b167fd 18788 electronics extra owfs-fuse_2.9p7-1_amd64.deb e24e3457c98de52e3480a3c640e317dd 25872 electronics extra owhttpd_2.9p7-1_amd64.deb ac1fa403d79923eb52ae0181a58a7b9d 36286 electronics extra owftpd_2.9p7-1_amd64.deb 5b0b2b08feece3d0c50eceeff5744dbb 12674 web extra libow-php5_2.9p7-1_amd64.deb 449b2e87dc96fd4f21cb90d0129e389f 15852 web extra libownet-php_2.9p7-1_all.deb 0ca98c22ef5af96ea1c68161d9afabe5 18744 perl extra libow-perl_2.9p7-1_amd64.deb 11c4581b517908b7f2bce973519ab4d5 28246 perl extra libownet-perl_2.9p7-1_all.deb 05837905f0b8e880350b41e8dc4c9474 32660 python extra python-ow_2.9p7-1_amd64.deb 969363eaa64650993e08be59b1ed6dc0 14518 python extra python-ownet_2.9p7-1_all.deb 5f3e39d809854c9d4e3cf6c744978b77 17600 devel extra libow-tcl_2.9p7-1_amd64.deb 6b9ed3712a23701bb1feaf97d6c04f03 193698 doc extra owfs-doc_2.9p7-1_all.deb 19664fc71fc29dfa2d715df527618f6b 1712416 debug extra owfs-dbg_2.9p7-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVD+zm5ZH3mN+x7dRAQh7SQ//cGzanenvba8KnXdQm3mrjBmNGGdLWfA1 5hhe71WSeejp9SbaFQeut9oh2b1AV50bzYKBGOXYZP2ehDGMkDAJb1P0aw9A5Tkk FUYAPMb/mLQuDNKxslQIElUNzzOQC3CuXv6XKuuSJ7FQv0sWFvbe2CorGdxyjBNe KnG4LSSvdM2LfWCDrt45HPG6lRnKdAMaOD4GZrGmXFIBqpcGRv8xAsSJ8ntU4owG FPnl+SSGGAMDrCFPQT3+yA4l354IhaOnmAVy1ikXBPlLunV4yI7gNK9+wnpRwx4o JRHHnHMcq1roJqkcC3lj5vXxaD2UrPAeGl2fSE+tqMgHwDqlBHYPhKQml+axXSD2 nPQY6ub2rFDC92u9tXy1BrzOzKMl4Wb3CdPUsiJI19uIDpKvKdLthxG9Y3KmVkL3 VQVxxzhnasdbbXTbIhvygbOnvd9JSuQv60lbBH4rI6G2bMh7MQ87rJ85jk+xQBqL SnWbUlq5Ej22zBS4UQxaQDGVDm+2+plKuMoCvxIhbr/PxqnwHyN7nITf8yP00l7n iwwnW/hxVjBaIgoDKQSlO49cM65IyH1Mq9f+w9o621NHvGPQmRVNAFa2Kp0RxyCA cQopor4yC/s+3DPFeU72IRjFQm9NkFjmC130TK1BsJGhuZjqY4VT75rPwxbk6F9E ym8Fk9hp5nE= =K6Ne -----END PGP SIGNATURE-----
--- End Message ---

