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.

TypeError: '>' not supported between instances of 'str' and 'int'

See original GitHub issue

Crash Report

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

Traceback

  File "/tmp/.mount_electrFGm957/usr/lib/python3.6/site-packages/electroncash_gui/qt/main_window.py", line 783, in timer_actions
    self._update_wallet() # will clear flag when it runs. (also clears labels_need_update as well)
  File "/tmp/.mount_electrFGm957/usr/lib/python3.6/site-packages/electroncash_gui/qt/main_window.py", line 957, in _update_wallet
    self.update_status()
  File "/tmp/.mount_electrFGm957/usr/lib/python3.6/site-packages/electroncash_gui/qt/main_window.py", line 905, in update_status
    decimal_point=d['decimals'],)
  File "/tmp/.mount_electrFGm957/usr/lib/python3.6/site-packages/electroncash/util.py", line 576, in format_satoshis_nofloat
    if decimal_point > 0:

TypeError: '>' not supported between instances of 'str' and 'int'

Reporter

This issue was reported by 13 user(s):

Electron Cash Version Python Version Operating System Wallet Type Locale
3.4.13 3.6.8 (default, Jan 1 2019, 01:01:01) [GCC 4.8.4] Linux-4.15.0-50-generic-x86_64-with-debian-buster-sid slp_standard en_US
3.4.6 3.7.3 (default, Jun 24 2019, 04:54:02) [GCC 9.1.0] Linux-4.19.59-1-MANJARO-x86_64-with-arch-Manjaro-Linux bip39-slp,imported_privkey en_CA
3.4.6 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 imported_addr,bip39-slp tr_TR
3.6.3 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 slp_standard en_US
3.6.4 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 slp_standard en_PH
3.6.4 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.19041-SP0 slp_standard en_US
3.6.4 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.19041-SP0 slp_standard en_US
3.6.4 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 slp_standard en_US
3.6.4 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 slp_standard en_US
3.4.6 3.6.8 (default, Apr 1 2019, 18:32:04) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-19.6.0-x86_64-i386-64bit 3of6,2of3
3.6.5 3.6.9 (default, Sep 30 2020, 13:11:20) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.62)] Darwin-18.0.0-x86_64-i386-64bit slp_imported_privkey
3.6.5 3.6.9 (default, Sep 30 2020, 13:11:20) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.62)] Darwin-19.6.0-x86_64-i386-64bit slp_imported_privkey
3.4.6 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.19041 bip39-slp zh_TW

Additional Information

Used app-image 1 Token was “added” 2 On History tab, view details of receiving transaction 3 Change to SLP history tab, view details


3/6 multisig wallet created in the old version 3.4.6 Please advise how to open it.

onchainscaling@gmail.com


Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jcramercommented, Jun 12, 2019

This issue can be closed as I’m pretty sure it was resolved by fixing the persistence problem with SLP token names in this commit: 1be73248e8b70d8e15a6af346e081cd10f892cfd

0reactions
ProfessorVenkmancommented, Nov 21, 2020

Good morning @jcramer,

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

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

  File "Electron_Cash_SLP-3.6.5-py3.6.egg/electroncash_gui/qt/main_window.py", line 956, in timer_actions
  File "Electron_Cash_SLP-3.6.5-py3.6.egg/electroncash_gui/qt/main_window.py", line 1159, in _update_wallet
  File "Electron_Cash_SLP-3.6.5-py3.6.egg/electroncash_gui/qt/main_window.py", line 1103, in update_status
  File "Electron_Cash_SLP-3.6.5-py3.6.egg/electroncash/util.py", line 580, in format_satoshis_nofloat

TypeError: '>' not supported between instances of 'str' and 'int'

~ With robotic wishes

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: '<=' not supported between instances of 'str' and 'int'
You are getting the input from the console as a string, so you must cast that input string to an int object in...
Read more >
TypeError: < not supported between instances of str and int
The Python "TypeError: '<' not supported between instances of 'str' and 'int'" occurs when we use a comparison operator between values of type...
Read more >
'>' not supported between instances of 'str' and 'int'
The “typeerror: '>' not supported between instances of 'str' and 'int'” error is raised when you try to compare a string to an...
Read more >
Typeerror: '<' not supported between instances of 'str' and 'int ...
Unfortunately, you must be careful with Python because the Typeerror: '<' not supported between instances of 'str' and 'int' will appear extremely easily....
Read more >
' not supported between instances of 'str' and 'int' - Java2Blog
Introduction. Problem: How to fix – TypeError: '<' not supported between instances of 'str' and 'int' in Python ...
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