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.
Another dialogue issue
-
@Tel Please, Try this
result = dialogs.form_dialog(title='Link design', done_button_title='ok',fields=fields, sections=None) #result = myform_dialog(title='Link design', done_button_title='ok',fields=fields, sections=None)
-
@cvp that hangs up Pythonista
-
@Tel oups, I don't have that, please restart (NOT REINSTALL) Pythonista
-
@Tel said:
You will see that the calling thread continues while the dialog is still up.
The calling thread does a "print from parse" but I don't see it in console before I press ok in the dialog, thus that works, isn'it?
-
@cvp this is weird. It worked once, after I restarted. Now cannot repeat it, even after restart. Moreover, it seemed to affect Safari. I had to refresh the page before it allowed me to reply.
-
@Tel said:
it seemed to affect Safari. I had to refresh the page before it allowed me to reply.
Not sure of that, I have remarked such problems with this forum since some days.
-
@Tel I' e tried with and without @ui.in_background before def parse, no difference
-
In your "cut down" version, how are you sure that the calling thread continues while the dialog is still up?
-
@cvp system updated to 12.4.1 last night.
This program hangs for me every time, even after restart. -
@Tel Good to know, I'm in 12.4, without any problem...
-
@Tel Are you in the beta version of Pythonista?
-
@cvp when I had the call to myform_dialog, there was a print in there. Now, of course I can’t do any thing.
Running just what I found in App Store.
-
@Tel said:
when I had the call to myform_dialog, there was a print in there
Sorry, I don't understand this sentence (obviously due to my English 😢)
Do you want to say that when the dialog is displayed, you immediately see a "from parse:" in the console, before tapping ok?
-
@cvp it hangs up Pythonista all the time now and I can’t check anything. C’est foutu.
-
@Tel First, reboot your iDevice
-
@Tel and perhaps, back to 12.4?
-
@cvp I rebooted device. It still hangs there. I don’t know how to go back to system 12.4
-
@Tel When you say "it hangs", that will say that the script hangs or Pythonista or the iDevice?
-
@cvp Pythonista hangs. The device seems fine.
-
@Tel Did you try to remove Pythonista from the active apps (what we call restart Pythonista) by swiping from bottom middle and then swiping the app above?
Sorry if it is an obvious question but sometimes, restart Pythonista doesn't have the same meaning for all people.