Skip to content
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

still can't read my .ldb file #3

Open
knownothingsnow opened this issue Dec 5, 2018 · 10 comments
Open

still can't read my .ldb file #3

knownothingsnow opened this issue Dec 5, 2018 · 10 comments

Comments

@knownothingsnow
Copy link

knownothingsnow commented Dec 5, 2018

I'd like thank you for this solution first.It's like a burning candle to me in the darkness after I lost my oneTab data.But there is still some problem while I trying to practice.I managed to get old .ldb file in my backup and stuck after I ran you command.
screen shot 2018-12-05 at 21 43 34
But this module is right in the same folder.BTW, the "11_29" folder is where I put files from leveldb folder.
screen shot 2018-12-05 at 21 44 08
So I am quite confusing about this.
Was I did something wrong? Please help me with this issues. Any info could be helpful!

@anpsoft
Copy link
Owner

anpsoft commented Jan 9, 2019

Sorry for delay.

I download it, place to desktop, unzip

1 - make dir for show folder
2 - try use not correct name for ldb files
3 - try use correct name to folder with copy of ldb files from leveldb folder in my Vivaldi (something like e:\Chrome User Data.!!!\User Data\Default\Local Storage\leveldb\ or c:\Users\Andrey\AppData\Local\Vivaldi\User Data\Default\Local Storage\leveldb)

this is correct result
screen 2019-01-09_183044

you are sure what you have correct rights in system for desktop folder ?

@knownothingsnow
Copy link
Author

I still got the same error. I tried your solution both in cmd and PowerShell with administrator mode.I also tried rename my data folder into "leveldb". There were both failed.

@anpsoft
Copy link
Owner

anpsoft commented Jan 19, 2019

you are sure what you use correct leveldb folder ?
may be you not store all files in buckup?
or chrome woring in this time and block files on disk

this is for example my folder

image

also if you have all old folder, you may copy it to new chrome location
and not need any utilites :)
if not work, you old folder is not correct of couse

chrome need close before any operations with chrome data folders

@anpsoft
Copy link
Owner

anpsoft commented Mar 20, 2019

install latest Microsoft Visual C++ Redistributable
this may help you

https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads

@knownothingsnow
Copy link
Author

knownothingsnow commented Mar 26, 2019

Screen Shot 2019-03-26 at 17 41 04

It doesn't work for me as before. I still want to thank you though. Data losing happen all the time and I am ready to move on.

@hybridview
Copy link

I had the same problem and this worked for me:

I copied all of the dll files from the location below into the BIN folder of my compiled LevelDBOneTab app. It then worked as expected. In your case, I think you would use the path of the version of Visual Studio that you used to build the app. In my case, I built using VS 20189, so took the redist files from that path. NOTE: I think these redist files are for when you build in Debug mode.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Redist\MSVC\14.21.27702\debug_nonredist\x86\Microsoft.VC142.DebugCRT

@anpsoft
Copy link
Owner

anpsoft commented Jun 12, 2019 via email

@Ernart
Copy link

Ernart commented Jul 23, 2020

Hi I have the same problem too,

Can you help me,

I have visual studio installed 2019 and put a copy of the 2 DLL from the folder exepath to the directory of C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Redist\MSVC\14.21.27702\debug_nonredist\x86\Microsoft.VC142.DebugCRT

Thanks


Microsoft Windows [Version 10.0.18363.959]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Ernart_PC> cd C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\onetabs

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\onetabs

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>cd C:\Windows\System32

C:\Windows\System32>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\onetabs

C:\Windows\System32>cd C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\onetabs

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>dir
 Volume in drive C has no label.
 Volume Serial Number is B8CB-4E69

 Directory of C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath

20/03/2019  06:41 PM    <DIR>          .
20/03/2019  06:41 PM    <DIR>          ..
20/03/2019  06:41 PM             7,680 LevelDbOneTab.exe
20/03/2019  06:41 PM         1,179,648 MyLevelDb.dll
20/03/2019  06:41 PM           662,528 Newtonsoft.Json.dll
               3 File(s)      1,849,856 bytes
               2 Dir(s)  470,683,332,608 bytes free

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>C:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb\
'C:\Users\Ernart_PC\Desktop\Onetab\New' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb\

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb\

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>cd
C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>cd
C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath

C:\Users\Ernart_PC\Desktop\Onetab\New folder\LevelDbOneTab-master\LevelDbOneTab-master\exepath>cd C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>dir
 Volume in drive C has no label.
 Volume Serial Number is B8CB-4E69

 Directory of C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath

23/07/2020  11:43 AM    <DIR>          .
23/07/2020  11:43 AM    <DIR>          ..
20/03/2019  06:41 PM             7,680 LevelDbOneTab.exe
20/03/2019  06:41 PM         1,179,648 MyLevelDb.dll
20/03/2019  06:41 PM           662,528 Newtonsoft.Json.dll
               3 File(s)      1,849,856 bytes
               2 Dir(s)  465,911,267,328 bytes free

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe C:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb\

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe c:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>LevelDbOneTab.exe c:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb\

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'MyLevelDb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ConsoleApp1.Program.DbOpen(String path)
   at ConsoleApp1.Program.Main(String[] args)

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>dir
 Volume in drive C has no label.
 Volume Serial Number is B8CB-4E69

 Directory of C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath

23/07/2020  11:43 AM    <DIR>          .
23/07/2020  11:43 AM    <DIR>          ..
20/03/2019  06:41 PM             7,680 LevelDbOneTab.exe
20/03/2019  06:41 PM         1,179,648 MyLevelDb.dll
20/03/2019  06:41 PM           662,528 Newtonsoft.Json.dll
               3 File(s)      1,849,856 bytes
               2 Dir(s)  465,908,334,592 bytes free

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>DbOpen path: c:\Users\Ernart_PC\Desktop\Onetab\New folder\leveldb\
'DbOpen' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>Dbopen
'Dbopen' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Ernart_PC\Desktop\LevelDbOneTab-master\LevelDbOneTab-master\exepath>

@anpsoft
Copy link
Owner

anpsoft commented Jul 23, 2020 via email

@Ernart
Copy link

Ernart commented Jul 25, 2020

okay man get well soon and i hope everything would be better.

not really just a couple of less than a hundred mb. 10k links?

I don't know I to rebuild stuff

will just go back the later month.

thank you very much man

I just manually did that visual studio folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants