Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
dune-common
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 69
    • Issues 69
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 51
    • Merge Requests 51
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Core Modules
  • dune-common
  • Issues
  • #236

Closed
Open
Opened Jan 23, 2021 by Christian Engwer@christiOwner

setup-python.py fails

Following the documentation at https://dune-project.org/doc/pythonbindings/ I tried to setup the python bindings using the "second approach".

I enabled the bindings via -DDUNE_ENABLE_PYTHONBINDINGS=True and it seems to have built successfully.

christi@trinidad:~/Uni/Dune$ ./common/bin/setup-dunepy.py --opts=opts
Traceback (most recent call last):
  File "/home/christi/Uni/Dune/./common/bin/setup-dunepy.py", line 131, in <module>
    main(sys.argv[1:])
  File "/home/christi/Uni/Dune/./common/bin/setup-dunepy.py", line 95, in main
    duneModules = select_modules()
  File "/home/christi/Uni/Dune/common/python/dune/common/module.py", line 223, in select_modules
    modules = find_modules(get_module_path())
  File "/home/christi/Uni/Dune/common/python/dune/common/module.py", line 42, in find_modules
    description = Description(os.path.join(root, 'dune.module'))
  File "/home/christi/Uni/Dune/common/python/dune/packagemetadata.py", line 117, in __init__
    raise ValueError('Invalid key:value pair (' + line + ').')
ValueError: Invalid key:value pair (parse_doxyfile () {).

The Problem seems to be twofold.

  1. setup-python.py does not use the DUNE_CONTROL_PATH.
  2. the parser is not able to interpret the file properly, as it does not execute and evaluate statements, but simply tries to match assignments.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: core/dune-common#236