Public bug reported:

1. Install sphinx (python3-sphinx 4.3.2-1) and python3-sphinxcontrib.youtube 
(1.0-1.1) from Ubuntu 22.04 (latest updates 6 Mai 2022).
2. Use the sphinxcontrib.youtube from within a sphinx project.
3. Compile with "build html".

Expected result:
Should generate the HTML.

Actual result:
Running Sphinx v4.3.2

Extension error:
Could not import extension sphinxcontrib.youtube (exception: cannot import name 
'Directive' from 'sphinx.util.compat' 
(/usr/lib/python3/dist-packages/sphinx/util/compat.py))
make: *** [Makefile:19: html] Fehler 2

Workaround:
Uninstall python3-sphinxcontrib.youtube package, run "pip install 
sphinxcontrib.youtube". Then it compiles again.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3-sphinxcontrib.youtube 1.0-1.1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri May  6 19:04:19 2022
InstallationDate: Installed on 2022-04-10 (26 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
PackageArchitecture: all
SourcePackage: sphinxcontrib-youtube
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sphinxcontrib-youtube (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972008

Title:
  Cannot import name 'Directive' from 'sphinx.util.compat'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sphinxcontrib-youtube/+bug/1972008/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to