You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use it on android using beeware and chaquopy to get better traceback.
I try to use it on my python editor (which take the user inputted string, pass it to exec and return the stdout or the Exception)
So here is the question: while I know what is the source code of the user code (and I can provide it as a parameter to the rich traceback), the sys frames doesn't because its in freeze state on android (although it still knows the globals/locals).
That cause the normal traceback to look like this:
But if I could provide the source code as a parameter, rich will be able to see the lines and provide better traceback on android.
If there were a way to provide the source code as a parameter, it might be possible for the rich traceback access the lines and offer a more detailed traceback on Android.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to use it on android using beeware and chaquopy to get better traceback.
I try to use it on my python editor (which take the user inputted string, pass it to
exec
and return thestdout
or theException
)So here is the question: while I know what is the source code of the user code (and I can provide it as a parameter to the rich traceback), the
sys
frames doesn't because its in freeze state on android (although it still knows the globals/locals).That cause the normal traceback to look like this:
And the rich traceback to look similar.
But if I could provide the source code as a parameter, rich will be able to see the lines and provide better traceback on android.
If there were a way to provide the source code as a parameter, it might be possible for the rich traceback access the lines and offer a more detailed traceback on Android.
Beta Was this translation helpful? Give feedback.
All reactions