Skip to content

Instantly share code, notes, and snippets.

(gdb) py-bt
#3 Frame 0x18c41c0, for file /usr/lib/python2.7/multiprocessing/synchronize.py, line 246, in wait (self=<Condition(_lock=<Lock(release=<built-in method release of _multiprocessing.SemLock object at remote 0x1822540>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1822540>, _semlock=<_multiprocessing.SemLock at remote 0x1822540>) at remote 0x1839850>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1822540>, _wait_semaphore=<Semaphore(release=<built-in method release of _multiprocessing.SemLock object at remote 0x1832ab0>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1832ab0>, _semlock=<_multiprocessing.SemLock at remote 0x1832ab0>) at remote 0x1839950>, _sleeping_count=<Semaphore(release=<built-in method release of _multiprocessing.SemLock object at remote 0x1822510>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1822510>, _semlock=<_multiprocessing.SemLock at remot
@sideshowbarker
sideshowbarker / gist:4afef022003b6050e9ae
Created December 10, 2014 14:23
wpt manifest.py local_changes failure
$ python tools/scripts/manifest.py
DEBUG:manifest:Creating new manifest at /opt/workspace/web-platform-tests/MANIFEST.json
INFO:manifest:Updating manifest
DEBUG:manifest:Adding all changesets to the manifest
Traceback (most recent call last):
File "tools/scripts/manifest.py", line 855, in <module>
update_from_cli(**vars(opts))
File "tools/scripts/manifest.py", line 821, in update_from_cli
ignore_local=kwargs.get("ignore_local", False))
File "tools/scripts/manifest.py", line 800, in update
@sideshowbarker
sideshowbarker / gist:7fd83a3791f4702c2402
Created January 8, 2015 07:05
vnu TLSv10 stack trace two
nu.validator.xml.PrudentHttpEntityResolver - https://us.hunchlab.com/login
nu.validator.servlet.VerifierServletTransaction - IOException
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
@sideshowbarker
sideshowbarker / gist:21fc8a22ad3cad41eb74
Created January 8, 2015 07:03
vnu TLSv10 stack trace
nu.validator.xml.PrudentHttpEntityResolver - https://us.hunchlab.com/login
nu.validator.servlet.VerifierServletTransaction - IOException
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:189)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
at sun.security.ssl.InputRecord.read(InputRecord.java:480)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
"file:/opt/workspace/web-platform-tests/conformance-checkers/html/elements/picture/srcset-microsyntax-h-novalid.html": error: Expected "Bad value “x 1h” for attribute “srcset” on element “img”: Expected number followed by “w” or “x” but found “1h” at “x 1h”." but instead encountered "Bad value “x 1h” for attribute “srcset” on element “img”: Expected width descriptor but found “1h” at “x 1h”. (When the “sizes” attribute is present, all image candidate strings must specify a width.)".
"file:/opt/workspace/web-platform-tests/conformance-checkers/html/elements/picture/srcset-microsyntax-uppercase-w-novalid.html": error: Expected "Bad value “x 1W” for attribute “srcset” on element “img”: Expected number followed by “w” or “x” but found “1W” at “x 1W”." but instead encountered "Bad value “x 1W” for attribute “srcset” on element “img”: Expected width descriptor but found “1W” at “x 1W”. (When the “sizes” attribute is present, all image candidate strings must specify a width.)".
"file:/opt/workspace/web-platform-te
--- rash-html.rng 2015-03-07 02:32:38.000000000 +0900
+++ rash-html-fixed.rng 2015-03-08 13:39:07.000000000 +0900
@@ -14,7 +14,7 @@
Under the following terms:
* Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-->
-<grammar
+<grammar ns="http://www.w3.org/1999/xhtml"
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
/usr/local/lib/node/.npm/ext/0.6.1/package/lib/ext/core_ext/function.js:4
require('ext').extend(Function.prototype, {
^
TypeError: Object #<an Object> has no method 'extend'
at Object.<anonymous> (/usr/local/lib/node/.npm/ext/0.6.1/package/lib/ext/core_ext/function.js:4:16)
at Module._compile (node.js:461:23)
at Module._loadScriptSync (node.js:468:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
@sideshowbarker
sideshowbarker / gist:706192
Created November 19, 2010 06:33
comparing jing error message for required-but-missing attributes
error message from validator-nu branch:
/Users/mike/FOO.html:4:8: error: Element “object” from namespace
“http://www.w3.org/1999/xhtml” is missing one or more of the following
attributes: [data, type].
error message from jing trunk:
/Users/mike/FOO.html:4:8: error: element "object" missing one or more
required attributes; expected attribute "accesskey", "align", "archive",
"border", "class", "classid", "code", "codebase", "codetype",
"contenteditable", "contextmenu", "data", "datafld", "dataformatas",
diff -r dfd45ca89a7d HtmlParser-compile-detailed
--- a/HtmlParser-compile-detailed Sun Dec 12 17:38:35 2010 -0800
+++ b/HtmlParser-compile-detailed Wed Dec 15 16:26:51 2010 +0900
@@ -1,3 +1,3 @@
#!/bin/sh
APPDIR=`dirname $0`;
-java -XstartOnFirstThread -Xmx256M -cp "$APPDIR/src:$APPDIR/gwt-src:$APPDIR/super:/Developer/gwt-mac-1.5.1/gwt-user.jar:/Developer/gwt-mac-1.5.1/gwt-dev-mac.jar" com.google.gwt.dev.GWTCompiler -style DETAILED -out "$APPDIR/www" "$@" nu.validator.htmlparser.HtmlParser;
+java -Xmx256M -cp "$APPDIR/src:$APPDIR/gwt-src:$APPDIR/super:/opt/workspace/gwt-2.1.0/gwt-user.jar:/opt/workspace/gwt-2.1.0/gwt-dev.jar" com.google.gwt.dev.GWTCompiler -style DETAILED -out "$APPDIR/www" "$@" nu.validator.htmlparser.HtmlParser;
diff -r dfd45ca89a7d HtmlParser-compile-detailed.launch
--- a/HtmlParser-compile-detailed.launch Sun Dec 12 17:38:35 2010 -0800
HG=hg
SVN=svn
CURL=curl
PYTHON=python
PATCH=patch
SPLITTER=html5-tools/spec-splitter/spec-splitter.py
SPLITTERFLAGS=--html5lib-serialiser
LOG: index.html $(SPLITTER)
$(PYTHON) $(SPLITTER) $(SPLITTERFLAGS) $< .