StaSH is amazing and I thought it does not bother me if it is running in 2 or 3, but this morning I got this this morning. Do you know how to work around it?
[~/Documents]$ pip install socli Querying PyPI ... Downloading package ... Opening: https://pypi.python.org/packages/e3/4f/fb978a65127c287c526f323c0ec1543e9cdcc45a51e0eac72300b2d45f18/socli-1.7.zip Save as: /private/var/mobile/Containers/Data/Application/B831A9BE-E51D-4ED7-9208-23F82D673659/tmp/socli-1.7.zip (6368 bytes) 6368 [100.00%] Extracting archive file ... Running setup file ... Python 2 is not supported...
This happened to me when I used ui .View.present(self, sheet') in ui.View._init_().
def __init__(self): # ... self.present('sheet')
At this time the UI elements are not initialized and the size is 100 x 100. I moved it to ui.View.did_load(self) and it worked out alright.
def did_load(self): # ... self.present('sheet')
Thanks to the wonderful debugger in pythonista 3!