Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- roman@D85:~/work/sqg$ python main-tests.py -n odbc
- -------- Testing Namespace --------
- -------- Testing Expression --------
- -------- Testing ConvTypes --------
- Warning: Can't convert 'not a number' to number. Converting to 0.
- -------- Testing Source --------
- Warning: Skipping blank URL
- Warning: Can't convert data of unknown type to "image/jpeg". Leaving as is.
- ----------------------------------------
- Error retrieving document "http://google.com/nopage". Details follow:
- Error: HTTP response code: 404
- Node: SELECT1
- ----------------------------------------
- ----------------------------------------
- Error retrieving document "http://google.com/nopage". Details follow:
- Error: HTTP response code: 404
- Node: SELECT1
- ----------------------------------------
- ----------------------------------------
- Error retrieving document "file:testfiles/input/frames/a.html". Details follow:
- Error: Couldn't retrieve child frame "file:testfiles/input/frames/c.html" from "file:testfiles/input/frames/a.html": Error: Maximum number of child frames reached
- Node: SELECT1
- ----------------------------------------
- Warning: Couldn't retrieve child frame "file:testfiles/input/frames/c.html" from "file:testfiles/input/frames/a.html": Error: Maximum number of child frames reached
- -------- Testing Html --------
- -------- Testing Http --------
- Warning: Cookie file "/home/roman/work/sqg/testfiles/tmpOut/cookieState" missing or malformed. Loading blank cookie state.
- Warning: "www.1.2.3.4" is an invalid host name. Ignoring cookies.
- Warning: "www.1.2.3.4" is an invalid host name. Ignoring cookies.
- Warning: "2.3.4" is an invalid host name. Ignoring cookies.
- Warning: "2.3.4" is an invalid host name. Ignoring cookies.
- ----------------------------------------
- Error retrieving document "https://secure.donauversicherung.at". Details follow:
- Error: Host "secure.donauversicherung.at" not found in certificate DNS list: www.donauversicherung.at, www.donauassicurazioni.it, m.donauversicherung.at, dl.donauversicherung.at, dev.donauversicherung.at, donauassicurazioni.it, donauversicherung.at
- Node: SELECT1
- ----------------------------------------
- -------- Testing Misc --------
- Test warning message output successfully
- -------- Testing Func --------
- Warning: Can't convert 'not a number' to number. Converting to 0.
- Warning: Can't convert 'hammerhead shark' to number. Converting to 0.
- Warning: Can't convert 'hammerhead shark' to number. Converting to 0.
- Warning: Can't convert 'apple' to number. Converting to 0.
- Warning: Invalid pattern "(?=\w))"
- Warning: Can't convert 'a' to number. Converting to 0.
- Warning: Can't convert '' to number. Converting to 0.
- Warning: Problem parsing date string "Jun 2, 2012 6:00:30 PM" using pattern "badpattern". Returning NULL.
- Warning: Problem parsing date string "3/27/1994 00" using pattern "mm/dd/yyyy hh". Returning NULL.
- Warning: Problem parsing date string "Jan 12th, 2012th" using pattern "mon dd, yyyy". Returning NULL.
- Warning: Problem parsing date string "Aaa 2, 2012 6:00:30 AM EDT" using pattern "xd2 xt2 tzd". Returning NULL.
- Warning: Problem parsing date string "Jun 2, 2012 6:00:30" using pattern "xd2 xt2". Returning NULL.
- Warning: Problem parsing date string "01-16, 1959" using pattern "mm-dd yyyy". Returning NULL.
- Warning: Can't convert 'not a number' to number. Converting to 0.
- -------- Testing Parser --------
- <f.182>:2:24: Trying to find one of r"\[", r"{", OPS_MULT, OPS_ADD, OPS_SHIFT, OPS_COMP, "(?i)not", "(?i)case", "(?i)containing", "(?i)matching", "(?i)umatching", "(?i)is", OPS_BWISE, "(?i)and", "(?i)or", r"\.\.\.", "(?i)AS", r"\]", r"}", ":", r"\)", ",", r"(?i)CONVERTING\s+FROM", r"(?i)CONVERTING\s+TO", r"(?i)CONVERTING\s+AS", r"(?i)CONVERT\s+USING", r"(?i)POOL\s+BY", r"(?i)PRIORITIZE\s+BY", r"(?i)FOLLOWING\s+IF", r"(?i)TO\s+DEPTH", "(?i)POST", "(?i)SUBMITTING", r"(?i)CACHE\s+FORMS", r"(?i)FORGET\s+FORMS", r"(?i)CLEAR\s+FORMS", r"(?i)FORGET\s+COOKIES", r"(?i)ADDING\s+COOKIE", "(?i)ADDING\s+HEADER", "(?i)DELAY", "(?i)TIMEOUT", "(?i)PROXY", "(?i)UNGUARDED", r"(?i)WITH\s+ERRORS", "(?i)RETRY", r"(?i)ALLOW\s+PARTIAL", r"(?i)ACCEPTING\s+ANY", "(?i)ACCEPTING", "(?i)IGNORE", "(?i)SANITIZE", "(?i)AT", "(?i)then", "(?i)FOR", "(?i)ALWAYS", "(?i)HEADER", "(?i)SPREAD", "(?i)WHERE", "(?i)FROM", "(?i)HAVING", "(?i)TERMINATE", r"(?i)GROUP\s+BY", r"(?i)SORT\s+BY", "(?i)INTO", "(?i)IF", "(?i)VALUES", "(?i)FILE", r"(?i)NOTHING\s+FOR", "(?i)BUTTON", "(?i)end", r"(?i)TO\s+FORM", r"(?i)TO\s+FORM\s+TARGET", "(?i)TO", "(?i)else", "(?i)when", "(?i)APPEND", r"(?i)DELIMIT\s+WITH", "(?i)STYLESHEET", "(?i)TRANSFORM", "(?i)ENCODING", r"(?i)WITH\s+HEADINGS", r"(?i)PARENT\s+WAIT", r"(?i)WAIT", r"(?i)UNION", r"(?i)UNION\s+JOIN", r"(?i)JOIN", r"(?i)LEFT\s+OUTER\s+JOIN", r"(?i)RIGHT\s+OUTER\s+JOIN", r"(?i)FULL\s+OUTER\s+JOIN", r"(?i)THEN\s+SUBMITTING", END, "(?i)SELECT"
- > select unique distinct 1
- > ^
- while parsing ops_index():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_unary():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_mult():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_add():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_shift():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_comp():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_bwise():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_and():
- > '/home/roman/work/sqg'
- > ^
- while parsing expr():
- > '/home/roman/work/sqg'
- > ^
- while parsing selectexpr(0, {'unique': True, 'name': 'SELECT1', 'select': []}):
- > '/home/roman/work/sqg'
- > ^
- while parsing node(1, [], '/home/roman/work/sqg'):
- > '/home/roman/work/sqg'
- > ^
- while parsing joins('/home/roman/work/sqg',):
- > '/home/roman/work/sqg'
- > ^
- while parsing script():
- > '/home/roman/work/sqg'
- > ^
- <f.183>:2:24: Trying to find one of r"\[", r"{", OPS_MULT, OPS_ADD, OPS_SHIFT, OPS_COMP, "(?i)not", "(?i)case", "(?i)containing", "(?i)matching", "(?i)umatching", "(?i)is", OPS_BWISE, "(?i)and", "(?i)or", r"\.\.\.", "(?i)AS", r"\]", r"}", ":", r"\)", ",", r"(?i)CONVERTING\s+FROM", r"(?i)CONVERTING\s+TO", r"(?i)CONVERTING\s+AS", r"(?i)CONVERT\s+USING", r"(?i)POOL\s+BY", r"(?i)PRIORITIZE\s+BY", r"(?i)FOLLOWING\s+IF", r"(?i)TO\s+DEPTH", "(?i)POST", "(?i)SUBMITTING", r"(?i)CACHE\s+FORMS", r"(?i)FORGET\s+FORMS", r"(?i)CLEAR\s+FORMS", r"(?i)FORGET\s+COOKIES", r"(?i)ADDING\s+COOKIE", "(?i)ADDING\s+HEADER", "(?i)DELAY", "(?i)TIMEOUT", "(?i)PROXY", "(?i)UNGUARDED", r"(?i)WITH\s+ERRORS", "(?i)RETRY", r"(?i)ALLOW\s+PARTIAL", r"(?i)ACCEPTING\s+ANY", "(?i)ACCEPTING", "(?i)IGNORE", "(?i)SANITIZE", "(?i)AT", "(?i)then", "(?i)FOR", "(?i)ALWAYS", "(?i)HEADER", "(?i)SPREAD", "(?i)WHERE", "(?i)FROM", "(?i)HAVING", "(?i)TERMINATE", r"(?i)GROUP\s+BY", r"(?i)SORT\s+BY", "(?i)INTO", "(?i)IF", "(?i)VALUES", "(?i)FILE", r"(?i)NOTHING\s+FOR", "(?i)BUTTON", "(?i)end", r"(?i)TO\s+FORM", r"(?i)TO\s+FORM\s+TARGET", "(?i)TO", "(?i)else", "(?i)when", "(?i)APPEND", r"(?i)DELIMIT\s+WITH", "(?i)STYLESHEET", "(?i)TRANSFORM", "(?i)ENCODING", r"(?i)WITH\s+HEADINGS", r"(?i)PARENT\s+WAIT", r"(?i)WAIT", r"(?i)UNION", r"(?i)UNION\s+JOIN", r"(?i)JOIN", r"(?i)LEFT\s+OUTER\s+JOIN", r"(?i)RIGHT\s+OUTER\s+JOIN", r"(?i)FULL\s+OUTER\s+JOIN", r"(?i)THEN\s+SUBMITTING", END, "(?i)SELECT"
- > select distinct unique 1
- > ^
- while parsing ops_index():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_unary():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_mult():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_add():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_shift():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_comp():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_bwise():
- > '/home/roman/work/sqg'
- > ^
- while parsing ops_and():
- > '/home/roman/work/sqg'
- > ^
- while parsing expr():
- > '/home/roman/work/sqg'
- > ^
- while parsing selectexpr(0, {'unique': True, 'name': 'SELECT1', 'select': []}):
- > '/home/roman/work/sqg'
- > ^
- while parsing node(1, [], '/home/roman/work/sqg'):
- > '/home/roman/work/sqg'
- > ^
- while parsing joins('/home/roman/work/sqg',):
- > '/home/roman/work/sqg'
- > ^
- while parsing script():
- > '/home/roman/work/sqg'
- > ^
- Parser warning: INTO TABLE has been deprecated. No effect.
- Parser warning: INTO TABLE has been deprecated. No effect.
- <f.218>:2:32: Trying to find one of "(?i)WITHIN"
- > select * from empty remove html, empty within http://test.com
- > ^
- while parsing fromopts(['SELECT1', 'TRANSLATOR1'], '/home/roman/work/sqg'):
- > '/home/roman/work/sqg'
- > ^
- while parsing node(1, [], '/home/roman/work/sqg'):
- > '/home/roman/work/sqg'
- > ^
- while parsing joins('/home/roman/work/sqg',):
- > '/home/roman/work/sqg'
- > ^
- while parsing script():
- > '/home/roman/work/sqg'
- > ^
- -------- Testing Node --------
- ----------------------------------------
- Error: Query terminated (Message: "hello there")
- Node: SELECT1
- ----------------------------------------
- -------- Testing Connector --------
- Warning: Number of fields in union join don't match
- Warning: Number of fields in union join don't match
- Warning: Number of fields in union join don't match
- Warning: OUTER JOIN performed as JOIN due to absent WHERE clause
- ----------------------------------------
- Error: OUTER JOIN must have exactly two parents
- Node: SELECT2
- ----------------------------------------
- ----------------------------------------
- Internal Error: Can't get output columns from failed node SELECT2
- Node: DEFAULT
- ----------------------------------------
- ----------------------------------------
- Error: OUTER JOIN must have exactly two parents
- Node: SELECT4
- ----------------------------------------
- ----------------------------------------
- Internal Error: Can't get output columns from failed node SELECT4
- Node: DEFAULT
- ----------------------------------------
- -------- Testing Translators --------
- -------- Testing Output --------
- -------- Testing Queue --------
- Warning: Skipping blank URL
- -------- Testing Query --------
- Warning: Number of fields in union join don't match
- ----------------------------------------
- Error retrieving document "http://localhost:777". Details follow:
- Error: Socket failed. [Errno 111] Connection refused
- Node: SELECT2
- ----------------------------------------
- *** TESTING SUCCESSFULLY COMPLETED ***
- roman@D85:~/work/sqg$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement