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.

server.version returns a float, not a string

See original GitHub issue

The server.version should return two strings.

Now it returns ["ElectrumPersonalServer 0.1.7", 1.2] instead of ["ElectrumPersonalServer 0.1.7", "1.2"]

Electrum personal server used to do this: https://github.com/chris-belcher/electrum-personal-server/blob/c9aa9f068e60/electrumpersonalserver/server/common.py#L249-L250

Relevant lines now:

https://github.com/chris-belcher/electrum-personal-server/blob/a2b37f91ed175d61ad1046262c4d8e4d6430da5a/electrumpersonalserver/server/common.py#L362-L363

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
benmacommented, Jul 16, 2019

Tested and works. Thanks for the quick response!

0reactions
benmacommented, Sep 8, 2019

Unless I looked in the wrong place, it seems this has not made it into a release yet. Would you be willing to make a new release soon?

Cheers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

could not convert string to float: 'xxx'" when returned value is a ...
Describe the bug execute_mdx_dataframe() results in "ERROR: could not convert string to float: 'xxx'" when returned value is a string.
Read more >
ValueError: could not convert string to float: E-3 - Stack Overflow
I am trying to access some of the columns in a Microsoft Access database table which contains numbers of type double but I...
Read more >
Basic conversion Float to String - webMethods
Hi, Float values are represented in String variables. No need to convert it again to String variable. Thanks Shiv.
Read more >
CAST and CONVERT (Transact-SQL) - Microsoft Learn
SQL Server returns an error message when converting nonnumeric char, nchar, nvarchar, or varchar data to decimal, float, int, numeric. SQL Server also...
Read more >
parseFloat() - JavaScript - MDN Web Docs
The parseFloat function converts its first argument to a string, parses that string as a decimal number literal, then returns a number or...
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