UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    dictionaries for KnownDict

    Scheduled Pinned Locked Moved General
    21 Posts 3 Posters 4.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        doniks @guru
        last edited by

        @guru I have the feeling that is what I did ...

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          guru @doniks
          last edited by

          @doniks said in dictionaries for KnownDict:

          @guru I have the feeling that is what I did ...

          doniks, I have had to install KnownDict into my new flashed 16.04-OTA5 and to import a dictionary, of course. I shoot a series of screens while walking though this. If you still have problems with this, just drop me a pm.

          1 Reply Last reply Reply Quote 0
          • D Offline
            doniks
            last edited by doniks

            Yes, still stuck. This is how far I get:
            0_1540406680663_screenshot20181024_203801004.png

            PS: can't PM you, ... forum says "This user has restricted their chat messages. They must follow you before you can chat with them", ... whatever. happy to discuss here, or you PM me, or you telegram me if you prefer: @dohniks over there

            1 Reply Last reply Reply Quote 0
            • G Offline
              guru
              last edited by

              And what happens if you click that button 'Complete imports'?
              I don't think that number of files is causing the problem. I created the dictionary you saw in my screens by own and may be I did something wrong. Just test some other dictionary.

              Let me know if you have figured it out, please.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                doniks @guru
                last edited by doniks

                @guru said in dictionaries for KnownDict:

                And what happens if you click that button 'Complete imports'?

                Visibly in the app nothing happens. In the log file I see this:

                unknown- 0: unknown M: QSqlQuery::prepare: database not open
                unknown- 0: unknown M: select * from dictionary where filename=? :  " Parameter count mismatch"
                unknown- 0: unknown M: copy dict file error :  "/home/phablet/.cache/knowndict.doniks/HubIncoming/52/Concise_Oxford_English_Dictionary.dict"
                unknown- 0: unknown M: copy dict file error :  "/home/phablet/.cache/knowndict.doniks/HubIncoming/52/Concise_Oxford_English_Dictionary.idx"
                unknown- 0: unknown M: copy dict file error :  "/home/phablet/.cache/knowndict.doniks/HubIncoming/52/Concise_Oxford_English_Dictionary.ifo"
                unknown- 0: unknown M: QSqlQuery::prepare: database not open
                unknown- 0: unknown M: insert dictionary error:  " Parameter count mismatch"
                unknown- 0: unknown M: dictDB.addDictionary() error  
                file:///opt/click.ubuntu.com/knowndict.doniks/0.1.4/share/qml/knowndict/dict/ContentHubPicker.qml- 188: onClicked M: db_addDict_fail
                

                I don't think that number of files is causing the problem.

                Agree. I don't think so either

                I created the dictionary you saw in my screens by own and may be I did something wrong. Just test some other dictionary.

                I've now tried the second one. Both don't import and the logs look pretty much the same

                Could you try the
                Concise Oxford English Dictionary (En-En)
                from here: http://download.huzheng.org/bigdict/index.html
                does it work for you?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doniks
                  last edited by

                  ughhh, problem was in front of the screen. figured it out 😛

                  https://open-store.io/app/knowndict.doniks

                  advocatuxA G 2 Replies Last reply Reply Quote 1
                  • advocatuxA Offline
                    advocatux @doniks
                    last edited by

                    @doniks lol & thank you for the app 😄

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      doniks @advocatux
                      last edited by

                      @advocatux welcome 🙂

                      this is a busy community, 6 downloads already 🙂

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        guru @doniks
                        last edited by

                        @doniks said in dictionaries for KnownDict:

                        ughhh, problem was in front of the screen. figured it out 😛

                        What was the problem exactly?

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          doniks @guru
                          last edited by

                          @guru I had changed the appname in some places but not in all and thus it failed at properly finding the sqlite database to store stuff in. my fault

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post