-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Python Error #120
Comments
Hi you can try checking the code again as it says that there is an attribute error. This can either be because there is no such attribute, there is a spelling error or you have forgotten to import the module. |
I am not doing anything different than I have done before. Deca v0.2.12 As you see from the error above, it writes out the bin file and nothing else. So it must be while processing the text file. |
If you look at the code there is no protection for getting None fron the read_node in node_export_adf_text. However in node_export_adf_processed above it there is. Just need something like this after the read_node call in node_export_adf_text. If adf is None: |
@ssc41 did you ever try fixing this yourself? I'm seeing an issue just like this trying to export the settings/hp_settings/reserve_1.bin file from CotW. But in addition to the text file error, when I just export the raw bin file without the text, it results in a bin file that isn't valid even though there are no error messages. e.g. if I copy that extracted bin file right back into the dropzone directory without changing it then CotW won't load with that bin file. And yet I have another reserve_6.bin in the dropzone that I modified just 2 weeks back that I extracted and updated without issues. |
Honestly cannot remember what I did to fix it. I have a feeling I just deleted the project and started fresh with the latest version. |
Trying to extract the player_skills.bin from theHunter: COTW I get this error
2021-09-04 09:26:32.279202: Exporting ../work/hp/extracted/settings/hp_settings/player_skills.bin
Traceback (most recent call last):
File "deca\gui\main.py", line 335, in slot_extract_clicked
File "deca\gui\main.py", line 276, in extract
File "deca\export_import.py", line 257, in nodes_export_processed
File "deca\export_import_adf.py", line 260, in node_export_adf_text
AttributeError: 'NoneType' object has no attribute 'dump_to_string'
The text was updated successfully, but these errors were encountered: