Your message dated Tue, 23 Feb 2010 04:04:49 +0000
with message-id <[email protected]>
and subject line Bug#570123: fixed in python-facebook 0.svn20100209-3
has caused the Debian Bug report #570123,
regarding python-facebook: breaks if python-json is installed
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.)


-- 
570123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570123
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-facebook
Version: 0.svn20100209-2.1
Severity: important
Tags: patch

Hello,

Despite the fact that python-facebook suggests python-json, its support for JSON breaks (for Python < 2.6) if the latter package is installed. This is because python-json provides different API than python-facebook expects.

The attached (not very well tested) patch should fix this bug.

--
Jakub Wilk
diff -u python-facebook-0.svn20100209/debian/control python-facebook-0.svn20100209/debian/control
--- python-facebook-0.svn20100209/debian/control
+++ python-facebook-0.svn20100209/debian/control
@@ -12,5 +12,5 @@
 XB-Python-Version: ${python:Versions}
 Provides: ${python:Provides}
-Suggests: python-json
+Suggests: python (>= 2.6) | python-simplejson
 Description: Python wrappers for the Facebook API
  PyFacebook is a thin wrapper for accessing Facebook's API through Python.
only in patch2:
unchanged:
--- python-facebook-0.svn20100209.orig/facebook/__init__.py
+++ python-facebook-0.svn20100209/facebook/__init__.py
@@ -62,7 +62,8 @@
 RESPONSE_FORMAT = 'JSON'
 try:
     import json as simplejson
-except ImportError:
+    simplejson.dumps
+except (ImportError, AttributeError):
     try:
         import simplejson
     except ImportError:

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: python-facebook
Source-Version: 0.svn20100209-3

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

python-facebook_0.svn20100209-3.diff.gz
  to main/p/python-facebook/python-facebook_0.svn20100209-3.diff.gz
python-facebook_0.svn20100209-3.dsc
  to main/p/python-facebook/python-facebook_0.svn20100209-3.dsc
python-facebook_0.svn20100209-3_all.deb
  to main/p/python-facebook/python-facebook_0.svn20100209-3_all.deb



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.
Ian Wienand <[email protected]> (supplier of updated python-facebook 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: SHA1

Format: 1.8
Date: Fri, 19 Feb 2010 12:57:37 -0800
Source: python-facebook
Binary: python-facebook
Architecture: source all
Version: 0.svn20100209-3
Distribution: unstable
Urgency: low
Maintainer: Ian Wienand <[email protected]>
Changed-By: Ian Wienand <[email protected]>
Description: 
 python-facebook - Python wrappers for the Facebook API
Closes: 570123
Changes: 
 python-facebook (0.svn20100209-3) unstable; urgency=low
 .
   * Suggest python-simplejson, and conflict with python-json.  Python 2.6
     provides a 'json' module (compatible with simplejson), so this code
     does an 'import json as simplejson'.  This breaks with python-json, as
     it provides a 'json' that is not simplejson compatible. (Closes:
     #570123)
Checksums-Sha1: 
 82c0d3cbbd6d09b0c396424c3fad585a46138b54 1149 
python-facebook_0.svn20100209-3.dsc
 ddad28069046f68f521e76d825366f45fd1215ee 2622 
python-facebook_0.svn20100209-3.diff.gz
 f0f0cfb3a23b972c8499081c77e0d211ca66a533 26534 
python-facebook_0.svn20100209-3_all.deb
Checksums-Sha256: 
 babbd72d1941163b381e4043265d72dcfe86f95b7392bc00331c010d99a411f6 1149 
python-facebook_0.svn20100209-3.dsc
 6870d942dd6baf30f7ae51b5d728581235af7729351ce86e4b013dbcceaa650f 2622 
python-facebook_0.svn20100209-3.diff.gz
 bde664f6eb7571da5173b63b9ab5297001bf3f147ef66bdadc37b583db06c361 26534 
python-facebook_0.svn20100209-3_all.deb
Files: 
 d74b9e0682817da25f9085487778e3d0 1149 python extra 
python-facebook_0.svn20100209-3.dsc
 26a45b7aeb20435e24707adf4475dce1 2622 python extra 
python-facebook_0.svn20100209-3.diff.gz
 394babca6700ca1c5bb90d3aaba05d26 26534 python extra 
python-facebook_0.svn20100209-3_all.deb

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

iEYEARECAAYFAkt+/BIACgkQWDlSU/gp6ee5XwCghA3Iwx/k3JIQG2YsnJ816S4n
eSkAoL20plH2wsMcFPMxVCNW+PpYrXrg
=Gi0k
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to