# Simple python class wont render Invoking \<bound method Sketch.on\_timer of Sketch\> (p5py)

**URL:** <https://discourse.processing.org/t/simple-python-class-wont-render-invoking-bound-method-sketch-on-timer-of-sketch-p5py/20959>\
**Category:** Processing.py\
**Created:** [May 17, 2020, 9:35am UTC](https://discourse.processing.org/t/simple-python-class-wont-render-invoking-bound-method-sketch-on-timer-of-sketch-p5py/20959 "2020-05-17T09:35:10Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [May 19, 2020, 9:53pm UTC](https://discourse.processing.org/t/simple-python-class-wont-render-invoking-bound-method-sketch-on-timer-of-sketch-p5py/20959/7 "2020-05-19T21:53:54Z")

</div>

> [@renec112](#):
>
> If I ever learn how to contribute to a package I would love to make pyp5 return an error code like “First index should be tuple, not scalar”

@villares is actually looking at possibly creating API wrapper or fork to address these kinds of mismatches. See: [API compatibility for p5py](https://discourse.processing.org/t/api-compatibility-for-p5py/20492)

---

_[View the full topic](https://discourse.processing.org/t/simple-python-class-wont-render-invoking-bound-method-sketch-on-timer-of-sketch-p5py/20959)._
