omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Braille application.

    Pythonista
    6
    334
    212737
    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.
    • cvp
      cvp @shinya.ta last edited by

      @shinya.ta said:

      Oprational Error" appears.

      Could you, step by step, explain what you did before to get this error

      1 Reply Last reply Reply Quote 0
      • shinya.ta
        shinya.ta @cvp last edited by

        @cvp

        The size was different when I started the program using the Pythonisa application.

        cvp 2 Replies Last reply Reply Quote 0
        • cvp
          cvp @shinya.ta last edited by cvp

          @shinya.ta said:

          The size was different when I started the program using the Pythonisa application.

          Do you want to say that since the beta version, the displayed keyboard size is different?
          If yes, I really don't know why.

          Do you work on the same iPhone?
          If no, you could have different size.

          1 Reply Last reply Reply Quote 0
          • cvp
            cvp @shinya.ta last edited by cvp

            @shinya.ta You can get this operationalerror message if the .db file is not present in the same folder as the program

            Do you work on the same iPhone?
            If no, did you also install HiraganaToKanji.db file?

            shinya.ta 1 Reply Last reply Reply Quote 0
            • shinya.ta
              shinya.ta @cvp last edited by

              @cvp

              I probably didn't install "HiraganaToKanji. db".
              I'm sorry, but I forgot where I was.

              The change of size is the work on the same iPhone.

              cvp 1 Reply Last reply Reply Quote 0
              • cvp
                cvp @shinya.ta last edited by

                @shinya.ta Do you have normal and beta version installed on same iPhone?

                shinya.ta 2 Replies Last reply Reply Quote 0
                • shinya.ta
                  shinya.ta @cvp last edited by

                  @cvp

                  Now, the normal one is overwritten and it is only the beta version.

                  cvp 1 Reply Last reply Reply Quote 0
                  • cvp
                    cvp @shinya.ta last edited by

                    @shinya.ta Then how HiraganaToKanji. db has disappeared?

                    1 Reply Last reply Reply Quote 0
                    • shinya.ta
                      shinya.ta @cvp last edited by

                      @cvp

                      import sqlite3
                      import ui
                      
                      conn = sqlite3.connect("HiraganaToKanji.db",check_same_thread=False)
                      cursor = conn.cursor()
                      
                      v = ui.View()
                      v.frame = (0,0,400,400)
                      v.name = 'Test Hiragana_to_Kanji.db'
                      
                      class MyTextFieldDelegate ():
                      	def textfield_should_return(textfield):
                      		cursor.execute(
                      			'select hiragana, kanji from Hiragana_to_Kanji where hiragana = ?',
                      			(textfield.text, ))
                      		t = ''
                      		for row in cursor:
                      			t = t + row[1] + '\n'
                      		textfield.superview['tv'].text = t
                      		textfield.end_editing()
                      		return True
                      
                      tf = ui.TextField()
                      tf.frame = (10,10,380,32)
                      tf.delegate = MyTextFieldDelegate
                      v.add_subview(tf)
                      
                      tv =ui.TextView(name='tv')
                      tv.frame = (10,50,380,340)
                      tv.background_color = 'white'
                      tv.editable = False
                      v.add_subview(tv)
                      
                      v.present('sheet')
                      v.wait_modal()
                      conn.close()
                      

                      I installed this.

                      cvp 1 Reply Last reply Reply Quote 0
                      • cvp
                        cvp @shinya.ta last edited by cvp

                        @shinya.ta said:

                        I installed this.

                        Why? I don't understand why you did reinstall this test program

                        It is sure that Test Hiragana_to_Kanji db and Japanese Braille Input do not have same keyboard, it is normal

                        shinya.ta 1 Reply Last reply Reply Quote 0
                        • shinya.ta
                          shinya.ta @cvp last edited by

                          @cvp

                          Where can I download HiraganaToKanji. db?

                          cvp 1 Reply Last reply Reply Quote 0
                          • cvp
                            cvp @shinya.ta last edited by cvp

                            @shinya.ta It is explained above in the topic..file is . here

                            tapping
                            Download
                            options
                            Run Pythonista3 script
                            Import file

                            1 Reply Last reply Reply Quote 0
                            • cvp
                              cvp last edited by

                              I'm back in less than one hour, bye

                              shinya.ta 2 Replies Last reply Reply Quote 0
                              • shinya.ta
                                shinya.ta @cvp last edited by

                                @cvp

                                I downloaded the imported file, but the error appears. Why?

                                1 Reply Last reply Reply Quote 0
                                • shinya.ta
                                  shinya.ta @cvp last edited by

                                  @cvp

                                  Is there a way to confirm whether it is downloaded properly?

                                  cvp 1 Reply Last reply Reply Quote 0
                                  • cvp
                                    cvp @shinya.ta last edited by cvp

                                    @shinya.ta First, be sure the dB file is in the same folder as the script
                                    And Pythonista shows a size of 6,4 MB

                                    shinya.ta 1 Reply Last reply Reply Quote 0
                                    • shinya.ta
                                      shinya.ta @cvp last edited by

                                      @cvp

                                      It was included in the item "FAVORITES".
                                      I don't know the basics.
                                      Please tell me how to solve it.

                                      cvp 2 Replies Last reply Reply Quote 0
                                      • cvp
                                        cvp @shinya.ta last edited by

                                        @shinya.ta said:

                                        @cvp

                                        It was included in the item "FAVORITES".
                                        I don't know the basics.
                                        Please tell me how to solve it.

                                        You can delete it from favorites, it will not really delete the file

                                        1 Reply Last reply Reply Quote 0
                                        • cvp
                                          cvp @shinya.ta last edited by

                                          @shinya.ta to find where is your file, type HiraganaToKanji.db in search field

                                          shinya.ta 1 Reply Last reply Reply Quote 0
                                          • shinya.ta
                                            shinya.ta @cvp last edited by

                                            @cvp

                                            I searched for it in search field.
                                            After all, it is in my favorite column.
                                            I tried to import it again, but it hasn't changed.

                                            It should be done according to the procedure, but why?

                                            cvp 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors