[Bug 1273075] [NEW] Copying html_logo file over improperly checks for file basename instead of relative name

Christopher Lee 1273075 at bugs.launchpad.net
Mon Jan 27 06:39:22 UTC 2014


Public bug reported:

Copying html_logo file over improperly checks for file basename instead
of relative name (taken from[1])

To quote: 
  "1.2.1 inserted a check to see if the html_logo file existed before attempting to copy it over to _static; however, the check is on the basename of the file, so this will always file unless the html_logo file is put into the same dir as conf.py. This should probably check for the relative name instead (i.e. the value of self.config.html_logo)."

There is a patch available here: https://bitbucket.org/birkenfeld/sphinx
/pull-request/211/fix-for-issue-1352/diff

[1] https://bitbucket.org/birkenfeld/sphinx/issue/1352/copying-
html_logo-file-over-improperly

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-sphinx 1.2.1+dfsg-2ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.13.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 27 19:36:50 2014
InstallationDate: Installed on 2013-12-17 (40 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131216)
PackageArchitecture: all
SourcePackage: sphinx
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sphinx (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

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

Title:
  Copying html_logo file over improperly checks for file basename
  instead of relative name

Status in “sphinx” package in Ubuntu:
  New

Bug description:
  Copying html_logo file over improperly checks for file basename
  instead of relative name (taken from[1])

  To quote: 
    "1.2.1 inserted a check to see if the html_logo file existed before attempting to copy it over to _static; however, the check is on the basename of the file, so this will always file unless the html_logo file is put into the same dir as conf.py. This should probably check for the relative name instead (i.e. the value of self.config.html_logo)."

  There is a patch available here:
  https://bitbucket.org/birkenfeld/sphinx/pull-request/211/fix-for-
  issue-1352/diff

  [1] https://bitbucket.org/birkenfeld/sphinx/issue/1352/copying-
  html_logo-file-over-improperly

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python-sphinx 1.2.1+dfsg-2ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  ApportVersion: 2.13.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jan 27 19:36:50 2014
  InstallationDate: Installed on 2013-12-17 (40 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131216)
  PackageArchitecture: all
  SourcePackage: sphinx
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sphinx/+bug/1273075/+subscriptions



More information about the foundations-bugs mailing list