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

Options are assumed to be lists #23

Closed
markfinal opened this issue Dec 9, 2022 · 0 comments
Closed

Options are assumed to be lists #23

markfinal opened this issue Dec 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@markfinal
Copy link
Owner

Opening the Conan Center openssl/1.x recipe causes this exception:

Traceback (most recent call last):
  File "/Users/mark/dev/cruiz/cruiz-dev/cruiz/mainwindow.py", line 435, in load_recipe
    recipe_widget.post_init()
  File "/Users/mark/dev/cruiz/cruiz-dev/cruiz/recipe/recipewidget.py", line 344, in post_init
    self._load_configuration_dock(attributes)
  File "/Users/mark/dev/cruiz/cruiz-dev/cruiz/recipe/recipewidget.py", line 672, in _load_configuration_dock
    recipe_options = self._get_options_from_recipe(recipe_attributes)
  File "/Users/mark/dev/cruiz/cruiz-dev/cruiz/recipe/recipewidget.py", line 397, in _get_options_from_recipe
    if default_value not in value:
TypeError: 'in <string>' requires string as left operand, not NoneType

because the option is defined as

    "openssldir": "ANY",

and the default option value as

default_options["openssldir"] = None
@markfinal markfinal added the bug Something isn't working label Dec 9, 2022
@markfinal markfinal added this to the v1.3.2 milestone Dec 9, 2022
@markfinal markfinal self-assigned this Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant