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

'str' object does not support item assignment #94

Open
rcorces opened this issue Mar 14, 2024 · 1 comment
Open

'str' object does not support item assignment #94

rcorces opened this issue Mar 14, 2024 · 1 comment

Comments

@rcorces
Copy link

rcorces commented Mar 14, 2024

I havent looked into how to fix this but there seems to be a bug in bulker that manifests with the above error whenever you use bulker unload and remove that last element of a crate folder.

If you started with a blank bulker_config file you could reproduce this by loading a crate and then unloading that same crate and the config file should end up with something that looks like this

  crates:
    databio: OrderedDict()

The problem seems to be that OrderedDict() is being left behind and at least for me, that results in the str error above whenever I try to do other load commands with bulker. If I delete that line in the config file, it all goes back to normal.

@nsheff
Copy link
Member

nsheff commented Mar 14, 2024

I see. thanks for reporting. it should remove the whole thing, just needs an extra line of code in there in the unload function...

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

2 participants