Skip to content

General Fix for Long Paths in Windows #839

Description

@charpy4n6

Long named artifacts exhaust windows pathing length if the report directory is not the root of the drive/short enough. Report fails to generate.

Processes completed.
Processing time = 00:02:13
Processing time (wall)= 00:04:34

Report generation started.
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\tkinter_init_.py", line 1968, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\Heather\Downloads\ALEAPP-main\aleappGUI.py", line 621, in
process_button = ttk.Button(bottom_frame, text='Process', command=lambda: process(casedata))
^^^^^^^^^^^^^^^^^
File "C:\Users\Heather\Downloads\ALEAPP-main\aleappGUI.py", line 257, in process
crunch_successful = aleapp.crunch_artifacts(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heather\Downloads\ALEAPP-main\aleapp.py", line 432, in crunch_artifacts
report.generate_report(out_params.output_folder_base, run_time_secs, run_time_HMS, extracttype, input_path, casedata, profile_filename, icons)
File "C:\Users\Heather\Downloads\ALEAPP-main\scripts\report.py", line 122, in generate_report
artifact_data = get_file_content(path)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heather\Downloads\ALEAPP-main\scripts\report.py", line 157, in get_file_content
f = open(path, 'r', encoding='utf8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Heather\Downloads\Android_14_Public_Image.tar\Android_14_Public_Image\UFED Google Pixel 7a 2024_07_28 (001)\EXTRACTION_FFS 01\ALEAPP_Reports_2026-06-21_Sunday_173110\_HTML\Firebase Cloud Messaging\FCM-Clean-Dump-Geolocation-com.google.android.googlequicksearchbox.temphtml'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions