question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

com.chaquo.python.PyException: ValueError: invalid literal for int() with base 10: 'x16'

See original GitHub issue

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

	at <python>..<lambda>(<console>:1)
	at <python>.threading.run(threading.py:864)
	at <python>.electroncash_gui.android.daemon.run(daemon.py:34)
	at <python>.six.reraise(six.py:693)
	at <python>.electroncash_gui.android.daemon.run(daemon.py:25)
	at <python>.chaquopy_java.call(chaquopy_java.pyx:283)
	at <python>.chaquopy_java.Java_com_chaquo_python_PyObject_callAttrThrows(chaquopy_java.pyx:255)
	at com.chaquo.python.PyObject.callAttrThrows(Native Method)
	at com.chaquo.python.PyInvocationHandler.invoke(PyInvocationHandler.java:31)
	at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
	at $Proxy3.run(Unknown Source)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6669)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
com.chaquo.python.PyException: ValueError: invalid literal for int() with base 10: 'x16'

Reporter

This issue was reported by 8 user(s):

Electron Cash Version Python Version Operating System Wallet Type Locale Stack
4.0.11-0 3.6.5 (default, Sep 11 2019, 15:49:59) [GCC 4.9] Android 9 on Google Android SDK built for x86 (generic_x86) unknown en_US
4.0.13-0 3.6.5 (default, Sep 11 2019, 15:49:59) [GCC 4.9] Android 10 on Google Android SDK built for x86 (generic_x86) unknown en_US
4.2.3-2 3.8.6 (default, Dec 15 2020, 21:54:41) [Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d Android 11 on Google sdk_gphone_x86_arm (generic_x86_arm) unknown en_US
4.2.4-4 3.8.6 (default, Jan 17 2021, 16:51:54) [Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d Android 6.0 on unknown Android SDK built for x86_64 (generic_x86_64) unknown en_US
4.2.5-5 3.8.6 (default, Jan 17 2021, 16:51:54) [Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d Android 6.0 on unknown Android SDK built for x86_64 (generic_x86_64) unknown en_US
4.2.5-5 3.8.6 (default, Jan 17 2021, 16:51:54) [Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d Android 6.0 on unknown Android SDK built for x86_64 (generic_x86_64) unknown en_US
4.2.5-5 3.8.6 (default, Jan 17 2021, 16:51:54) [Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d Android 6.0 on unknown Android SDK built for x86_64 (generic_x86_64) unknown en_US
4.2.5-5 3.8.6 (default, Jan 17 2021, 16:51:54) [Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d Android 6.0 on unknown Android SDK built for x86_64 (generic_x86_64) unknown en_US

Additional Information

mhsmith 2022-07-04


mhsmith 2022-07-04 2325


mhsmith 2022-07-09 1206


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
mhsmithcommented, Mar 22, 2020

Just me testing again, please ignore.

0reactions
ProfessorVenkmancommented, Jul 4, 2022

Good evening @mhsmith,

I just received another crash report related to this issue. The crash occured on Electron Cash 4.2.5-5. I’m not sure which versions of Electron Cash include the fix but this is the first report from anything newer than 4.2.4-4 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

	at <python>..<lambda>(<console>:1)
	at <python>.threading.run(threading.py:870)
	at <python>.electroncash_gui.android.daemon.run(daemon.py:53)
	at <python>.six.reraise(six.py:703)
	at <python>.electroncash_gui.android.daemon.run(daemon.py:44)
	at <python>.chaquopy_java.call(chaquopy_java.pyx:380)
	at <python>.chaquopy_java.Java_com_chaquo_python_PyObject_callAttrThrowsNative(chaquopy_java.pyx:352)
	at com.chaquo.python.PyObject.callAttrThrowsNative(Native Method)
	at com.chaquo.python.PyObject.callAttrThrows(PyObject.java:232)
	at com.chaquo.python.PyInvocationHandler.invoke(PyInvocationHandler.java:31)
	at java.lang.reflect.Proxy.invoke(Proxy.java:393)
	at $Proxy3.run(Unknown Source)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5417)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
com.chaquo.python.PyException: ValueError: invalid literal for int() with base 10: 'x16'

~ With robotic wishes

Read more comments on GitHub >

github_iconTop Results From Across the Web

ValueError: invalid literal for int() with base 10: '' - Stack Overflow
Use h.next() instead of next(h) prior to Python 2.6. The reason you had ValueError is because int cannot convert an empty string to...
Read more >
Python ValueError: invalid literal for int() with base 10
This error can frequently occur when converting user-input to an integer-type using the int() function. This problem happens because Python stores the input ......
Read more >
ValueError: invalid literal for int() with base 10
The error message invalid literal for int() with base 10 would seem to indicate that you are passing a string that's not an...
Read more >
Python ValueError: invalid literal for int() with base 10 Solution
Our error message tells us there is an invalid literal for an integer in base 10. This means the value we have passed...
Read more >
ValueError: invalid literal for int() with base 10 in Python
The Python "ValueError: invalid literal for int() with base 10" occurs when we pass a string that cannot be directly converted to an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found