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.
Can’t use UI module
-
Getting error when running ui module
Anyone else got this message?
Gave the same error. Any other module for iOS==================================== ERRORS ====================================
________________________ ERROR collecting calgui-ui.py _________________________
calgui-ui.py:51: in <module>
calculate_button.add_action(calculate_button_tapped)
E AttributeError: 'NoneType' object has no attribute 'add_action'- generated xml file: /private/var/mobile/Containers/Shared/AppGroup/D97E5934-A2A7-4743-AA20-960B87E6A0CE/Pythonista3/Documents/.pythonista_pytest_log.xml
-
@metaversetech07 the infos you give are, at least for me, not sufficient.
In
calculate_button.add_action(calculate_button_tapped)
add_action is not a method of calculate_button
Perhaps, you could try
calculate_button.action = calculate_button_tapped