8000 The "ridiculous example" doesn't work · Issue #4 · timtadh/pyflwor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

The "ridiculous e 8000 xample" doesn't work #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dustinlacewell opened this issue Feb 28, 2019 · 0 comments
Open

The "ridiculous example" doesn't work #4

dustinlacewell opened this issue Feb 28, 2019 · 0 comments

Comments

@dustinlacewell
Copy link
Traceback (most recent call last):
  File "test.py", line 13, in <module>
    print(pyflwor.execute(query, locals()))
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/pyflwor.py", line 37, in execute
    return compile(query)(namespace)
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 354, in query
    return OrderedSet(select(objs, attrs))
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/OrderedSet.py", line 20, in __init__
    self |= iterable
  File "/home/ldlework/src/blot/.venv/lib/python3.7/_collections_abc.py", line 605, in __ior__
    for value in it:
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 350, in select
    if not where(cobjs): continue
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 277, in where
    return val(objs)
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 202, in where
    return op(value1(objs), value2(objs))
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 120, in value
    obj = expand(objs, objs, attr0, objs[attr0.name])
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 103, in expand
    p.append(param(objs))
  File "/home/ldlework/src/blot/.venv/src/pyflwor/pyflwor/symbols.py", line 120, in value
    obj = expand(objs, objs, attr0, objs[attr0.name])
KeyError: 'j'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0