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.


    Problem to access photos

    Pythonista
    3
    7
    3658
    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.
    • castro
      castro last edited by

      I have a problem on my new iPhone8 (ios 12.1.1)

      Trying to access photos via the code:

      import paramiko, photos, os, tempfile, clipboard, ui,appex
      imga = photos.pick_asset()
      img=imga.get_image(True)

      I have error "NoneType object has no attribute 'decode' ".
      But I have it only for "native" photos, everithing works nice with images added to the Photo Library from sources other than iphone camera: screenshots, other apps etc.

      I have this error even in the standard example misc/Image Effects.py. Reinstalletion of the Pythonista doesn't help.

      Could experts help me to clarify the problem?

      At my old iPhone SE at the sae iOS everything is fine.

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

        Can you Print Full Traceback? we need line number.

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

          sure

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

            Looks like a problem with the HEIF decoder, I'll look into it.

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

              Thank you! I'll wait.

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

                Any news?

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

                  @castro Not yet, sorry, I'm currently working on other things, but it's on my todo list for 3.3.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors