Your message dated Sun, 04 Dec 2016 17:49:03 +0000 with message-id <[email protected]> and subject line Bug#748111: fixed in rdflib 4.2.1-1 has caused the Debian Bug report #748111, regarding python-rdflib: SPARQLStore fails to fetch data from DBPedia 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.) -- 748111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748111 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-rdflib Version: 4.0.1-3 Severity: normal Tags: upstream The following code issues an error : import urllib2 from rdflib import Graph, URIRef from rdflib.plugins.stores.sparqlstore import SPARQLStore if 1: handler = urllib2.HTTPHandler(debuglevel=1) opener = urllib2.build_opener(handler) urllib2.install_opener(opener) store = SPARQLStore("http://dbpedia.org/sparql", context_aware=False) graph = Graph(store) for p, o in graph.predicate_objects(URIRef('http://dbpedia.org/resource/Teheran_43')): continue send: 'GET /sparql?query=%0ASELECT+%3Fp+%3Fo+WHERE+%7B+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FTeheran_43%3E+%3Fp+%3Fo+%7D HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: dbpedia.org\r\nConnection: close\r\nAccept: application/sparql-results+xml\r\nUser-Agent: sparqlwrapper 1.5.2 (http://sparql-wrapper.sourceforge.net/)\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Date: Wed, 14 May 2014 11:40:39 GMT header: Content-Type: application/sparql-results+xml; charset=UTF-8 header: Content-Length: 24350 header: Connection: close header: Server: Virtuoso/07.10.3209 (Linux) i686-generic-linux-glibc212-64 VDB header: Accept-Ranges: bytes Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/olivier/git/github.com/gjhiggins/RDFAlchemy/rdfalchemy/samples/bug.py", line 14, in <module> for p, o in graph.predicate_objects(URIRef('http://dbpedia.org/resource/Teheran_43')): File "/usr/lib/python2.7/dist-packages/rdflib/graph.py", line 618, in predicate_objects for s, p, o in self.triples((subject, None, None)): File "/usr/lib/python2.7/dist-packages/rdflib/graph.py", line 397, in triples for (s, p, o), cg in self.__store.triples((s, p, o), context=self): File "/usr/lib/python2.7/dist-packages/rdflib/plugins/stores/sparqlstore.py", line 324, in triples for rt, vars in TraverseSPARQLResultDOM(doc, asDictionary=True): File "/usr/lib/python2.7/dist-packages/rdflib/plugins/stores/sparqlstore.py", line 104, in TraverseSPARQLResultDOM term = CastToTerm(binding.findall('*')[0]) File "/usr/lib/python2.7/dist-packages/rdflib/plugins/stores/sparqlstore.py", line 141, in CastToTerm "{http://www.w3.org/XML/1998/namespace}lang"]) File "/usr/lib/python2.7/dist-packages/rdflib/term.py", line 571, in __new__ _value, _datatype = _castPythonToLiteral(lexical_or_value) File "/usr/lib/python2.7/dist-packages/rdflib/term.py", line 1384, in _castPythonToLiteral if isinstance(obj, pType): TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types Hope this helps. Best regards, -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (250, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-rdflib depends on: ii python-isodate 0.4.6-1 ii python-pyparsing 2.0.1+dfsg1-1 pn python:any <none> Versions of packages python-rdflib recommends: ii python-html5lib 0.999-2 ii python-sparqlwrapper 1.5.2-2 Versions of packages python-rdflib suggests: ii python-rdflib-doc 4.0.1-3 ii python-rdflib-tools 4.0.1-3 -- debconf-show failed
--- End Message ---
--- Begin Message ---Source: rdflib Source-Version: 4.2.1-1 We believe that the bug you reported is fixed in the latest version of rdflib, 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. Christian M. Amsüss <[email protected]> (supplier of updated rdflib 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: Thu, 03 Nov 2016 04:50:23 +0100 Source: rdflib Binary: python-rdflib python3-rdflib python-rdflib-doc python-rdflib-tools Architecture: source all amd64 Version: 4.2.1-1 Distribution: unstable Urgency: medium Maintainer: Christian M. Amsüss <[email protected]> Changed-By: Christian M. Amsüss <[email protected]> Description: python-rdflib - Python library containing an RDF triple store and RDF parsers/ser python-rdflib-doc - Python library containing an RDF triple store [...] (documentatio python-rdflib-tools - Python tools for converting to and from RDF python3-rdflib - Python 3 library containing an RDF triple store and RDF parsers/s Closes: 748111 838849 Changes: rdflib (4.2.1-1) unstable; urgency=medium . [ upstream ] * New version. (Closes: #838849, #748111) . [ Christian M. Amsüss ] * Refresh patches, drop fixed ones. * Update copyright file. * Bump standards-version to 3.9.8 * Drop obsolete control lines and workarounds * Update package descriptions * Add README.source file * Enable test suite for Python 3 * Register with doc-base . [ Andreas Tille ] * make sure build/ dir is really cleaned up Checksums-Sha1: a10c8ca8ca6689bd427fe4b6b4d85f331afb3fec 2636 rdflib_4.2.1-1.dsc f3137514b60d45f0f66f815718f86b0fae0325b1 1108526 rdflib_4.2.1.orig.tar.gz 0642cb54ea4ad670a4182c0197dc58941fa2d2f9 28432 rdflib_4.2.1-1.debian.tar.xz 8f0504ae66e8cc40902f001c7233a578915b1fae 603940 python-rdflib-doc_4.2.1-1_all.deb 2a39ebec89873ff998463f7022b0043a73f3b646 26686 python-rdflib-tools_4.2.1-1_amd64.deb 164411e781709f59329c804b17ff20649f6fb945 253114 python-rdflib_4.2.1-1_amd64.deb 28c92f9c5ef567fce7e547b0f00a426a5926486f 251718 python3-rdflib_4.2.1-1_amd64.deb 4d7ec9e813667aae4152c22c82ccd696dc002d02 7604 rdflib_4.2.1-1_amd64.buildinfo Checksums-Sha256: 965e2947f052b3df6597f87738105a8f41b3fe97883e1ed86ea00e14a84d45b9 2636 rdflib_4.2.1-1.dsc c942f1dcd5a96d29ac6b8aad2f6ad1663c3fd2ed3586d567d0eb9208d05bd323 1108526 rdflib_4.2.1.orig.tar.gz c490cc29098a1f8b24195c40bb8c808dc6f258fbdd8a934fb3fbc91a0ee91da2 28432 rdflib_4.2.1-1.debian.tar.xz 1bb66ad3fbf09ad09412fa5194cd7c2318c1636751fd5087d79d3baea901dd44 603940 python-rdflib-doc_4.2.1-1_all.deb 736f5ebf96858a40d63f5643b64c6b967f05f717f79e3f9b7105bd81396d4508 26686 python-rdflib-tools_4.2.1-1_amd64.deb 81cb00d1edf782e9f71cb21b766eb2e36aa81d50b240c8efdde9435e5a6be4ca 253114 python-rdflib_4.2.1-1_amd64.deb 4b61015c94f7cba5a275929a98156074e7c05ccb6c6271fa1e76e273ba735b57 251718 python3-rdflib_4.2.1-1_amd64.deb 4d86868edf0de6c15ef6ae6536b2c979fbeb461654910f3049644cae5b9e8ea3 7604 rdflib_4.2.1-1_amd64.buildinfo Files: ce8a8ebe8d20ad8dd6cfbcb9aa36ab58 2636 python optional rdflib_4.2.1-1.dsc ce76cb39a5737aeb99f557cff3826a5f 1108526 python optional rdflib_4.2.1.orig.tar.gz d5fbc97b9508dc91c0d444d5289c765c 28432 python optional rdflib_4.2.1-1.debian.tar.xz baa26fb38e785090b1af617b122467c6 603940 doc optional python-rdflib-doc_4.2.1-1_all.deb c42129eb86c503578e382d0b424cff79 26686 python optional python-rdflib-tools_4.2.1-1_amd64.deb 4f436c0bd17b46ab0586a4c8c23abdb9 253114 python optional python-rdflib_4.2.1-1_amd64.deb ea79ed9670e8b27ecc35ea9eabe3accd 251718 python optional python3-rdflib_4.2.1-1_amd64.deb aced1b72f915df3c547b35e61f0f770a 7604 python optional rdflib_4.2.1-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAlhETjYRHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtHJbg//bFRey1O6D8/Y9fSjpnHAl9HkGtclbedQ QwofmTOpFC+3/6g9W5iNubBwJPlrJ8y4n297JsNqaRuZlx7fci5AjSbMD/KcYLzP hSI8Lw5ImMwv/sGGUMbnKzTanaG0IOnwCJvG6bHNc5FbY7ZXo95ks8Tiuq/avhK+ UiXrbAuooTAya+lpxJCT8eKJhkayFJFX7uCgOgrsdpv2DL5hRU9QCKRqfwyjrhpG ell4T/uLbDVh3ju3/LYNwqLLYHmtqWmWJBf7Tfl7V9v63xMV2pqE4EJB/BSncCgp eF+nLk0IV0NYWsh61q9oGf8K4SjZM/MY5KG09FzEfMHczUE8D+byMj3PCMdfex15 yDF8995it0EO7Sf/WOob9h/+mU6nYew2Bide97latsIusuIK9gBmGMPqDN5sVCI7 g/0zvcSEKmL64d+fhmp2kPgl3WsvxGa66nyBK7UF/+pVAV+idv6FlNmMzt8cjb3U BuG2F5hV04Sq1CDePkgEsjmX/fKwqjEtxoQDYCv7kkrqHLILev7QHdsIGcP43TCs 03bZSFAzbxdxbuMyIrhXvPrA4VenJVXBx2wBjySX5kHtXgW+Kxe2RS7wTvOj3Fg3 yaD0ISETbQsblZOdlqi6cOqmd0l0C+TwQ2yHaJErWQvdnGtNQb5uTLVbjN0F6fLb SMahQYHWNfs= =8urM -----END PGP SIGNATURE-----
--- End Message ---

