update for beem: compatibility issues with HF24 have been fixed
hive-139531·@holger80·
0.000 HBDupdate for beem: compatibility issues with HF24 have been fixed
## Repository https://github.com/holgern/beem<center>  </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.  ## 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)*
👍 eval, laissez-faire, elleok, crypticat, buggedout, swedishdragon76, techslut, onealfa, maxuvv, sepracore, dera123, saboin, glastar, kriang3tee, imtase, baiboua, akioexzgamer, french-tech, yuza, paopaoza, ten-years-before, puza, crypto.story, univers.crypto, mintrawa, steementertainer, nalexadre, cryptoandcoffee, philnewton, muscara, src3, battlegames, steembasicincome, mannaman, sbi2, albus.draco, reverendrum, piratedice, abh12345, anikys3reasure, hasmez, sbi-tokens, sbi3, jayna, sbi4, hivecur2, amico, sbi5, ticketyboo, ticketywoof, borbina, sbi6, joele, benedict08, askari, sbi8, libuska, mistia, sbi7, slider2990, lelon, ew-and-patterns, dine77, abitcoinskeptic, jimcustodio, sweetkathy, ilovecanada, usainvote, sbi10, therealwolf, revisesociology, sbi9, triviummethod, onetin84, jpphotography, nerdtopiade, casberp, musinka, smartsteem, phortun, bilpcoinrecords, hiveonboard, tombstone, djennyfloro, petrvl, epicdice, tinyhousecryptos, jelly13, stevescoins, tarazkp, markkujantunen, belahejna, onlavu, kryptoformator, jelly-cz, actifit-peter, kytka, co2admin, frankydoodle, izzynoel, iamjohn, babytarazkp, bobskibob, gadrian, borran, mcoinz79, kipling, carlpei, imbartley, maxer27, codingdefined, ronaldoavelino, thrasher666, kibela, anech512, gamer00, ronavel, kran2, kran18, kran19, sharker, blockchainpeople, stoodkev, offgridlife, shadflyfilms, discohedge, arcange, peekbit, slobberchops, chrismadcboy2016, solarwarrior, pet.society, khalil319, daisyphotography, cultus-forex, votebetting, freakeao, camplife, upfundme, tmps, lemouth, publicumaurora, jongolson, rufruf, simplex-world, itchyfeetdonica, hivebuilder, xiaohui, bidnat, helene, lingfei, exec, borgheseglass, swisswitness, laoyao, midnightoil, oflyhigh, yulan, blackbunny, crokkon, somebody, fw206, tipu, blacklux, bubke, kimzwarch, omstavan, madridbg, ericburgoyne, sudefteri, akifane, lesmouths-travel, urdreamscometrue, besheda, forecasteem, wherein, broxi, realgoodcontent, ninnu, freebornsociety, mxzn, happy-soul, stefannikolov, kryptogames, bcm, bilpcoinbpc, marcus0alameda, kahvesizlik, cnstm, szf, mark-waser, ethical-ai, bwaser, ellepdub, morgan.waser, strong-ai, technoprogressiv, condeas, lianjingmedia, dachcolony, flemingfarm, jerrybanfield, bronkong, vidafitnessfeliz, anli, andrepol, candyboy, maxpatternman, eunsik, inteligente, kr-coffeesteem, minigame, thranax, re2pair, detetive, pavelsku, traduzindojogos, losi, altonos, raspibot, kgsupport, cst90, frassman, likwid, a-bot, investegg, liverpool-fan, lebin, leeyh, promobot, superlao, furioslosi, uwelang, jacekw, drorion, leeyh5, btscn, backinblackdevil, ctl001, fengchao, geeklania, sm-skynet, kingscrown, raphaelle, properfraction, smon-joa, boatymcboatface, theshell, justyy, superbing, moneybaby, nervi, tryskele, isnochys, lauchmelder, alinalazareva, ambyr00, kiemis, blainjones, actifit-devil, samujaeger, bartheek, hiveyoda, created, espoem, jacuzzi, curationvoter, moritzjaeger, zerofive, steem-meetup-ffb, fooblic, naltedtirt, funnyman, longer, bdkabbo, dapplr, jsantana, holycow2019, vaansteam, voxmonkey, vtol79, linnyplant, payroll, drew0, commonlaw, starrouge, geekgirl, drsensor, lrekt01, hivewatchers, steemcleaners, bewithbreath, mytechtrail, localgrower, simplegame, maxsieg, steempty, fminerten, andylein, muelli, gtg, pessal, bluerobo, hanke, blue-witness, fingolfin, esecholito, carback1, abbenay, tomoyan, ederaleng, altobee, stickstore, quekery, steemillu, redaktion, newsticker, steemcartel, hiq, smooms, timcliff, acidyo, rahul.stan, steeminator3000, mister-meeseeks, marvschurchill1, ghaazi, hivelist, thatsweeneyguy, cryptoyzzy, rafaelaquino, futurecurrency, softworld, santigs, sadvil, skepticology, mountaingod, schlafhacking, khaiyoui, marki99, holger80, fullnodeupdate, borislavzlatanov, manojbhatt, borjan, sportsbuddy, udabeu, meins0815, tokenindustry, crimo, nadhora, asgarth, cryptoaeneas, wackou, sourovafrin, linco, zayedsakib, oliverschmid, aquinotyron3, twinner, haejin, ranchorelaxo, dcommerce, dunkman, tommasobusiello, theguruasia, giuatt07, text2speech, elmundodexao, leynedayana, buster544, gulf41, koxmicart, hivehealth, oniemaniego, processieruben, recording-box, davidmuhammad, jeanpi1908, j-p-bs, death-and-taxes, wallytiteuf, thunkgaria, helcim, blocktrades, tomatom, memepress, marblely, jackofcrows, marblesz, kennyroy, auracraft, gabrielatravels, minerspost, plusvault, drakos, mammasitta, rhinoceros, wongbraling, atnep111, rohansuares, aboshliz, alexpmorris, darthknight, sadbear, kristall97, gohive, normalguy, aguadz, bflanagin, brewery, ace108, aljif7, rondras, kenalofficial, balefend, fbslo, khussan, steemitboard, jedigeiss, besuchers, discernente, farizal, jasonbu, tattytoque, hiccup360, happydolphin, rocksg, euc, jamesbattler, wirago, steemik, jskitty, cacalillos, wolven-znz, yuurinbee-znz, mohanraj, warliezdiaz, khazrakh, kplthakur397, questcrypto, ssekulji, denisdenis, masterlamps, tripode.vote, tazi, ibelin, gorllara, brianoflondon, blocktvnews, davidlionfish, kingdom-raftel, maar, busybody, jexus77, jhoxiris, arabisouri, ahmedsy, ibc, mrsyria,