Skip to content

Instantly share code, notes, and snippets.

@nickmartini
Created February 29, 2012 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickmartini/1945111 to your computer and use it in GitHub Desktop.
Save nickmartini/1945111 to your computer and use it in GitHub Desktop.
adsfasdfasdfasdfsdfasdfasdfasdfasdf
nick@ganymede:rdfs $ cwm schema.ttl --sparql=query.ttl
#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp
# using base file:///Users/nick/Projects/rdfs/schema.ttl
Traceback (most recent call last):
File "/usr/local/bin/cwm", line 750, in <module>
doCommand()
File "/usr/local/bin/cwm", line 564, in doCommand
referer="", contentType="x-application/sparql")
File "/Library/Python/2.7/site-packages/swap/llyn.py", line 1609, in load
referer=referer, why=why)
File "/Library/Python/2.7/site-packages/swap/webAccess.py", line 195, in load
p = sparql_parser.N3Parser(StringIO.StringIO(buffer), sparql_parser.branches, convertor)
File "/Library/Python/2.7/site-packages/swap/sparql/sparql_parser.py", line 47, in __init__
lexer = sparql_tokens.Lexer()
File "/Library/Python/2.7/site-packages/swap/sparql/sparql_tokens.py", line 272, in __init__
self.fixTokens()
File "/Library/Python/2.7/site-packages/swap/sparql/sparql_tokens.py", line 314, in fixTokens
importTokens()
File "/Library/Python/2.7/site-packages/swap/sparql/sparql_tokens.py", line 31, in importTokens
from sparql_tokens_table import tokens as ts, regexps as rs
File "/Library/Python/2.7/site-packages/swap/sparql/sparql_tokens_table.py", line 90, in <module>
u'c_http://www.w3.org/2000/10/swap/grammar/sparql#VAR2': re.compile(u'\\$[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\U00010000-\U000effff][_0-9A-Za-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0300-\u036f\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\U00010000-\U000effff]*', re.I),
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 190, in compile
return _compile(pattern, flags)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 245, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
nick@ganymede:rdfs $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment