bulker icon indicating copy to clipboard operation
bulker copied to clipboard

'str' object does not support item assignment

Open rcorces opened this issue 1 year ago • 1 comments

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.

rcorces avatar Mar 14 '24 16:03 rcorces

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

nsheff avatar Mar 14 '24 16:03 nsheff