ywangd / stash

StaSh - Shell for Pythonista
MIT License
1.92k stars 227 forks source link

please delete and reinstall pythonista 3.4 to get stash clean install #488

Open eddo888 opened 1 year ago

eddo888 commented 1 year ago

old packages can be reinstalled with pip after full clean reinstall and patch of my last three comments

ftourand commented 1 year ago

I deleted Pythonista 3.4, then re-install the application. I ran the installation script for stash I launch stash and got the following error message (crash):

Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/9AAE71A4-9F2B-4E65-AF3A-68F8D516000F/Pythonista3/Documents/launch_stash.py", line 28, in from stash import stash File "/private/var/mobile/Containers/Shared/AppGroup/9AAE71A4-9F2B-4E65-AF3A-68F8D516000F/Pythonista3/Documents/site-packages/stash/init.py", line 2, in from . import core as stash File "/private/var/mobile/Containers/Shared/AppGroup/9AAE71A4-9F2B-4E65-AF3A-68F8D516000F/Pythonista3/Documents/site-packages/stash/core.py", line 23, in from .system.shcommon import (_EXTERNAL_DIRS, _STASH_CONFIG_FILES, _STASH_ROOT, _SYS_STDOUT, IN_PYTHONISTA, ON_IPAD) File "/private/var/mobile/Containers/Shared/AppGroup/9AAE71A4-9F2B-4E65-AF3A-68F8D516000F/Pythonista3/Documents/site-packages/stash/system/shcommon.py", line 20, in _properties = plistlib.readPlist(os.path.join(os.path.dirname(sys.executable), 'Info.plist')) AttributeError: module 'plistlib' has no attribute 'readPlist'

Did I forget something ? Regards F

ftourand commented 1 year ago

I correct the script (_properties … loads().read as specified in other post Next error : AttributeError: 'Timer' object has no attribute 'isAlive' Which is already reported as an error Thks F

cclauss commented 1 year ago

@ftourand's issue was fixed in #485 (merged).