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

Callback error #2

Open
Ishikudeska opened this issue May 25, 2024 · 3 comments
Open

Callback error #2

Ishikudeska opened this issue May 25, 2024 · 3 comments

Comments

@Ishikudeska
Copy link

Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1921, in call
File "app.py", line 292, in _process_data_user
TypeError: cannot unpack non-iterable bool object

Spits this error out when trying to process game save. Using newest BB version

@rakesh37187
Copy link
Owner

I'll be honest. I never really got around finishing this up properly and was more of a program to develop some skills. If you want I could look into why that exception gets thrown. Any chance you could provide the save file?

@Ishikudeska
Copy link
Author

Well actually its in the code:
` def _process_data_user(self):
if self.file_location is None:
messagebox.showwarning("User not loaded!", "No file selected")
self.data, self.user = process_user(self.file_location)
self._set_original_users_stats()

def _process_data_gems(self):
    if self.file_location is None:
        messagebox.showwarning("File not loaded!", "No file selected")
    self.data, self.gems = process_gems(self.file_location)
    self._load_all_gems()`

Both of these call for 2 seperate pieces of data.
Which is what is causing the exception to be thrown

@DraconicOv
Copy link

From what I can tell, this happens when the file fails to start with "41000000000000"
(I've also had this error.) Some save files seem to simply not work, and this could be due to an issue with your code or with how PlayStation stores save files.
Possibly related: #3
Here are a few files with which you can reproduce the error, it was found in "User Editor" mode, although it may exist in the others as well.

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

3 participants