Discussion:
bikeshed update error...
Hodges, Jeff
2016-04-20 00:12:53 UTC
Permalink
Hi,

i attempted to update bikeshed and garnered this..
sudo bikeshed update
Downloading anchor data...

Success!

Downloading biblio data...

FATAL ERROR: Couldn't download the biblio data.

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>


..and I'm unsure how to debug and resolve.... any help appreciated, eg what are the URL(s) it is attempting to dereference?

thx,

=JeffH
Tab Atkins Jr.
2016-04-20 17:57:34 UTC
Permalink
Post by Hodges, Jeff
i attempted to update bikeshed and garnered this..
sudo bikeshed update
Downloading anchor data...
Success!
Downloading biblio data...
FATAL ERROR: Couldn't download the biblio data.
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
..and I'm unsure how to debug and resolve.... any help appreciated, eg what
are the URL(s) it is attempting to dereference?
The two urls it hits during a biblio update are
<https://specref.herokuapp.com/bibrefs> and
<https://raw.githubusercontent.com/w3c/csswg-drafts/master/biblio.ref>.

Since you told me in a private mail you're running OSX, you might be
running into this: <http://stackoverflow.com/a/30209998/58347> - that
SO answer describes a solution. If that doesn't work,
<https://stackoverflow.com/questions/27804710/python-urllib2-ssl-error>
seems to go into more depth; it sounds like this might be fixed in
OpenSSL 1.0.2 (the current LTS)?

If more people hit this I'll have to try and figure out how to update
the OSX install instructions when I don't own any such devices. :/

~TJ
Hodges, Jeff
2016-04-21 16:20:06 UTC
Permalink
On 4/20/16, 10:57 AM, "Tab Atkins Jr." <***@gmail.com<mailto:***@gmail.com>> wrote:

On Tue, Apr 19, 2016 at 5:12 PM, Hodges, Jeff <***@paypal.com<mailto:***@paypal.com>> wrote:
i attempted to update bikeshed and garnered this..

sudo bikeshed update
Downloading anchor data...
Success!
Downloading biblio data...
FATAL ERROR: Couldn't download the biblio data.
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
(_ssl.c:590)>

..and I'm unsure how to debug and resolve.... any help appreciated, eg what
are the URL(s) it is attempting to dereference?

The two urls it hits during a biblio update are
<https://specref.herokuapp.com/bibrefs> and
<https://raw.githubusercontent.com/w3c/csswg-drafts/master/biblio.ref>.

Since you told me in a private mail you're running OSX, you might be
running into this: <http://stackoverflow.com/a/30209998/58347> - that
SO answer describes a solution. If that doesn't work,
<https://stackoverflow.com/questions/27804710/python-urllib2-ssl-error>
seems to go into more depth; it sounds like this might be fixed in
OpenSSL 1.0.2 (the current LTS)?

ok, thanks for the leads, I'll follow 'em and see if I can fix it...

=JeffH
Tab Atkins Jr.
2016-04-21 17:11:38 UTC
Permalink
Post by Hodges, Jeff
ok, thanks for the leads, I'll follow 'em and see if I can fix it...
Let me know your results. And if your platform really is borked,
remember that you can always just curl to the CGI version
<https://api.csswg.org/bikeshed/>.

~TJ
Hodges, Jeff
2016-04-30 15:24:41 UTC
Permalink
On 4/21/16, 10:11 AM, "Tab Atkins Jr." <***@gmail.com<mailto:***@gmail.com>> wrote:
On Thu, Apr 21, 2016 at 9:20 AM, Hodges, Jeff <***@paypal.com<mailto:***@paypal.com>> wrote:
ok, thanks for the leads, I'll follow 'em and see if I can fix it...

Let me know your results.

thx Tab. yeah, I spent some time trying to get python updated and for bikeshed to be run by the latest python but was unable to figure it out (or the latest python 2.7.11 has the same cert issues as the earlier incarnations) in the time i allowed myself.

And if your platform really is borked,
remember that you can always just curl to the CGI version
<https://api.csswg.org/bikeshed/>.

well, i attempted to fall back to that but we (w3c/webauthn) have a biblio.json file and I couldn't figure out (in 'reasonable' time) how to feed the latter file to api.csswg.org/bikeshed along with index.src.html

=JeffH
Tab Atkins Jr.
2016-05-05 18:20:22 UTC
Permalink
Post by Hodges, Jeff
well, i attempted to fall back to that but we (w3c/webauthn) have a
biblio.json file and I couldn't figure out (in 'reasonable' time) how to
feed the latter file to api.csswg.org/bikeshed along with index.src.html
Shift the contents into a <pre class=biblio> block. All of the
external data resources should be inlineable. (When I start
introducing linting, it'll complain about external data files. ^_^)

~TJ
Tab Atkins Jr.
2016-05-05 21:46:02 UTC
Permalink
Post by Tab Atkins Jr.
Shift the contents into a <pre class=biblio> block.
..within index.src.html I presume.
Yes. (By the way, .bs is the canonical file extensions. ^_^)
can it be anywhere in the file, eg at the very end?
Yup, all those things are parsed early, before the rest of the
document is handled, so they can go anywhere.
Post by Tab Atkins Jr.
All of the
external data resources should be inlineable. (When I start
introducing linting, it'll complain about external data files. ^_^)
thx for headsup. when will you be introducing linting ?
No timeline yet, but nearish future.

~TJ
Hodges, Jeff
2016-07-07 18:23:36 UTC
Permalink
Post by Tab Atkins Jr.
Post by Tab Atkins Jr.
Shift the contents into a <pre class=biblio> block.
..within index.src.html I presume.
Yes. (By the way, .bs is the canonical file extensions. ^_^)
we've migrated the webauthn spec to be .bs
Post by Tab Atkins Jr.
can it be anywhere in the file, eg at the very end?
Yup, all those things are parsed early, before the rest of the
document is handled, so they can go anywhere.
we incorp'd refs in .bs file...
Post by Tab Atkins Jr.
Post by Tab Atkins Jr.
All of the
external data resources should be inlineable. (When I start
introducing linting, it'll complain about external data files. ^_^)
thx for headsup. when will you be introducing linting ?
No timeline yet, but nearish future.
..so hopefully we're ready for linting.

thx,

=JeffH

Loading...