Coder Social home page Coder Social logo

keepass2-to-keepassx's Issues

Java emptystack exception

when running the code

./keepass2-to-keepassx.sh /home/name/Documents/name_old2.xml /home/name/Documents/new.xml

Exception in thread "main" java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:102)
at java.util.Stack.pop(Stack.java:84)
at com.mindforger.keepass.keepass2.Keepass2Parser.parseLevel(Keepass2Parser.java:89)
at com.mindforger.keepass.keepass2.Keepass2Parser.fromXml(Keepass2Parser.java:37)
at com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase.(Keepass2DatabaseToKeepassXDatabase.java:13)
at com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase.main(Keepass2DatabaseToKeepassXDatabase.java:23)

Tool must be run from bin/ directory

Hi,
I am on ubuntu 14 and trying to convert but get this error:

Error: Could not find or load main class com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase

The file named Keepass2DatabaseToKeepassXDatabase.java is in the com/mindforger/keepass folder.
Using JDK7
Thanks, bests

files don't convert correctly

When running the script following your instructions, the output file only had my name in it while the old xml file had all my usernames and passwords.

Would there be an issue if my current database has a key?

Converter only pulls entries from the first group

If you have several groups in the keepass2 db and if your first group is empty the converter looks like it doesn't work and puts out a file.

<database>
<group>
<title>name</title>
<icon>1</icon>
</group>
</database>

But if you delete all empty groups the converter works but only pulls entries from the first group regardless if you have another group with data.

A temporary fix is to tell users to move all entries to the first group.

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.