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.


    StaSH broken in 3.0 beta

    Pythonista
    4
    5
    4012
    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.
    • polymerchm
      polymerchm last edited by

      Install newest Pythonista 3 beta. Tried to launch stash

      Traceback (most recent call last):
        File "/private/var/mobile/Containers/Shared/AppGroup/38854C0E-40E2-4F48-A845-2E877292183C/Pythonista3/Documents/launch_stash.py", line 28, in <module>
          from stash import stash
        File "/private/var/mobile/Containers/Shared/AppGroup/38854C0E-40E2-4F48-A845-2E877292183C/Pythonista3/Documents/site-packages/stash/stash.py", line 20, in <module>
          from system.shcommon import IN_PYTHONISTA, ON_IPAD
        File "/private/var/mobile/Containers/Shared/AppGroup/38854C0E-40E2-4F48-A845-2E877292183C/Pythonista3/Documents/site-packages/stash/system/shcommon.py", line 42, in <module>
          import _outputcapture
      ImportError: No module named _outputcapture
      

      Simple solution?

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

        Are you running thr latest stash? I thought we fixed this one a few betas back...

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

          Just came back on the beta scene. And updated Stash. Now it works fine. Thx.

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

            I hadn't used stash in a while as well, trying to launch it made this:

            Traceback (most recent call last):
              File "/private/var/mobile/Containers/Shared/AppGroup/FC7E6E85-01F7-47E5-861F-A7ACA8D91116/Pythonista3/Documents/launch_stash.py", line 28, in <module>
                from stash import stash
              File "/private/var/mobile/Containers/Shared/AppGroup/FC7E6E85-01F7-47E5-861F-A7ACA8D91116/Pythonista3/Documents/site-packages/stash/stash.py", line 20, in <module>
                from system.shcommon import IN_PYTHONISTA, ON_IPAD
              File "/private/var/mobile/Containers/Shared/AppGroup/FC7E6E85-01F7-47E5-861F-A7ACA8D91116/Pythonista3/Documents/site-packages/stash/system/shcommon.py", line 29, in <module>
                'Frameworks/PythonistaKit.framework/PythonistaKit')
              File "/var/containers/Bundle/Application/32DB935B-D704-4D48-BBE9-99A076A0D0AB/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/ctypes/__init__.py", line 364, in __init__
                self._handle = _dlopen(self._name, mode)
            OSError: dlopen(/var/containers/Bundle/Application/32DB935B-D704-4D48-BBE9-99A076A0D0AB/Pythonista3.app/Frameworks/PythonistaKit.framework/PythonistaKit, 6): image not found
            

            Pythonista 301012 beta.

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

              @Tizzy From the traceback, it looks like this is an issue that was recently fixed by @JonB – see this commit: https://github.com/ywangd/stash/commit/91a7487952a1662caf18f87442ebdaa99036e450

              StaSh seems to look for a "PythonistaKit" framework that I've renamed to "Py2Kit" in recent betas.

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