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

Exception in Tkinter callback #1017

Open
joecandelas opened this issue Jan 16, 2025 · 3 comments
Open

Exception in Tkinter callback #1017

joecandelas opened this issue Jan 16, 2025 · 3 comments

Comments

@joecandelas
Copy link

Hello,

When running 'python3 ileappGUI.py' or 'python3 ileapp.py' I get this error:

Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.12/tkinter/init.py", line 1971, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "/home/joe/Tools/iLEAPP/ileappGUI.py", line 511, in
process_button = ttk.Button(bottom_frame, text='Process', command=lambda: process(casedata))
^^^^^^^^^^^^^^^^^
File "/home/joe/Tools/iLEAPP/ileappGUI.py", line 192, in process
crunch_successful = ileapp.crunch_artifacts(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/joe/Tools/iLEAPP/ileapp.py", line 453, in crunch_artifacts
report.generate_report(out_params.report_folder_base, run_time_secs, run_time_HMS, extracttype, input_path, casedata, profile_filename, icons)
File "/home/joe/Tools/iLEAPP/scripts/report.py", line 139, in generate_report
create_index_html(reportfolderbase, time_in_secs, time_HMS, extraction_type, image_input_path, nav_list_data, casedata, profile_filename)
File "/home/joe/Tools/iLEAPP/scripts/report.py", line 219, in create_index_html
f = open(os.path.join(reportfolderbase, '_HTML', filename), 'w', encoding='utf8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/joe/Documents/iLEAPP_Reports_2025-01-16_Thursday_130133/_HTML/index.html'

Regards

Johann-PLW added a commit to Johann-PLW/iLEAPP that referenced this issue Jan 16, 2025
Johann-PLW added a commit that referenced this issue Jan 16, 2025
@Johann-PLW
Copy link
Collaborator

Hello @joecandelas,

Thank you very much for reporting this error.
If none of the selected modules produces an HTML report, the _html folder is not created and the index.html file cannot be created and finally opened.

I think and hope that the last commit fixed that.

Regards.

@joecandelas
Copy link
Author

joecandelas commented Jan 17, 2025

Hello @Johann-PLW,

Thanks a lot for your reply.
I don't know it this will help, but I get the error with an iOS backup from iTunes (compressed to .zip).
Using a .tar I downloaded from https://corp.digitalcorpora.org/ it works fine.

Edit.
It works! With the last commit I don't get the error. But the iTunes backup seems not to be a valid option since I don't get any data in the report.
Regards.

@Johann-PLW
Copy link
Collaborator

Hello @joecandelas,

Thank you very much to let me know that the last commit fixed this issue.

If you want to analyze an iTunes Backup from a zip or a tar file with iLEAPP, you need to unzip or untar it first as at the moment, only iTunes Backup folders are supported.

Regards,

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

2 participants