{"id":20317294,"url":"https://github.com/botbahlul/chaquopy-bug","last_synced_at":"2026-05-02T08:32:30.177Z","repository":{"id":167072648,"uuid":"610342225","full_name":"botbahlul/CHAQUOPY-BUG","owner":"botbahlul","description":"BUG OF CHAQUOPY","archived":false,"fork":false,"pushed_at":"2023-03-16T19:16:49.000Z","size":362,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T22:49:30.905Z","etag":null,"topics":["android","bug","chaquopy","dynamic-proxy","java","python","static-proxy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/botbahlul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T15:25:40.000Z","updated_at":"2023-03-16T19:24:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c78f08a0-1884-4e80-af66-5481077b73f2","html_url":"https://github.com/botbahlul/CHAQUOPY-BUG","commit_stats":null,"previous_names":["botbahlul/chaquopy-bug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/botbahlul/CHAQUOPY-BUG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2FCHAQUOPY-BUG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2FCHAQUOPY-BUG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2FCHAQUOPY-BUG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2FCHAQUOPY-BUG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botbahlul","download_url":"https://codeload.github.com/botbahlul/CHAQUOPY-BUG/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botbahlul%2FCHAQUOPY-BUG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","bug","chaquopy","dynamic-proxy","java","python","static-proxy"],"created_at":"2024-11-14T18:30:47.159Z","updated_at":"2026-05-02T08:32:30.140Z","avatar_url":"https://github.com/botbahlul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CHAQUOPY-BUG\n\nJUST AN EXAMPLE OF A BUG IN CHAQUOPY WHEN WE CALL dynamic_proxy(Runnable) CLASS REPEATLY IN A LOOP\n\n    --------- beginning of crash\nE/AndroidRuntime: FATAL EXCEPTION: main\n    Process: com.android.chaquopybug, PID: 18871\n    com.chaquo.python.PyException: NotImplementedError: com.chaquo.python.PyProxy._chaquopyGetDict is abstract and cannot be called\n        at \u003cpython\u003e.java.chaquopy.JavaMethod.__call__(class.pxi:781)\n        at \u003cpython\u003e.java.chaquopy.JavaMethod.__get__.lambda2(class.pxi:775)\n        at \u003cpython\u003e.java.chaquopy.set_this(class.pxi:341)\n        at \u003cpython\u003e.java.chaquopy.set_this(class.pxi:334)\n        at \u003cpython\u003e.java.chaquopy.JavaClass.__call__(class.pxi:133)\n        at \u003cpython\u003e.java.chaquopy.JavaClass.__call__(class.pxi:111)\n        at \u003cpython\u003e.java.chaquopy.DynamicProxyClass.__call__(proxy.pxi:58)\n        at \u003cpython\u003e.java.chaquopy.j2p(conversion.pxi:94)\n        at \u003cpython\u003e.chaquopy_java.Java_com_chaquo_python_PyObject_fromJavaNative(chaquopy_java.pyx:176)\n        at com.chaquo.python.PyObject.fromJavaNative(Native Method)\n        at com.chaquo.python.PyObject.fromJava(PyObject.java:87)\n        at com.chaquo.python.PyInvocationHandler.invoke(PyInvocationHandler.java:27)\n        at java.lang.reflect.Proxy.invoke(Proxy.java:1006)\n        at $Proxy1.run(Unknown Source)\n        at android.os.Handler.handleCallback(Handler.java:938)\n        at android.os.Handler.dispatchMessage(Handler.java:99)\n        at android.os.Looper.loop(Looper.java:223)\n        at android.app.ActivityThread.main(ActivityThread.java:7656)\n        at java.lang.reflect.Method.invoke(Native Method)\n        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)\nI/Process: Sending signal. PID: 18871 SIG: 9\n\nTemporary solution to updating a textview without using any 'barriers' is by using static_proxy\n```\nclass S(static_proxy(None, Runnable)):\n    def __init__(self, textview_debug, strings):\n        super(S, self).__init__()\n        self.textview_debug = textview_debug\n        self.strings = strings\n\n    @Override(jvoid, [])\n    def run(self):\n        self.textview_debug.setText(self.strings)\n```\n\nand then call it with : \n\n```\nactivity.runOnUiThread(S(textview_debug, strings))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotbahlul%2Fchaquopy-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotbahlul%2Fchaquopy-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotbahlul%2Fchaquopy-bug/lists"}