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

[Bug]: Some config.toml keys are not loaded when others are invalid #6147

Open
1 task done
kripper opened this issue Jan 8, 2025 · 0 comments
Open
1 task done

[Bug]: Some config.toml keys are not loaded when others are invalid #6147

kripper opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working severity:medium Affecting multiple users

Comments

@kripper
Copy link

kripper commented Jan 8, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

In this case, file_store_path is being ignored (OH will use default value), because [sandbox] has an invalid key "persist_sandbox".

[core]
file_store_path = "/home/codespace/openhands_file_store"

[sandbox]
persist_sandbox = 1

Expected result

Only invalid keys should be ignored.

OpenHands Installation

Development workflow

OpenHands Version

main branch from 2025-01-08

Operating System

WSL on Windows

Logs, Errors, Screenshots, and Additional Context

15:43:14 - openhands:WARNING: utils.py:205 - Cannot parse [sandbox] config from toml, values have not been applied.
Error: SandboxConfig.init() got an unexpected keyword argument 'persist_sandbox'

@kripper kripper added the bug Something isn't working label Jan 8, 2025
@mamoodi mamoodi added the severity:medium Affecting multiple users label Jan 8, 2025
SmartManoj added a commit to SmartManoj/Kevin that referenced this issue Jan 9, 2025
SmartManoj added a commit to SmartManoj/Kevin that referenced this issue Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working severity:medium Affecting multiple users
Projects
None yet
Development

No branches or pull requests

2 participants