Git Product home page Git Product logo

Comments (12)

falahati avatar falahati commented on September 25, 2024

Interesting.
Did you try selecting the file using the open file dialog and without explorer? It seems that explorer for some wired reason don't pass the file address correctly.
Try opening the app directly from Start Menu and select your file, see what happens.

from litedbviewer.

amgadfahmi avatar amgadfahmi commented on September 25, 2024

I did this and still getting same error

from litedbviewer.

falahati avatar falahati commented on September 25, 2024

Where is your file? Full address please.

from litedbviewer.

amgadfahmi avatar amgadfahmi commented on September 25, 2024

http://bit.ly/litedbtest

from litedbviewer.

falahati avatar falahati commented on September 25, 2024

I just wanted the file address. not the file itself. And for the record file opens alright for me.

BUT,
This problem might be related to this issue:
mbdavid/LiteDB#284

Which rooted in a bad piece of code that I contributed to the main project. So totally my fault.
However, I can't fix it now by upgrading to version 2.0.2, as the program will lose its functionality about password protected files with certain characters. We all need to wait for the following pull request and 2.0.3 version of LiteDB (and LiteDBViewer).
mbdavid/LiteDB#306

Meanwhile, you need to copy the file to an address without space in its name and see if this works for you.
Like your desktop or C:\ drive.

from litedbviewer.

amgadfahmi avatar amgadfahmi commented on September 25, 2024

Yeah its working as the path had some spaces, would you make it clear for others until next version comes out. Thanks for the app

from litedbviewer.

tanwarsatya avatar tanwarsatya commented on September 25, 2024

DB file is not opening I have tried all the options specified above, what's the next step. I am running the basic example mentioned on litedb website. Copied the file to C:\ as well ( MyData.db )

from litedbviewer.

falahati avatar falahati commented on September 25, 2024

What is the exact error message and your database version? Can you attach it for me to test?

from litedbviewer.

tanwarsatya avatar tanwarsatya commented on September 25, 2024

capture

'MyData.db' is not a LiteDB database

from litedbviewer.

falahati avatar falahati commented on September 25, 2024

This error code is generated directly by the LiteDB libraries so I cant do much about it. Probably something is wrong with the file.

from litedbviewer.

tanwarsatya avatar tanwarsatya commented on September 25, 2024

I guess I found issue is simple, the setup available is referencing old LiteDB.dll. I will suggest to update the code to reference new dlls.

from litedbviewer.

falahati avatar falahati commented on September 25, 2024

This could be an issue if you tried opening a Litedb 2 database using version 1 of LiteDB viewer. For this please download and install LiteDBViewer2: https://github.com/falahati/LiteDBViewer/releases/tag/v2.0.1
Also if you have both versions 1 and 2, you need to use OpenWith command and select the correct version of LiteDBViewer for your database file.

from litedbviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.