AttributeError: 'str' object has no attribute 'copy'
See original GitHub issueTerminal returned this error message after tagging some of my steam games:
Traceback (most recent call last):
File "ProtonDB-to-Steam-Library.py", line 225, in <module>
main(sys.argv[1:])
File "ProtonDB-to-Steam-Library.py", line 173, in main
tags = sharedconfig[configstore]["Software"]["Valve"]["Steam"][apps][str(app_id)]["tags"].copy()
AttributeError: 'str' object has no attribute 'copy'
The tags did not write to my steam library since the script threw the error.
I’m running Python 3.7.3
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.0.4
DISTRIB_CODENAME=Illyria
DISTRIB_DESCRIPTION="Manjaro Linux"
Here is the a screenshot of my full terminal output: https://imgur.com/PsfwQIt
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
"Run Python" module gives error: 'str' object has no attribute ...
When I copy and paste it into my editor I have syntax errors on basically every line saying certain things are not defined....
Read more >Attributeerror: 'str' object has no attribute 'copy' in input nltk ...
One of the next actions is to call copy on that parameter. But the str object does not have a copy method, as...
Read more >AttributeError: 'str' object has no attribute 'copy'
Hello, I try to execute my RF test using RequestsLibrary but it doesn't work anymore (I have changed my computer so perhaps there...
Read more >Re: [Wagtail] AttributeError: 'str' object has no attribute 'copy'
When I make a search in wagtail using elasticsearch as backend search I 've got the error reported below. I'm using wagtail 1.3.1...
Read more >conda env create -f envrionment.yaml throws AttributeError ...
conda env create -f envrionment. yaml throws AttributeError: 'str' object has no attribute 'copy' · Issue #10381 · conda/conda · GitHub.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @saudfs for including the sharedconfig, I think I may have just fixed this. This was a small goof on my part, I left one tiny check out of that update which should have fixed it. I’ll get that fixed right now, and is it alright if I use a partial of your sharedconfig as a test to ensure continued compatibility?
Ok, I think that may be fixed then. If you test and find that it isn’t please let me know and I’ll re-open this!