Session Buddy Crashes When Importing Large File

990 views
Skip to first unread message

Syaoran Li

unread,
Sep 29, 2022, 11:15:07 AM9/29/22
to Session Buddy Discussion
Hello,

So i have been trying to import a 90 something MB file.. and it crashes literally everytime.. I even tried the Great Suspender which was mentioned in another Conversation.. but it didnt help either.. same Result..

can i do anything else to make it import?

Thanks ^^
Message has been deleted
Message has been deleted

nsms

unread,
Sep 30, 2022, 5:54:28 AM9/30/22
to Session Buddy Discussion

Hi! It should work with these steps:

0. Make sure all instances of Chrome are closed for old and new PC.

1. Go ahead to this path for the browser on the old PC, where you imported "Session Buddy" from.

2. For Chrome it looks like this, on Windows 10:
  2.1. Press Windows key + R and type in:
"%LocalAppData%\Google\Chrome\User Data\Default\databases\chrome-extension_edacconmaakjimmfgnblocblbcdcpbko_0"
  2.2. Copy the numbered file to the Desktop of the old PC

3. To import it to Chrome on the new PC, on Windows 10, take these steps:
  3.1. Press Windows key + R and type in:
"%LocalAppData%\Google\Chrome\User Data\Default\databases\chrome-extension_edacconmaakjimmfgnblocblbcdcpbko_0"
  3.2 Backup the numbered file in this folder. You can do that by creating a copy of it in the same folder.
  3.3. Copy the numbered file from the Desktop of the old PC to the folder that just opened in the new PC
  3.4.  On pasting the file, hit Replace.
  3.5. Now open Chrome on the new PC and check out Session Buddy. All sessions should have been imported now.

Syaoran Li

unread,
Sep 30, 2022, 6:44:55 AM9/30/22
to Session Buddy Discussion
Thank you so much for thee quick response..

I am sorry i wasnt clear about the actual situation.. 

This is what happened... I had all chrome stuff and OS on my SSD which died a couple of days ago without any warning.. so i lost all data in it..

but i had a JSON backup file which i exported from session buddy a couple of months ago..

i didnt know we had to backup the file from AppData.. 

is it possible to make the JSON file work? 

Thanks

nsms

unread,
Sep 30, 2022, 9:41:52 AM9/30/22
to Session Buddy Discussion

You're welcome!

Yeah, that file from the appdata stores every session in it. I do it because my PC is really weak and that way I don't have to go thru the Session Buddy interface and risk the imported data from a json file to not load up.

What I suggest next are these options:

1. Try a different browser that supports Session Buddy. Look up "chromium based browsers" on google, cause those browsers support Session Buddy. For example go for Edge, as it runs better on Windows than Chrome, since Edge it's made by Microsoft.

Once in Edge, try to import the json in it, see if it works.

2. I don't know how strong is your PC, but if it is weak, ask a friend, that has a strong PC, to let you load the json file in Chrome or Edge, or both. If it loads successfully, then go to the appdata folder, as I've indicated in my first post, and get the numbered file. Once you have the file, you only have to copy it to your appdata folder.

3. If you don't have a friend with a strong PC, look online for free PC in the cloud. I know Microsoft had some free PC in the cloud at some point, where you could run Windows as it would be your own PC. There you could install Chrome / Edge and do like at point 2.

4. Give the creator of Session Buddy your file and he'll for sure get you the numbered file.

5. Look for an older version of Session Buddy on the internet, install it, and try to load the json file in it. Google for example "session buddy .crx" . One site that has multiple versions of Chrome extensions is this one: 


And here are Session Buddy older versions:

6. That numbered file is a database file which can be opened with DB Browser for SQLite:


The thing is the json file can be converted into a database file (SQL), but you'd need a programmer to match exactly how that numbered file is built by Session Buddy. Maybe you can find someone on fiverr.com to do it for you, or any other programming freelance platforms.

7. Your json file could be converted into a .txt file or any other file format that is Session Buddy is able to export as. These formats: .txt, .csv, .md, .html, .json.
Again, you can pay a programmer to convert from .json to .txt (as .txt has the smallest size of all of them, it takes the shortest time to create, and there are higher chances for your browser to load it). But the programmer must match exactly how a .txt is generated at export by Session Buddy.

Syaoran Li

unread,
Sep 30, 2022, 11:34:01 AM9/30/22
to Session Buddy Discussion
Oh wow.. You gave me a lot of options.. 

Thank you so much.. i will try them out and get back to you.. 

Thanks ^^

nsms

unread,
Sep 30, 2022, 12:15:59 PM9/30/22
to Session Buddy Discussion
You're welcome! :^)

A, I got another idea.

8. 
1. Install Chrome Beta, install Session Buddy (SB) and save 2 sessions. Hit the cog wheel in SB and hit "Back up", this will create a .json file, similar to the one you have.

2. Now, install Notepad++ from:

, and open the .json file in it and try to understand how the file is structured.

3. Once you understand how it is structured, remove one of the 2 session that you saved by editing the .json file in notepad++, save the file.

4. The text that contains the saved session that you just removed store it in a different file, let's say file A.

5. Remove all sessions that you have saved in SB in Chrome Beta.

6. Go ahead and import the edited .json file in SB. If it loads properly, then you were successful.

Try editing the file until you will be successful in importing it.

7. Create a new .json file in notepad++. Name it B.json

8. Add this template to the file:
{
   "format": "",
   "created": "",
   "session_scope": "",
   "include_session": ,
   "include_window": ,
   "platform": "",
   "language": "",
   "ua": "",
   "sb_id": "",
   "sb_version": "",
   "sb_installation_id": "",
   "sb_installed": "",
   "sessions": [
   
   
   ]
   }

9. You will find the same template in the backed up .json file from SB. Fill out all the values from that backed up .json to B.json when it comes to the fields starting out from "format" to "sb_installed".

10. For sessions, place between the 2 empty brackets the text that you stored in file A and save the file.

11. Import B.json into SB. You should now see the 2nd saved session in SB.

The point of this was to learn how to split the file in smaller chunks.

Now you can split the 80 MB file into 8 files of 10 MB, then you can import them 1 by 1 in SB, which should reduce the chance of your browser crashing.

Syaoran Li

unread,
Sep 30, 2022, 1:07:50 PM9/30/22
to Session Buddy Discussion
Oh thanks again for another idea..

i was wondering what to do..

because 

1. Different Browser didnt work.. Edge did the same as Chrome just said SB Crashed.. Same with Trivaldi and Brave... Opera for a moment i thought its gonna work.. i loaded the JSON it kept loading for a min or so way more than other browsers.. and then came with the ran out of memory error.. I have 16gb RAM or Enough Space on my SSD.. around 300GB free.. Not sure why i got the error.. So i set the virtual memory to something System Managed Size.. Read that this will enable apps to use more memory or something.. restarted PC.. still gave ran out of memory but loaded a bit longer than before.. also i noticed it crashes everytime opera hits 5 to 6GB or ram usage...

2. i didnt want to bother the creator yet want to try everything i can before going to them..

3. the Older Version of Session buddy wont install.. The Download links on the website doesnt work for some reason.. i tried the 3.5. something version.. and one link worked but when i try to install it said the Faulty header or something...

4. i really cant afford a programmer right now.. so hehe


This new method you suggested.. i was actually trying it but a bit different.. i was going to copy content from a large JSON file into a newly created one.. i assumed the JSON was corrupted.. then i kinda figured thats not gonna work.. cuz the crash i experienced didnt feel like its cuz of the file... only after that i came to this conversation.. 

i will try the new method and get back to you..

thank you ^^

nsms

unread,
Sep 30, 2022, 2:31:28 PM9/30/22
to Session Buddy Discussion
:^)


Try version 3.4.14, I just tested it and it works. 

Open the page with 3.4.14 then right click "Crx4Chrome" where it says Download Crx File from Crx4Chrome, and hit "Save link as...". 
Like here:

The thing is after you download the .crx file, you must unarchive it with 7zip:


Then you must go to Chrome > Manage extensions > Enable developer mode > Load unpacked
 and pick the unarchived folder. Now it will work. Just don't mind the errors saying about manifest v2.


I found another solution, but I have to test it before I show it to you.

Syaoran Li

unread,
Sep 30, 2022, 3:32:19 PM9/30/22
to Session Buddy Discussion
OMG.. ok you can stop looking for more solutions.. the previous one about making Small JSON files WORKED WONDERS...

Just had to know which stuff to copy and paste where.. 

I finally got all my saved sessions back..

Thank you so much.. You are a freaking GENIUS lol

Thank you...^^

Also i didnt unpack the crx file.. i tried to install it directly.. so maybe thats why it didnt work earlier.. 

but thank god i got them back.. ^^

thanks a lot again.. Appreciate it much much.. ^_^

nsms

unread,
Sep 30, 2022, 4:07:34 PM9/30/22
to Session Buddy Discussion
Haha, that's really nice! Always divide and conquer! :P
You're welcome! :P

I was working on fixing a script that a person from this forum made, this one, found in this thread.
Also, I'm gonna leave some useful tools for Session Buddy for future reference, since I found them today:


And here can be found a couple more, new tools will also show up here in the future:


Are you sure you got all your session back? I always check things out, since I don't trust programs :P
Use "Export" to export all sessions in SB, it should show you how many of them are. Write down that number and then look in that 90 MB json file you had for how many times "generated":  shows up in notepad++. If the numbers match, then it's all good.

nsms

unread,
Oct 1, 2022, 5:14:20 AM10/1/22
to Session Buddy Discussion
As I was looking to find more scripts on this group, I stumbled upon the very solution I found:
It's nice seeing someone else had the same idea.

Syaoran Li

unread,
Oct 1, 2022, 10:06:37 AM10/1/22
to sessionbud...@googlegroups.com
oh WOW that SB Parse thing will be super helpful.. i check it out a bit later... 

yaaa i am sure.. the file had a lot of stuff on there.. especially soo much sessions named Previous... which took up like 70mb of that 90mb file lol... so i took a few previous sessions which i need then i removed them all from the JSON and all thats left were the ones i personally saved.. so i got them all back.. super happy..

--
You received this message because you are subscribed to a topic in the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sessionbuddy-discuss/m5sRsOApWZg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sessionbuddy-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sessionbuddy-discuss/e9a47798-1359-4c9f-8990-31c8291a825dn%40googlegroups.com.

Syaoran Li

unread,
Oct 1, 2022, 10:10:37 AM10/1/22
to sessionbud...@googlegroups.com
Ohhh yaa i didnt come across it maybe i ddint look into it that much TT... 

now that i got the file back.. i am going to look for a way to back it up automatically. lol.. cuz ssd i dont know cant trust them.. the one i had before lasted like 10 years and then this one died just after 3 years.. 

but ya if i come accross a auto thing will post here.. might take some time because i a moving to a different place tomorrow..

anyway thank you so much again ^_^

--
You received this message because you are subscribed to a topic in the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sessionbuddy-discuss/m5sRsOApWZg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sessionbuddy-dis...@googlegroups.com.

nsms

unread,
Oct 1, 2022, 12:22:07 PM10/1/22
to Session Buddy Discussion
You're welcome! :P

I asked the creator if he knows how to fix it, in the thread of his tool. If he doesn't answer, I'll try to fix it myself sometime in the future.

About previous sessions, SB limits previous sessions to 500, but check out my post on how to increase that limit.

Check out this post on how to autobackup. You should use Google Drive and 2 autobackup programs. In case one of the programs fails to autobackup, you still have the other. I also got 1 back up program, but I gotta look for it, I'll post it here once I'll find it.

Hmm, what model was the one that died after 3 years, what about the one that died after 10 years?
Btw, don't buy Samsung 870 Evo, they come with manufacturing malfunctions. Mine is about to die, and warranty only replaces it with a similar one, which can be as bad as this one I have. Only good thing is throw it to the bin.

I'll also be posting in this thread all the scripts I'll find on this SB group as a future reference.

Syaoran Li

unread,
Oct 13, 2022, 10:27:31 AM10/13/22
to Session Buddy Discussion
Hello.. 

Sorry for the really late reply.. i just got internet here at this new place... 

ohh thanks for the link will check out

ohhh good idea for back up thanks...

the one that died after 3 years is the 860 EVO.. and the one that lasted 10 years is 840 EVO i think.. the 840 evo was working fine but like 3 or 4 years ago it started crashing a lot... got corrupted a lot.. so i got the 860 evo without reading much into it.. cuz of the faith 840 gave me lol.. but it failed me TT.. now i got a crucial one.. 

yaa i wont go for another samsung on before reading a lot abt it lol

ya ok thank you ^_^

nsms

unread,
Oct 16, 2022, 6:25:03 AM10/16/22
to Session Buddy Discussion
Hi! You're welcome! :P No problem, I was also busy moving all the stuff to a new OS. When I'm done, I wanna post all the links that I collected about scripts related to SB.

Damn, I was under the impression 860 EVO was one of the best SSDs, but it seems I was wrong. 840 EVO is the new champion! :))
I was looking into Crucial, and other reputable brands, but all of them seemed to have more bad reviews compared to Kingston KC600, so I ended up with Kingston. I just hope it will last this time way longer than 6 months, as it was the case with 870 EVO.

A, I'll have to look for that backup program, I keep forgetting.

Kerberos Swift

unread,
Dec 23, 2022, 12:00:42 PM12/23/22
to Session Buddy Discussion
We should migrate to another extension, since this one is kinda abandoned. Author does not want to develop and everything stands still.

воскресенье, 16 октября 2022 г. в 13:25:03 UTC+3, nsms:

Random User

unread,
Dec 23, 2022, 12:13:04 PM12/23/22
to Session Buddy Discussion
To reduce 90 MB backup to lower sizes, you need to write a regex that removes favIconUrl data from json backup file.

Screenshot_2022-12-23_19-12-07_DDataDownloadsChromeDownloadssession_buddy_backup_2022_12_23_01_36_06.json - Notepad++.png

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages