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

synchronize_docs.py script is broken #301

Closed
rleh opened this issue Oct 5, 2019 · 3 comments
Closed

synchronize_docs.py script is broken #301

rleh opened this issue Oct 5, 2019 · 3 comments

Comments

@rleh
Copy link
Member

rleh commented Oct 5, 2019

$ ./tools/scripts/synchronize_docs.py 
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/option.py", line 333, in as_enumeration
    return self._enumeration[self._obj_to_str(value)]
  File "/home/user/src/modm/repo.lb", line 152, in __getitem__
    value = dict.__getitem__(self, item)
KeyError: 'stm32f407vgt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/option.py", line 58, in __set_value
    self._output = self._out(value)
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/option.py", line 335, in as_enumeration
    raise TypeError("Input must be an element of the enumeration!")
TypeError: Input must be an element of the enumeration!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/parser.py", line 150, in merge_repository_options
    option.value = value
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/option.py", line 72, in value
    self._set_value(value)
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/option.py", line 52, in _set_value
    self.__set_value(value)
  File "/home/user/.local/lib/python3.7/site-packages/lbuild/option.py", line 60, in __set_value
    raise le.LbuildOptionInputException(self, value, error)
lbuild.exception.LbuildOptionInputException: EnumerationOption(modm:target): input 'stm32f407vgt' is invalid! Input must be an element of the enumeration!

>> modm:target  [EnumerationOption]

Meta-HAL target device

Value: REQUIRED
Inputs: [at90can128-16ai, ...
@salkinium
Copy link
Member

You updated modm-devices to the latest version, instead of the modm submodule revision, it's currently not compatible with modm, due to modm-io/modm-devices#29.

@salkinium
Copy link
Member

To preempt your protest: modm is not intended and not guaranteed to work with the HEAD versions of its submodules! We have no automated regression testing for many of the submodule features, thus this integration must occur manually.

@rleh
Copy link
Member Author

rleh commented Oct 5, 2019

Oh sorry, I updated the submodule accidentally to HEAD during rebasing #287.

@rleh rleh closed this as completed Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants