Giter Club home page Giter Club logo

Comments (7)

stephenfin avatar stephenfin commented on August 25, 2024 1

For future record, this is a manifestation of https://bugs.launchpad.net/pbr/+bug/1758301

from apidoc.

dhellmann avatar dhellmann commented on August 25, 2024

How is the extension being installed in the image?

from apidoc.

paulmelnikow avatar paulmelnikow commented on August 25, 2024

Thanks for the quick response!

In each case it's with pip.

When the base images are built, it's with pip install --upgrade -r ….

I've also tried reinstalling it when the final container is running, just before building the docs:

pip uninstall -y sphinxcontrib-apidoc
pip install sphinxcontrib-apidoc

from apidoc.

dhellmann avatar dhellmann commented on August 25, 2024

That's very odd.

I don't see the plugin in the pip freeze output above. Was that output produced from a run where you had the plugin disabled? Or is that from before it is installed?

Is the source repo you're working with available to check out so I can try and reproduce this locally?

from apidoc.

paulmelnikow avatar paulmelnikow commented on August 25, 2024

Argh, the log viewer doesn't seem to reliably show the entire output.

I trimmed things down and ran a smaller failing example. It won't build the complete docs because of missing dependencies, but Sphinx should exit without an error.

Here's what I'm seeing now:

alabaster==0.7.11
Babel==2.6.0
certifi==2018.8.24
chardet==3.0.4
Click==7.0
coloredlogs==10.0
CommonMark==0.5.4
docutils==0.14
fasteners==0.14.1
humanfriendly==4.16.1
idna==2.7
imagesize==1.1.0
Jinja2==2.10
MarkupSafe==1.0
metabolexecutor==20.0.post1
monotonic==1.5
packaging==18.0
pbr==4.2.0
property-manager==2.3.1
Pygments==2.2.0
pyparsing==2.2.2
pytz==2018.5
recommonmark==0.4.0
requests==2.19.1
six==1.11.0
snowballstemmer==1.2.1
Sphinx==1.8.1
sphinxcontrib-apidoc==0.2.1
sphinxcontrib-websupport==1.1.0
typing==3.6.6
urllib3==1.23
verboselogs==1.7
virtualenv==16.0.0

Build logs: https://zeit.co/lace/entente/ipsvqztnno

I still can't reproduce the problem on my machine if I run docker build -f Dockerfile ., though I wonder if it would be reproducible on a different mac or a Linux system…

Right now my best steps to reproduce are pretty sprawling, unfortunately:

  1. Hook up a Zeit Now account to a github repo
  2. Create a docker repo
  3. Update https://github.com/lace/entente/blob/debug-minimal/dev.py#L34-L35 to point to that repo
  4. Run ./dev.py docker-build debug-1 (or whatever tag you want to use)
  5. Run ./dev.py docker-push debug-1
  6. Update Dockerfile to point to that repo and tag
  7. Push to github to trigger Zeit deploy

Added: It works fine on another mac.

These are the most important bits:

The simplest command that reproduces the problem is:

python -c "import pbr.version; print pbr.version.VersionInfo('apidoc').version_string()"

from apidoc.

dhellmann avatar dhellmann commented on August 25, 2024

Try applying the patch in #10 to see if that helps.

from apidoc.

paulmelnikow avatar paulmelnikow commented on August 25, 2024

That does the trick. What an odd way for that to manifest! I appreciate your help!

from apidoc.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.