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.


    few more pythonista3 bugs

    Pythonista
    3
    3
    1944
    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.
    • JonB
      JonB last edited by JonB

      1. when using python2, PIL Image.Image.show() fails
      img = Image.open('Test_Lenna')
      >>> img.show()
      Traceback (most recent call last):
      	File <string>, line 1, in <module>:
      		# Source code unavailable
      
      	File /var/mobile/Containers/Bundle/Application/0745BFF1-B807-4C17-BDD5-27C4E8EAD739/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/site-packages/PIL/Image.py, line 1755, in show:
      		_show(self, title=title, command=command)
      
      	File /var/mobile/Containers/Bundle/Application/0745BFF1-B807-4C17-BDD5-27C4E8EAD739/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/site-packages/PIL/Image.py, line 2519, in _show:
      		_showxv(image, **options)
      
      	File /var/mobile/Containers/Bundle/Application/0745BFF1-B807-4C17-BDD5-27C4E8EAD739/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/site-packages/PIL/Image.py, line 2523, in _showxv:
      		from PIL import ImageShow
      
      	File /var/mobile/Containers/Bundle/Application/0745BFF1-B807-4C17-BDD5-27C4E8EAD739/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/site-packages/PIL/ImageShow.py, line 25:
      				̲if not os.path.exists(temp_img_dir):
      exceptions.IndentationError: unexpected indent
      

      <edit..the second problem was an issue with the custom displayhook>

      dgelessus 1 Reply Last reply Reply Quote 1
      • Webmaster4o
        Webmaster4o last edited by

        I noticed this myself recently, but forgot to report it.

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

          @JonB said:

          <edit..the second problem was an issue with the custom displayhook>

          If it's the one I wrote, please do post that on my GitHub then :)

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