Launching the camera from plyer and taking a picture produces the error traced below. Sometimes this will crash the entire Kivy app but not consistently. Currently unable to reproduce this crash consistently, however, error does always occur even when app does not crash afterwards.
Any thoughts? A similar issue was raised previously for a different scenario and deemed fixed now. However here it pops up again...
[INFO ] Logger: Record log in /data/data/be.flyingworks.finance/files/.kivy/logs/kivy_15-04-17_0.txt
[WARNING ] [Config ] Upgrading configuration in progress.
[WARNING ] [Config ] Older configuration version detected (0 instead of 13)
[INFO ] Kivy: v1.9.0
[INFO ] Python: v2.7.2 (default, Apr 17 2015, 17:19:08)
[GCC 4.8]
[INFO ] Factory: 173 symbols loaded
[WARNING ] stderr: /data/data/be.flyingworks.finance/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:13: RuntimeWarning: import cdrom: No module named cdrom
[WARNING ] stderr: (ImportError: No module named cdrom)
[INFO ] Image: Providers: img_tex, img_dds, img_gif, img_pygame (img_pil, img_ffpyplayer ignored)
[INFO ] Window: Provider: pygame
[INFO ] GL: OpenGL version <OpenGL ES 3.0 V@66.0 AU@04.04.02.003.389 JHICKS_AU_LINUX_ANDROID_KK_3.5.04.04.02.003.389+PATCH[ES]_msm8974_KK_3.5__release_ENGG (CL@)>
[INFO ] GL: OpenGL vendor <Qualcomm>
[INFO ] GL: OpenGL renderer <Adreno (TM) 330>
[INFO ] GL: OpenGL parsed version: 3, 0
[INFO ] GL: Texture max size <4096>
[INFO ] GL: Texture max units <16>
[INFO ] Shader: program: <--From Vertex Shader:
--From Fragment Shader:
Link was successful.>
[INFO ] Support: Android install hooks
[INFO ] Window: virtual keyboard not allowed, single mode, not docked
[INFO ] Text: Provider: pygame
[INFO ] OSC: using <thread> for socket
[INFO ] Base: Start application main loop
[INFO ] Android: found 17 joystick
[INFO ] Android: create joystick <0>
[INFO ] Android: discard joystick <0> cause no button
[INFO ] Android: create joystick <1>
[INFO ] Android: create joystick <2>
[INFO ] Android: create joystick <3>
[INFO ] Android: create joystick <4>
[INFO ] Android: create joystick <5>
[INFO ] Android: create joystick <6>
[INFO ] Android: create joystick <7>
[INFO ] Android: create joystick <8>
[INFO ] Android: create joystick <9>
[INFO ] Android: create joystick <10>
[INFO ] Android: create joystick <11>
[INFO ] Android: create joystick <12>
[INFO ] Android: create joystick <13>
[INFO ] Android: create joystick <14>
[INFO ] Android: create joystick <15>
[INFO ] Android: create joystick <16>
[INFO ] GL: NPOT texture support is available
[INFO ] Android: Must go into sleep mode, check the app
[INFO ] Android: App paused, now wait for resume.
[INFO ] Android: Android has resumed, resume the app.
[INFO ] Android: App resume completed.
[WARNING ] stderr: Traceback (most recent call last):
[WARNING ] stderr: File "jnius_proxy.pxi", line 143, in jnius.jnius.py_invoke0 (jnius/jnius.c:25395)
[WARNING ] stderr: File "jnius_conversion.pxi", line 392, in jnius.jnius.convert_python_to_jobject (jnius/jnius.c:9292)
[WARNING ] stderr: OverflowError: Python int too large to convert to C long
[WARNING ] stderr: Traceback (most recent call last):
[WARNING ] stderr: File "jnius_proxy.pxi", line 47, in jnius.jnius.PythonJavaClass.invoke (jnius/jnius.c:24159)
[WARNING ] stderr: File "jnius_proxy.pxi", line 73, in jnius.jnius.PythonJavaClass._invoke (jnius/jnius.c:24702)
[WARNING ] stderr: File "/home/kivy/src/finance/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/android/activity.py", line 44, in equals
[WARNING ] stderr: File "jnius_export_class.pxi", line 625, in jnius.jnius.JavaMethod.__call__ (jnius/jnius.c:19651)
[WARNING ] stderr: File "jnius_export_class.pxi", line 719, in jnius.jnius.JavaMethod.call_method (jnius/jnius.c:20736)
[WARNING ] stderr: File "jnius_utils.pxi", line 65, in jnius.jnius.check_exception (jnius/jnius.c:3510)
[WARNING ] stderr: JavaException: JVM exception occurred: null result when primitive expected
[INFO ] Base: Leaving application in progress...
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11378860-camera-python-for-android-overflowerror-python-int-too-large-to-convert-to-c-long?utm_campaign=plugin&utm_content=tracker%2F77151&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77151&utm_medium=issues&utm_source=github).
</bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11378860-camera-python-for-android-overflowerror-python-int-too-large-to-convert-to-c-long?utm_campaign=plugin&utm_content=tracker%2F77151&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77151&utm_medium=issues&utm_source=github).
Launching the camera from plyer and taking a picture produces the error traced below. Sometimes this will crash the entire Kivy app but not consistently. Currently unable to reproduce this crash consistently, however, error does always occur even when app does not crash afterwards.
Any thoughts? A similar issue was raised previously for a different scenario and deemed fixed now. However here it pops up again...