anpsoft / LevelDbOneTab

LevelDbOneTab
21 stars 6 forks source link

still can't read my .ldb file #3

Open knownothingsnow opened 5 years ago

knownothingsnow commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago
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 commented 5 years ago

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 commented 5 years ago

Yes thanks

i want use virtual box for run clear windows, and test it 12 черв. 2019 18:14, "Andrew M" notifications@github.com напис.

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/anpsoft/LevelDbOneTab/issues/3?email_source=notifications&email_token=AGHZVJIAWP4437EJSLKE64DP2EHFZA5CNFSM4GILEWFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXQYR5I#issuecomment-501319925, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHZVJLIPNYXUZRALR3O2GTP2EHFZANCNFSM4GILEWFA .

Ernart commented 4 years ago

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 commented 4 years ago

Hello i have big problems with health, so not work with computer last time if you you have studio, you may re- build project, this may help with dlls

about out of index error, i not test it

you data in one tab is very big?

Andrey

Ernart commented 4 years ago

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