Cannot restore tabs from sessionstore, tried removing ],"selectedWindow":0,"_closedWindows":[ but it's not there

Users and developers helping users with technical Pale Moon issues (Windows and other non-Linux O.S.). Please direct questions about the Linux version to the appropriate Linux board.

Moderators: trava90, satrow

Forum rules
This board is for technical/usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions for Linux, Android and Mac to the dedicated boards.
Technical issues and questions not related to the Pale Moon browser should be posted in "technical chat"
Please keep off-topic and general discussion out of this board, thank you!
LegitimateGrapes
Moonbather
Moonbather
Posts: 56
Joined: 2015-04-24, 05:26
Location: Grape farm

Cannot restore tabs from sessionstore, tried removing ],"selectedWindow":0,"_closedWindows":[ but it's not there

Unread post by LegitimateGrapes » 2019-06-27, 03:54

I had an improper shutdown, and when I started Palemoon, I got a clean tab instead of restore tabs. Usually when this happens, I just have to open sessionstore.bak and remove ],"selectedWindow":0,"_closedWindows":[, but this time, this part isn't in the first line of the file.

Right now the first portion of my sessionstore.bak is

{"windows":[{"tabs":[{"entries":[{"url":"about:sessionrestore","title":"Restore Session","ID":0,"docshellID":0,"docIdentifier":0,"formdata":{"id":{"sessionData":{"windows":[{"tabs":[{"entries":[{"url":

This is supposed to be the correct starter to show the session restore page, but right now I can get nothing out of it. Has something changed since the last update?

Is there anything else I should look at?

User avatar
therube
Board Warrior
Board Warrior
Posts: 1044
Joined: 2018-06-08, 17:02

Re: Cannot restore tabs from sessionstore, tried removing ],"selectedWindow":0,"_closedWindows":[ but it's not there

Unread post by therube » 2019-06-27, 15:40

(Make sure you have backups of your sessionstore.* files.)

I got a clean tab instead of restore tabs. Usually when this happens...
Assuming you have a good copy of sessionstore.js, History | Restore Previous Session.

On my end, I'm not particularly into hacking sessionstore.js (& expecting to get a usable file out of it).

Why not just rename sessionstore.bak to sessionstore.js & see if that will open - without making any changes?

(Working from backups, or even in a new, clean Profile & copying in the sessionstore.js file, where if you screw up too bad is probably a good idea.)

LegitimateGrapes
Moonbather
Moonbather
Posts: 56
Joined: 2015-04-24, 05:26
Location: Grape farm

Re: Cannot restore tabs from sessionstore, tried removing ],"selectedWindow":0,"_closedWindows":[ but it's not there

Unread post by LegitimateGrapes » 2019-06-27, 17:23

therube wrote:
2019-06-27, 15:40
Assuming you have a good copy of sessionstore.js, History | Restore Previous Session.

Why not just rename sessionstore.bak to sessionstore.js & see if that will open - without making any changes?
Tried both. Neither did anything.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1044
Joined: 2018-06-08, 17:02

Re: Cannot restore tabs from sessionstore, tried removing ],"selectedWindow":0,"_closedWindows":[ but it's not there

Unread post by therube » 2019-06-28, 10:06

See if this is able to at least parse your files:

Session History Scrounger for Firefox
https://www.jeffersonscher.com/ffu/scrounger.html

LegitimateGrapes
Moonbather
Moonbather
Posts: 56
Joined: 2015-04-24, 05:26
Location: Grape farm

Re: Cannot restore tabs from sessionstore, tried removing ],"selectedWindow":0,"_closedWindows":[ but it's not there

Unread post by LegitimateGrapes » 2019-06-30, 10:24

I found out my sessionstore got corrupted from the power loss, 90% of the file was just gibberish. Looks like I have to move on.

Post Reply