Your message dated Wed, 22 Jan 2014 13:00:06 +0000 with message-id <[email protected]> and subject line Bug#733667: fixed in python-shapely 1.3.0-1 has caused the Debian Bug report #733667, regarding python-shapely: libgeos version ("3.4.2-CAPI-1.8.2 r3921") breaks shapely.geos 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.) -- 733667: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733667 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-shapely Version: 1.2.14-1 Severity: important kdienes@romulus:~$ python Python 2.7.6 (default, Dec 6 2013, 20:05:37) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import shapely >>> import shapely.geos Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/shapely/geos.py", line 102, in <module> geos_capi_version = geos_c_version = _geos_c_version() File "/usr/lib/python2.7/dist-packages/shapely/geos.py", line 100, in _geos_c_version return tuple(int(n) for n in v.split('.')) File "/usr/lib/python2.7/dist-packages/shapely/geos.py", line 100, in <genexpr> return tuple(int(n) for n in v.split('.')) ValueError: invalid literal for int() with base 10: '2 r3921' ------ This can be traced to _geos_c_version in geos.py. Changing it to this: # For example: 3.4.2-CAPI-1.8.2 r3921 _geos_c_version_re = re.compile ('[^- ]+-[^- ]+-([0-9]x[.0-9]+[0-9])+( r[0-9]+)?') def _geos_c_version(): func = _lgeos.GEOSversion func.argtypes = [] func.restype = c_char_p s = func() m = _geos_c_version_re.match(s) if not m: raise ValueError(s) print m.group(1) return tuple(int(n) for n in m.group (1).split('.')) fixed the problem for me. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.11-2-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---Source: python-shapely Source-Version: 1.3.0-1 We believe that the bug you reported is fixed in the latest version of python-shapely, 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. Pietro Battiston <[email protected]> (supplier of updated python-shapely 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: SHA512 Format: 1.8 Date: Mon, 20 Jan 2014 11:04:52 +0100 Source: python-shapely Binary: python-shapely python3-shapely Architecture: source amd64 Version: 1.3.0-1 Distribution: unstable Urgency: low Maintainer: Pietro Battiston <[email protected]> Changed-By: Pietro Battiston <[email protected]> Description: python-shapely - geometric objects, predicates, and operations (Python 2) python3-shapely - geometric objects, predicates, and operations (Python 3) Closes: 666655 731566 733667 735808 Changes: python-shapely (1.3.0-1) unstable; urgency=low . * Imported Upstream version 1.3.0 (Closes: #731566) - Works with libgeos >= 3.4.2 (Closes: #733667, #735808) - Removed non-deterministic test "cascaded_union.txt" (Closes: #666655) * Deleted obsolete patches. * Require python >= 2.6. * Switched to pbuild, added support for python 3. * Updated watch file: look for releases on github (they contain .pyx files). * Updated Homepage field. * Updated policy version. Checksums-Sha1: 42e848e947cf282fb8b170901fba9a3259168828 2130 python-shapely_1.3.0-1.dsc 737655d917e50036b39caa036167c8fa5b4ea03b 215757 python-shapely_1.3.0.orig.tar.gz f85802d6dff833d921b94543889c6dee82758ec6 8520 python-shapely_1.3.0-1.debian.tar.xz 46a5b30ac5ab8e57f1cd25f3e117acd555af0ba4 102728 python-shapely_1.3.0-1_amd64.deb a63fc153f01307961f36987f683f02e8bac1bbf8 78854 python3-shapely_1.3.0-1_amd64.deb Checksums-Sha256: 17cbb3c1559a9d7440494ae20c5daa571c0072c29e25c73261957a203d08ffc3 2130 python-shapely_1.3.0-1.dsc 653028ce8bd8f2933c3ddf9cfd0dfb5e14b14ec29eb6bc2852b073f23451a990 215757 python-shapely_1.3.0.orig.tar.gz 1daafa37e256dd2116754e1d8acdd72e0a2bb366c65186014d9c874f512832ec 8520 python-shapely_1.3.0-1.debian.tar.xz 400f8f703cf3b931d67164eccef736054c62a97ba4bf545193040fffdf45ae6b 102728 python-shapely_1.3.0-1_amd64.deb d14c57054e90205433af4a98ccc27cd7eda1aa66e5021cb4df96440ab011693b 78854 python3-shapely_1.3.0-1_amd64.deb Files: 0b03b66f119e490fdbafd7cd70ab0071 2130 python optional python-shapely_1.3.0-1.dsc 0d4d473785c33fd0132952a3eba02d71 215757 python optional python-shapely_1.3.0.orig.tar.gz 25f7b1ddc50d20baebdcb5c664202dd1 8520 python optional python-shapely_1.3.0-1.debian.tar.xz 0337c6bae4d7314debe6c5d4df7e34ec 102728 python optional python-shapely_1.3.0-1_amd64.deb afc2ede34eaa62ee7e2d8f6f4b55edfe 78854 python optional python3-shapely_1.3.0-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJS3u6ZAAoJEK728aKnRXZFIV8QANP9cx3I5TJ2EXWy8vBHJrQo zDV+vPQbR8UBubvZgl8+HNu2b/P5jctiJTLPlyHPeaC0ogurPpMZ/lFwY+YO0aFl 1lDdfEWzFl5EwbXJCZgAQLDysNUX3z5kt26zixuEZLCKkcdScSIfrOVQhYZVhQJQ EthrIMUR4P3GnPTM14olY68qnX7wh+S02gg4TbPp11zG69zs7WwnfPBmBNBN+Do3 6q7390LclBxV2PRfW9zE8lZkFwE/a+rt4qvZAAhe697M8elFCxZQtV9DDoy0ZUbs 5y2XGduTK7nZIssm6OydevgvZ9U47TYhiyzR/ouAYjSG9rxBi+v4ZnA/f6SBGtDk ap+Ux6NzI+KQGKqy/USimYOtzfj9TCuyfX8lS6Dy7F3sch+7AbHjjU+nBo8u65TO esRLoTGJu+e1P28ndPbV4kwTq4QEO20vlyaPxEN9mkk1J7O30bxG7FpURDwKk0Zn 4Zdgmua39PDkdu5pE9+MSjpyFKESbbxKAEuvkRpMUFWpcWsLxutJuqq+p1hUQAhl 4Ob/Xot2NF0OGE8kPyL6JH53yhXMh9+De16Qgujh7E5+qHubf2Owu4LD6XIQUCUw 03OZRQe2StNYq6kq60nf/nIPlbDQoDErf5Km8dtMJp1wd0P6zzzjqtv2lXeANHc7 6g9iOtPC/zZp3CLL8jIO =Lw5s -----END PGP SIGNATURE-----
--- End Message ---

