Congrats on the version up!
Sadly it crashes on my old iPad Air running iOS 12.5.7😢
iOS 12 is extremely valuable to me because it can still access notes field of contacts.
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.
Best posts made by osamu
-
RE: Pythonista 3.4 is out!
Latest posts made by osamu
-
RE: platform.node() does not return anymore the device (user) name
@cvp I found platform.machine() returns meaningful value and I go for this.
-
RE: platform.node() does not return anymore the device (user) name
@cvp thank you for your reply.
platform.node() still returned user-assigned name in iOS 16. it changed in iOS 17.
anyway we've got to find some other way in iOS 17. -
platform library does'nt work on iOS17
I inadvertently updated my iOS this morning. On iOS17
import platform
print(platform.node())
returns localhost. It used to return like 'iPhone-XR' or 'iPad-Air'.
Any workaround? -
Pythonista 3 on old iOS
The latest version 3.4 does not run on iOS 12. The old OS has some freedom that later OS has banned. I'm still longing for the app running on old terminals.
-
RE: Has CNContactImageData been changed?
Alright, thanks.
My fault must be the way I restore the image data. Though my old code used to work.
-
RE: Has CNContactImageData been changed?
@cvp Here’s my test script. I’m curious to how it runs on other iOS versions. Pythonista 3 doesn’t run anymore on my iPad Air 1.
—-script
from contacts import *
from objc_util import *entityType = 0 # case contacts
status = ('notDetermined', 'restricted', 'denied', 'authorized')def request_access():
CNContactStore = ObjCClass('CNContactStore').alloc().init()
return int(str(CNContactStore.requestAccessForEntityType(entityType).result_(None)))result = "authorized" if is_authorized() else "denied"
print(f"Module contacts is {result}")result = status[_request_access()]
print(f"Module objc_util is {result}")—-result on my iPhone XR
Module contacts is authorized
Module objc_util is restrictedSeems like module contacts is fully granted, while objc_util is not.
-
Has CNContactImageData been changed?
I have developed the library compatible w/ contacts, and yet handle Google contacts at the same time, importing obj_util library.
After upgrading iOS to 16.4.1, contact.image_data of my library returns funny string as follows;
{length = 4107, bytes = 0xffd8ffe0 00104a46 4946001 0100001 ... cd7d516a 86cfffd9 }This is the data as it is, " ... " is NOT my abbreviation.
Standard contacts library works just fine.
Does anybody know if there has been any change to iOS? Was image data banned just like note was?
-
RE: Pythonista 3.4 is out!
Here’s what I found. /private/var/containers/Bundle/Application/3F29D549-49B5-4FBA-88A4-E717CD2672B6/Pythonista3.app/Frameworks/Py3Kit.framework/Py3Kit | Reason: no suitable image found. — could be the cause of trouble🤔
—-
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: @rpath/freetype.framework/freetype | Referenced from: /private/var/containers/Bundle/Application/3F29D549-49B5-4FBA-88A4-E717CD2672B6/Pythonista3.app/Frameworks/Py3Kit.framework/Py3Kit | Reason: no suitable image found. Did find: | /private/var/containers/Bundle/Application/3F29D549-49B5-4FBA-88A4-E717CD2672B6/Pythonista3.app/Frameworks/freetype.framework/freetype: missing LC_DYLD_INFO load command | /private/var/containers/Bundle/Application/3F29D549-49B5-4FBA-88A4-E717CD2672B6/Pythonista3.app/Frameworks/freetype.framework/freetype: missing LC_DYLD_INFO load command
Triggered by Thread: 0 -
RE: Pythonista 3.4 is out!
Congrats on the version up!
Sadly it crashes on my old iPad Air running iOS 12.5.7😢
iOS 12 is extremely valuable to me because it can still access notes field of contacts.