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.
What’s an anonymous label?
Drizzel last edited by Drizzel
Since I have absolutely no clue how I caused this error, the following will be rather unspecific, my apologies
So I have a very modified table view. Sometimes, when I remove some cell with the delete_rows() function, and then scroll down to see cells that weren’t displayed when deleting, some of these newly presented cells are totally blank. They simply are a white, empty area. I can tap them normally, and the proper functions are called. When I long press them (thanks to @mikael and his gestures script) I get the following error:
Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/D1D9102B-9BBB-4003-A835-39FDFDA39AB1/Pythonista3/Documents/v9/play_view.py", line 50, in skip_action self.player.finished_handler() File "/private/var/mobile/Containers/Shared/AppGroup/D1D9102B-9BBB-4003-A835-39FDFDA39AB1/Pythonista3/Documents/v9/audio_manager.py", line 72, in finished_handler section = prev_cell.section AttributeError: '_anonymous_label' object has no attribute 'section'
So what is an _anonymous_label, and how did I cause this?
I’m really sorry that I’m so unspecific, I simply have no idea how my (pretty long) code got to this
mikael last edited by
@Drizzel, have not seen this before.
How are you deleting the rows? Via the TableView method or updating the data source and reloading?
Could you try to strip down (a copy of) your code to come up with a minimal example of the issue? This often leads you to the answer, and if not, will help us help you.
cvp last edited by cvp
ccc last edited by
This post is deleted!
Drizzel last edited by
Could you try to strip down (a copy of) your code
Of course, no problem. It might take me one or two days, because I have exams coming up