Re: "make html" build error for spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 2 Aug 2018, Rob Herring wrote:

> On Thu, Aug 2, 2018 at 4:45 PM Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> >
> >
> >   i just cloned a copy of the spec from github to my fully-updated
> > fedora box, and tried to build the HTML with "make html", only to get:
> >
> > $ make html
> > sphinx-build -b html -d build/doctrees   source build/html
> > Running Sphinx v1.7.5
> >
> > Configuration error:
> > There is a programable error in your configuration file:
> >
> > Traceback (most recent call last):
> >   File "/usr/lib/python3.6/site-packages/sphinx/config.py", line 161,
> > in __init__
> >     execfile_(filename, config)
> >   File "/usr/lib/python3.6/site-packages/sphinx/util/pycompat.py",
> > line 150, in execfile_
> >     exec_(code, _globals)
> >   File "conf.py", line 259, in <module>
> >     if '-' in release:
> > TypeError: a bytes-like object is required, not 'str'
>
> Sounds like a python 2 vs. 3 issue. Did the default switch on you?

  well, that's clearly what it is, can someone suggest the easiest way
to adjust this, given that i have all sphinx-python3 packages on my
fedora system? i could additionally install the sphinx-python2
packages, just need to know how to tweak the build to use them.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux