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 yes I have the file manager installed. I just realized that I seemingly have to select all three files in the file picker and not the folder where they are in. But I now I'm stuck again. What I do:

        1. open file manager, navigate to Download folder, check that I have the three files inside
        2. open knowndict go to import, tap "start import"
        3. file selector shows up, tap on file manager
        4. file mgr shows up. navigate to the Download folder, longpress to select the first, then the other two, then tap select top right
        5. returns to known dict. it shows the three files and a button "complete import" but that button doesn't seem to do anything when I hit it
        1 Reply Last reply Reply Quote 0
        • G Offline
          guru
          last edited by

          The instructions say that you must 1st start the import in KnownDict, then choos TimeManager, then select the files, ...

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

            @guru uhu

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

              @doniks said in dictionaries for KnownDict:

              @guru uhu

              ???

              D 1 Reply Last reply Reply Quote 0
              • 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