@cvp
I think from the consideration it is exactly what I'm looking for and meant 😊
Will try to implement in the near future once when I have questions I'll get back to you here (but may take a while at the moment a lot of stress)
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.
@cvp
I think from the consideration it is exactly what I'm looking for and meant 😊
Will try to implement in the near future once when I have questions I'll get back to you here (but may take a while at the moment a lot of stress)
@7upser said:
@cvp It wasn't my Thread 😛
But you are right Phone calls and WhatsApp are different things.
Maybe there is a url scheme for whats app, or a action for Shortcuts.But back to what i'm interested in (call shortcut and return to pythonista)
This could work:import ui import webbrowser class cUIView(ui.View): def __init__(self, *args, **kwargs): self.width, self.height = 200, 200 self.background_color = 'silver' self.vBtn = ui.Button(title = 'test', name = 'btntest') self.vBtn.frame = (50, 50, 100, 100) self.vBtn.background_color = 'white' self.vBtn.action = self.btnAction self.add_subview(self.vBtn) def btnAction(self, vSender): url = 'shortcuts://x-callback-url/run-shortcut?name=testBluetoothOff&x-success=pythonista3://' webbrowser.open(url) vView = cUIView() vView.present('sheet')
Thats nice xD
Thanks
@mikael said:
@DavinE, from some hints online I gather that the underlining might be connected to user having activated ”Button Shapes” in accessibility settings.
No clue what that might be in German, but at least I have the setting under Accessibility > Display and text size (4th option) > Button Shapes (3rd option).
omg.... but Thanks this is right....
@7upser said:
In german its named: Tastenformen
(einstellungen / bedienungshilfen / anzeige & textgröße / tastenformen)Never heard this before, i think Apple create a new word....
Ich danke dir xD
was haben die bitte genommen ^^ Tastenformen......
weiste wie lange ich danach gesucht hatte....
aber schön das ich nix änder muss ^^
@mikael said:
@DavinE, could not find a better way to make this reliable than requiring an explicit call to
start_scripter
, see example below (requires update).import ui from scripter import script, start_scripter mainview = ui.View(name='scripter_view', bg_color='black') start_scripter(mainview) ...
@mikael, It works Perfect!
Thanks for your help and work into it!
Thanks @mikael for that great Support here Thumbs Up
@DavinE said in Pythonista 3.4 several problems:
import ui from anchors import SafeAreaView, dock, At, at, size_to_fit from ui3.menu import set_menu, Action from ui3.sfsymbol import SymbolImage class crash(SafeAreaView): def __init__(self): self.main_content = ui.View(frame=self.bounds, flex='WH') self.add_subview(self.main_content) self.button_area = ui.View(name='button_area') dock(self.button_area).bottom(self.main_content, At.TIGHT) at(self.button_area).height = at(self.button_area).fit_height self.name = 'test' self.background_color = 'blue' self.present('fullscreen', hide_title_bar=True) self.test() def test(self): button_1 = size_to_fit(ui.Button(name='button_1')) button_1.image = ui.Image('iow:ios7_people_32') button_1.width = button_1.height dock(button_1).bottom_left(self.button_area) at(self.button_area).height = at(self.button_area).fit_height open_view = Action('Einstellungsseite aufrufen', self.nothing, image=SymbolImage('gear')) close_view = Action('Einstellungsseite nicht aufrufen', self.nothing, image=SymbolImage('gear')) close_view.selected = True set_menu(button_1, [ open_view, close_view, ], long_press=True) def nothing(self): pass if __name__ == '__main__': crash()
@mikael
Did you have time to look for it ?
I haven't heard anything on GitHub yet either 😭
@ccc said in Pythonista 3.4 FaceID:
I used this too, but i only found that Topic from 2019 and they said it crash's..
so it's not possible ?
@BSoD said in Pythonista 3.4 error: KeyboardInterrupt:
@DavinE
No.
But this error only occurs at the end of the program and has no actual impact.
So, until the official fixes this issue, you can temporarily ignore this error.
Not in my case...
It crash at the middle why ever... 😤
Is it now possible to work with FaceID with Pythonista 3.4 ?
Does anyone know ?
Hello,
i get this panda error:
/var/containers/Bundle/Application/872E2289-CF4B-43A6-BA49-E163FB9FA4F0/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/pandas/io/sql.py:763: UserWarning: pandas only support SQLAlchemy connectable(engine/connection) ordatabase string URI or sqlite3 DBAPI2 connectionother DBAPI2 objects are not tested, please consider using SQLAlchemy
warnings.warn(
I'm using import mysql.connector
for the connection didn't panda support this ?
@BSoD said in Pythonista 3.4 error: KeyboardInterrupt:
@DavinE
Me too.
sys.exit() always raise the key interrupt error.
How did you get around that ?
Is there an alternative ?
Hello all,
I have the following error in the new Pythonista version which worked in the previous version:
Traceback (most recent call last):
File
"/private/var/mobile/Containers/
Shared/AppGroup/
7502F935-14D3-4DA1-9D3B-1D998BE8A1E2/
Pythonista3/Documents/BarcodeScanner/
Barcode Scanner.py"
line 1202, in
checkCloseButton
ACTION Button
sys.exit(1)
File
"/var/containers/Bundle/
Application/872E2289-CF4B-43A6-BA49-
E163FB9FA4F0/Pythonista3.app/Frameworks/
Py3Kit. framework/pykit_startup.py"
line
33, in exit
raise KeyboardInterrupt(f'Exit:
{arg}')
KeyboardInterrupt: Exit: 1
@cvp said in Pythonista 3.4 several problems:
@DavinE problem seems to come from objc_util, if you check the fautlog, thus more for @omz
File "/var/containers/Bundle/Application/47EE896D-6D79-4316-83F7-36C4982BF508/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/pythonista/objc_util.py", line 898 in __call__
I can't say anything about that 😂
I do not really understand all this
@cvp, Must I otherwise I have a tearing problem
because of my problem with mysql.connector i have to wait too or here is no quick solution ?