skatje-myers/stardewscripts

Traceback with crafting.py

Closed this issue · 3 comments

With python 3.6.0 I'm having a Traceback error with crafting.py

Traceback (most recent call last): File "D:\Software\stardewscripts-master\crafting.py", line 163, in <module> main() File "D:\Software\stardewscripts-master\crafting.py", line 130, in main name = item.find('Name').text AttributeError: 'NoneType' object has no attribute 'text'

Thank you

I haven't been able to reproduce this. I know it's been a while since you reported this, but could you provide me a save file that causes this error?

I get the same error with python 3.6.0:

Traceback` (most recent call last): File "crafting.py", line 163, in <module> main() File "crafting.py", line 130, in main name = item.find('Name').text AttributeError: 'NoneType' object has no attribute 'text'

I've attached the corresponding savegame. Thanks for your help!

Philipp_147466321.zip

Thanks for the save file. It's fixed now.