create account

update for beem: compatibility issues with HF24 have been fixed by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 ·
$105.63
update for beem: compatibility issues with HF24 have been fixed
## Repository

https://github.com/holgern/beem<center>
![beem-logo](https://cdn.steemitimages.com/DQmcRrwLPSywSYMierfP6um6mejeMNGjN9Rxw7audJqTDgb/beem-logo)
</center>

[beem](https://github.com/holgern/beem) is a python library and command line tool for HIVE.  The current version is 0.24.10.

There is also a discord channel for beem: https://discord.gg/4HM592V

The newest beem version can be installed by:

```
pip install -U beem
```

Check that you are using hive nodes. The following command 

```
beempy updatenodes --hive
```

updates the nodelist and uses only hive nodes. After setting hive as default_chain, `beempy updatenodes` can be used.

The list of nodes can be checked with

```
beempy config
```

and

```
beempy currentnode
```

shows the currently connected node.

## Changelog for versions 0.24.10
* Add hbd_interest_rate to beempy witnessproperties
* Add beempy listdelegations (thanks to @crokkon)
* fix account_name assignment from dict in get_account_reputations() (PR #259)
* Add new operation ids for HF 24
* Remove remaining py2 code
* Run unit tests on beta.openhive.network
* Fix compatibility issues with HF 24
* account get_follow_count, get_followers and get_following have been fixed
* improved get_discussions calls, fallback to condenser when tags api not available
* Fix detection when content does not exist on HF24
* Fix detection when a vote does not exist on HF24

## Running all unit tests on beta.openhive.network

I modified the unit tests so that they all run on the HF24 test node: `https://beta.openhive.network`. After several iterations, all 551 unit tests run through.

beem should now be ready for HF 24.

![unit tests on HF24](https://images.hive.blog/DQmbK5c2tNZhvcfeLUGyQrbiMMSLMYYC4zEtxCeHPetUT32/unit%20tests%20on%20HF24)



## Detecting not existing comment and votes
The behavior for not existing comment/posts and votes have been changed.
A condenser call returns now an error message with invalid parameter:
```
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid parameters","data":"post was not found in cache"},"id":1}
```
I added a new InvalidParameter exception to beemapi.exceptions in order to handle this.

## Fallback to condenser calls when tag api is not available
When the tag api is not available, beem is now switching to the condenser api call in all get_discusions functions.

## Fallback to condenser call when follow api is not available
When the follow api is not available, beem is switching to the condenser api call in get_follow_count, get_followers and get_following for an account.

## Receiving all votes for an account has been fixed
On HF24, the `list_votes` api call does not return votes from other users, when all votes of an account have been received. It stops now and less votes than expected will be returned instead.

 I fixed it by counting how many votes the api call returns, when the number of returned votes is below the set limit, I have all votes collected.
___

*If you like what I do, consider casting a vote for me as witness on [Hivesigner](https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1) or on [PeakD](https://peakd.com/witnesses)*
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 396 others
properties (23)
authorholger80
permlinkupdate-for-beem-compatibility-issues-with-hf24-have-been-fixed
categoryhive-139531
json_metadata"{"canonical_url": "https://hive.blog/hive-139531/@holger80/update-for-beem-compatibility-issues-with-hf24-have-been-fixed", "community": "hive-139531", "app": "beempy/0.24.10", "users": ["crokkon"], "image": ["https://images.hive.blog/DQmbK5c2tNZhvcfeLUGyQrbiMMSLMYYC4zEtxCeHPetUT32/unit%20tests%20on%20HF24"], "links": ["https://github.com/holgern/beem", "https://cdn.steemitimages.com/DQmcRrwLPSywSYMierfP6um6mejeMNGjN9Rxw7audJqTDgb/beem-logo", "https://discord.gg/4HM592V", "https://beta.openhive.network`.", "https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1", "https://peakd.com/witnesses"], "tags": ["development", "python", "beem", "hf24", "#259"]}"
created2020-10-09 21:50:00
last_update2020-10-09 21:50:00
depth0
children7
last_payout2020-10-16 21:50:00
cashout_time1969-12-31 23:59:59
total_payout_value57.992 HBD
curator_payout_value47.634 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,177
author_reputation358,857,509,568,825
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,038,915
net_rshares387,664,174,264,456
author_curate_reward""
vote details (460)
@co2admin ·
Upvoted to thank you @holger80 for supporting the [CO2Fund](https://peakd.com/@co2fund) by, e.g., supporting posts, banner presentation, SP/HP delegation, dustsweeper gifts, helpful tools, etc.
👍  
properties (23)
authorco2admin
permlinkre-update-for-beem-compatibility-issues-with-hf24-have-been-fixed-20201009t215343z
categoryhive-139531
json_metadata"{"app": "rewarding/0.1.0"}"
created2020-10-09 21:53:45
last_update2020-10-09 21:53:45
depth1
children0
last_payout2020-10-16 21:53:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length193
author_reputation3,792,666,189
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,038,962
net_rshares15,938,836,482
author_curate_reward""
vote details (1)
@cryptoaeneas ·
nice
properties (22)
authorcryptoaeneas
permlinkre-holger80-qhzd7y
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.09.5"}
created2020-10-10 10:02:24
last_update2020-10-10 10:02:24
depth1
children0
last_payout2020-10-17 10:02:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4
author_reputation817,977,965,277
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,044,820
net_rshares0
@elmundodexao ·
<center><sup><h2>Hi @holger80, thanks for these tips and clarifications… I'm going to re-blog.
![alegria.jpg](https://images.hive.blog/DQmTpiD9JGb5W2gbBmxeCo1hy4tHcGASgo64MW1NZyV1Wxj/alegria.jpg)
Hola @holger80, gracias por estos consejos y aclaraciones… Lo voy a reblogear.</h2></sup></center>
properties (22)
authorelmundodexao
permlinkqhzrjm
categoryhive-139531
json_metadata{"users":["holger80"],"image":["https://images.hive.blog/DQmTpiD9JGb5W2gbBmxeCo1hy4tHcGASgo64MW1NZyV1Wxj/alegria.jpg"],"app":"hiveblog/0.1"}
created2020-10-10 14:23:06
last_update2020-10-10 14:23:06
depth1
children0
last_payout2020-10-17 14:23:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length294
author_reputation52,508,564,661,796
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,047,718
net_rshares0
@tan.app ·
<center>
<sup>Congratulations @holger80, You Earned <b>3.91 TAN</b> & Curators Made <b>3.91 TAN</b>.</sup>

<img src="https://files.peakd.com/file/peakd-hive/theguruasia/DWYqznFx-TANToken70.png" alt="upme.link">

---
<sup>Join [CORE / VAULT Token Discord Channel](https://discord.gg/XYMrvyr) or Join [UPMELINK Web Site](https://upme.link)</sup>
<sup>[TAN Current Market Price](https://hive-engine.com/?p=market&t=TAN) : <b>0.199 HIVE</b></sup>
</center>
properties (22)
authortan.app
permlink20201013t020603457z
categoryhive-139531
json_metadata{"tags":["tan-bot","upmelink_curation_bot"],"app":"tan-bot/1.1","format":"markdown"}
created2020-10-13 02:06:03
last_update2020-10-13 02:06:03
depth1
children0
last_payout2020-10-20 02:06:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length454
author_reputation164,160,871,793
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,086,040
net_rshares0
@theguruasia · (edited)
@holger80,
I think I wanna start learning python to use beem!
(I will call tan tomorrow on this post)

Cheers~
PS:- !tangent
properties (22)
authortheguruasia
permlinkre-holger80-qhzoab
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.09.5"}
created2020-10-10 14:01:27
last_update2020-10-11 04:47:33
depth1
children1
last_payout2020-10-17 14:01:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length124
author_reputation72,534,728,134,125
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,047,482
net_rshares0
@tan.bot ·
<center>
<sup>Congratulations, @theguruasia You Successfully Trended The Post Shared By @holger80.</sup>
<sup>You Utilized <b>1/3</b> Daily Summon Bot Calls.</sup>
---
<sup>[TAN Current Market Price](https://hive-engine.com/?p=market&t=TAN) : <b>0.200 HIVE</b></sup>
</center>
properties (22)
authortan.bot
permlink20201011t044743171z
categoryhive-139531
json_metadata{"tags":["tan-bot","upmelink_curation_bot"],"app":"tan-bot/1.1","format":"markdown"}
created2020-10-11 04:47:45
last_update2020-10-11 04:47:45
depth2
children0
last_payout2020-10-18 04:47:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length277
author_reputation44,172,891,181
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,057,103
net_rshares0
@tomoyan ·
Question 🤔 account get_notifications only work for hive?! It won’t work for steemit or blurt?! 
👍  
properties (23)
authortomoyan
permlinkre-holger80-2020109t171510642z
categoryhive-139531
json_metadata{"tags":["development","python","beem","hf24","#259"],"app":"ecency/3.0.7-vision","format":"markdown+html"}
created2020-10-10 00:15:12
last_update2020-10-10 00:15:12
depth1
children0
last_payout2020-10-17 00:15:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length95
author_reputation144,440,848,820,221
root_title"update for beem: compatibility issues with HF24 have been fixed"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,040,342
net_rshares16,264,880,109
author_curate_reward""
vote details (1)