Skip to content
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

Mandatory list as attributes gives exception #653

Closed
bartv opened this issue May 7, 2018 · 0 comments
Closed

Mandatory list as attributes gives exception #653

bartv opened this issue May 7, 2018 · 0 comments
Assignees
Labels

Comments

@bartv
Copy link
Contributor

bartv commented May 7, 2018

entity Test:
    string[] bla
end

Test()

implement Test using std::none

produces

Traceback (most recent call last):
  File "/home/bart/.virtualenvs/inmanta/bin/inmanta", line 11, in <module>
    load_entry_point('inmanta', 'console_scripts', 'inmanta')()
  File "/home/bart/workspace/inmanta/src/inmanta/app.py", line 391, in app
    options.func(options)
  File "/home/bart/workspace/inmanta/src/inmanta/app.py", line 121, in compile_project
    result = do_compile()
  File "/home/bart/workspace/inmanta/src/inmanta/compiler.py", line 45, in do_compile
    success = sched.run(compiler, statements, blocks)
  File "/home/bart/workspace/inmanta/src/inmanta/execute/scheduler.py", line 309, in run
    self.freeze_all(excns)
  File "/home/bart/workspace/inmanta/src/inmanta/execute/scheduler.py", line 55, in freeze_all
    i.final(exns)
  File "/home/bart/workspace/inmanta/src/inmanta/execute/runtime.py", line 660, in final
    low = attr.low
AttributeError: 'Attribute' object has no attribute 'low'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants