-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Help! Linux - changed user name - TabFern extension disappeared! (other extensions unaffected) #170
Comments
Phil, sorry to hear it! I'll take a look and see where my Vivaldi installation stores extension data. My recollection is that it's in a sqlite db in the profile dir. Does /home/phil still exist separate from /home/phr? Could you rename your account back and then save a backup? Edit or manually re-create the path where it used to be, load it from there, and see if it gets the same id. Is TF the only extension you run unpacked? If not, what did other extensions do? |
There doesn't seem to be a [Pp]rofile dir on my Vivaldi setup for the Default user. |
[phr@phil databases]$ sqlite3 ./Databases.db |
Phil, I agree it doesn't sound promising :( . I did check, with the following results/procedure.
It output several lines since I have multiple TF installations.
That will give you the TF backup file, just as if you had made a backup from within TF. Good luck! I am going to close this issue for now, but please feel free to reply or re-open if you need further assistance. |
Chris, I get: [phr@phil foo]$ node extract.js > lgbdonjnanhdbfoglklccfkgoeklfghl.tabfern for both dirs that I find. Thanks, |
Phil, for what it's worth, I've just changed the switchover branch so it is back to opening all tabs or none. That is so I can push out other changes that have been blocked on issue 35. Then I will put that feature back in. Would you be willing to live with that restriction for a few days, try out the latest switchover on Vivaldi, and let me know if you see any bugs? Attached if you're willing. Thanks! |
Phil, re. "levelup", did you do |
I did miss a step . . now I get in the *.tabfern outputs: Ooops! NotFoundError: Key not found in database [tabfern-data] I'm happy to try the new version but that will not delete / overwrite any potential data that might still be there for pre.4 ? |
OK - unfortunately, the "key not found" means TF never saved tabs into that DB. :( You can use the sample at https://github.com/Level/levelup#dbcreatereadstreamoptions or open the DB files in an editor and see if you find any data anywhere else, but that's the only place I know of to look (and I did test it on my own Vivaldi installation successfully). I still think manually creating I've got to drop off - best of luck! |
I am using FF for these posts for the time being: OK, now it is getting weirder . . this morning I logged out as phr, and restored .config/vivaldi from the five-week old backup I found to the original "phil" user dir (UID 1000) instead of phr (UID 1002) . I logged in as phil and started vivaldi and except for being asked for a new keyring (the phil dir was mostly empty), it worked fine - BUT - there was no TF icon there either! That should just not be possible - Vivaldi and TF were working fine with user phil 5 weeks ago . . I'm not sure what is going on . . it feels like some virus is automatically purging any occurrence of TF as it appears . . |
I am not sure what you mean "..tfswitch/public" - I do not have a dir "tfswitch" anywhere . . Does "As such, it should ONLY depend on the absolute filesystem path to the extension folder." mean where I extracted your original zip file (/~/src/javascript/TabFern)? - there is nothing in there but the original code - no sql DBs. I can brute force search every sql DB in the original 5 week old backup in .config/vivladi but is this note saying it could be outside that dir? |
Getting weirder and weirder: For phr I made a copy of .config/vivaldi and reinstalled 0.2.0.pre4 and then did a dir comparison to see what was different with files between the two dirs - I didn't really make any progress with that so I thought of creating a new user "tst" and installing from scratch - but I had a problem with getting TF to work (see below) - however when I logged out as tst and logged back in as phr and started vivaldi - the TF icon was gone again! I have no idea what is happening . . Re the tst user when I try to start TF I get an error: ////////////////////////////////////////////////////////////////////////// }}}1 /// Shortcut for i18n. Call _T("name") to pull the localized "name". Line 297: Uncaught TypeError: Cannot read property 'getMessage' of undefined |
I am continuing to experiment with the new user "tst' so I can "rm -fr .config" every time. Since there is the issue with .4 and .5 on Vivaldi I have just installed .5 on chrome and used inotifywait to watch what happens to files when I make changes to stuff in TF windows and then exit - as far as I can tell NO TF DBs are being changed (and they don't exist as far as I can tell so far) - only log and cache files. Is it possible that TF data is only ever being saved in the cache files and not in a DB at all? I will keep testing . . |
It looks like Vivaldi might be a problem so I have switched testing to Chrome FTTB - I logged in again as phr, created a new Profile, and used: inotifywait -r -q -m -e close_write,moved_to,create . > ./config_chrome_profile21.inotify in the new profile dir while I installed 0.5 and saved a couple of windows and tabs. None of the files int the output seems to be a DB but chrome+TF continue to work fine: [phr@phil Profile 21]$ more ./config_chrome_profile21.inotify |
Would you be willing to move this discussion to Gitter, by any chance? I prefer its interface for extended conversation. Let me know either way. Your last message agrees with what I understand to be normal operation. Looks like paicjpaedoabmihinafmkjdaneliidpg is the extension id for TF. Chrome/Vivaldi manages the storage for all extensions, including TF. It is creating LevelDB files LOG, MANIFEST, ... . That agrees with your report about saving tabs. You should be able to extract-tf on the directory containing those files and see your saved tabs. I'll investigate the i18n issue on Vivaldi. That is a Chromium API, so it should work. Re. #170 (comment) - yes, the path where you unzipped TF. However, it's absolute, so no ~ . If you create /home/phil/src/javascript/TabFern and load from there, you might get the same extension ID. You can do that even if no user Edit In your backup from five weeks ago, do you have a |
I have only used Gitter a couple of times but sure - anything that helps the process - do you want to start the conversation there and invite me to it or something? |
I have only used Gitter a couple of times but sure - anything that helps the process - do you want to start the conversation there and invite me to it or something? - OK, got started with replies for the above. . continue there - I need to eat - back there soon. |
@philiprhoades Would you please join me on #171? Thanks! |
@philiprhoades Not really related :) , but attached is a zip of the latest, but with opening one tab at a time put back in. If you would be willing to switch to that version, I'd appreciate it - that way any bugs you find will be easier to fix in the current codebase. Thanks for considering this request! |
Chris, Seems to work just fine - I opened four windows with 1-4 tabs each and a fifth window with all its tabs (4). I backed up the data just in case before trying the new version but found it installed into a new extension anyway so now I have both versions running happily. I will let you know if any issue shows up after closing all windows and starting again but would be surprised if that showed some sort of edge case . . Thanks! |
Chris,
After a catastrophic hard disk head crash in my server at the end of Oct last year and because of carelessness / stupidity in keeping backups, I have been spending some months recovering most of the server data. Today, as a near final reorganisation of my workstation and server, I renamed my user login from "phil" to "phr" (so the user name didn't conflict with workstation name). This all went relatively smoothly but when I finally got around to starting Vivaldi again - all my extensions were still there and working - except for TabFern! :(
I know that reloading the unpacked extension will create a new setup so before I do that I want to see if I can find my saved sessions somehow - because of what has been going on, I haven't done an export since last Nov . .
From the Extensions dir I did:
ls -al */ | grep 0.2
but that doesn't find anything with version number 0.2.0, then I tried:
find . -name manifest.json -exec grep short_name {} ; -print
but that doesn't find anything that looks like tabfern.
I am about to go looking the DB dirs to see if I can find anything there but any help at this stage would be greatly appreciated!
Regards,
Phil.
The text was updated successfully, but these errors were encountered: