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

Error in Generating Executable Help Docs #241

Closed
ThePhisch opened this issue Aug 2, 2023 · 1 comment
Closed

Error in Generating Executable Help Docs #241

ThePhisch opened this issue Aug 2, 2023 · 1 comment
Assignees

Comments

@ThePhisch
Copy link
Contributor

An error occurs in the building of the docs, see here. The error message (shown below) leads to the conclusion that an outdated rucio version is used (inspecting the current rucio version in common/config.py:197 shows that this line is not part of config_get_float, but this was the case in an earlier version).

Generating the Executable Help Docs...
Traceback (most recent call last):
  File "rucio/bin/rucio", line 2521, in <module>
    oparser = get_parser()
  File "rucio/bin/rucio", line 2308, in get_parser
    selected_parser.add_argument('--transfer-timeout', dest='transfer_timeout', type=float, action='store', default=config_get_float('download', 'transfer_timeout', False, None), help='Transfer timeout (in seconds). Default: computed dynamically from --transfer-speed-timeout. If set to any value >= 0, --transfer-speed-timeout is ignored.')  # NOQA: E501
  File "/usr/local/lib/python3.8/site-packages/rucio/common/config.py", line 197, in config_get_float
    return float(config_get(
TypeError: float() argument must be a string or a number, not 'NoneType'

Further proof of this can be seen in generate_dynamic_files.sh, which pulls an outdated tag.

TASK: fix the import by pulling the appropriate tag

@ThePhisch
Copy link
Contributor Author

no fix required here.

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