question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

psort failing on corrupt storage file

See original GitHub issue

Description of problem:

After locking a psort running session with “Ctrl+C”…

Command line and arguments:

# psort.py -o l2tcsv -w home.timeline.csv /mnt/home.plaso.dump

Source data:

Linux home dirs

Plaso version:

plaso - psort version 20210213

Operating system Plaso is running on:

Ubuntu 20.04.2 LTS

Installation method:

apt-get

Debug output/tracebacks:

`lab ~ # psort.py -o l2tcsv -w home.timeline.csv /mnt/home.plaso.dump 2021-03-16 16:07:16,468 [INFO] (MainProcess) PID:1241 <data_location> Determined data location: /usr/share/plaso Traceback (most recent call last): File “/usr/lib/python3/dist-packages/plaso/storage/interface.py”, line 417, in GetSessions session_start = next(session_start_generator) StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/usr/bin/psort.py”, line 101, in <module> if not Main(): File “/usr/bin/psort.py”, line 74, in Main tool.ProcessStorage() File “/usr/lib/python3/dist-packages/plaso/cli/psort_tool.py”, line 541, in ProcessStorage for session in storage_reader.GetSessions(): File “/usr/lib/python3/dist-packages/plaso/storage/interface.py”, line 419, in GetSessions raise IOError(‘Missing session start: {0:d}’.format(session_index)) OSError: Missing session start: 2 `

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joachimmetzcommented, Mar 17, 2021

I assume the question has been answered and I’ll close the issue then

1reaction
joachimmetzcommented, Mar 16, 2021

as the error message might suggest, it’s the data that is inconsistent (corrupt), not the underlying SQLite data structures

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Does It Mean When Your File Is Corrupt?
A corrupted file may not open at all, or may show an error if it does. These damaged files are self-contained, meaning they...
Read more >
Fix Corrupted Database/Data Error on PS4 - EaseUS
Causes of Database Corruption: Underlying platform corruption; File header corruption; storage media corruption; Power outage; hardware failure.
Read more >
How to Fix Corrupted Data on the PS4 - Alphr
How to Locate and Remove Corrupted PS4 Game Files Manually · Enter Settings and go to System Storage Management. · Now, go to...
Read more >
How to delete corrupt files to troubleshoot issues in FIFA
Having issues with matchmaking, disconnections, or freezing in FIFA? Try these steps to delete corrupt files.
Read more >
[Solved]: How to Fix “Corrupted Database” Error on PS4?
Corrupted Database - In this blog, we have outlined two methods to fix this error—Rebuilding Database and Reinstalling the PS4 OS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found