FTBFS: from pymongo import ... ImportError: cannot import name Connection

Bug #1507425 reported by Logan Rosen on 2015-10-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mongoengine (Debian)
Fix Released
python-mongoengine (Ubuntu)

Bug Description

Imported from Debian bug http://bugs.debian.org/789980:

Source: python-mongoengine
Version: 0.6.13-2
Severity: serious
Justification: fails to build from source
User: <email address hidden>
Usertags: ftbfs

Dear Maintainer,

The package fails to build:

make[2]: Entering directory '/tmp/buildd/python-mongoengine-0.6.13/docs.debian'
sphinx-build -b html -d _build/doctrees . _build/html
Making output directory...
Running Sphinx v1.2.3

Exception occurred:
  File "/tmp/buildd/python-mongoengine-0.6.13/mongoengine/connection.py", line 2, in <module>
    from pymongo import Connection, ReplicaSetConnection, uri_parser
ImportError: cannot import name Connection
The full traceback has been saved in /tmp/sphinx-err-ty4S2z.log, if you want to report the issue to the developers.

Alternative build log:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Logan Rosen (logan) on 2015-10-19
Changed in python-mongoengine (Ubuntu):
status: New → Triaged
importance: Undecided → High
description: updated
tags: added: ftbfs
Changed in python-mongoengine (Debian):
importance: Undecided → Unknown
Changed in python-mongoengine (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.