valcanobacon / boostcli Goto Github PK
View Code? Open in Web Editor NEWCommand line tool to send and review Podcasting 2.0 Value
License: BSD 3-Clause "New" or "Revised" License
Command line tool to send and review Podcasting 2.0 Value
License: BSD 3-Clause "New" or "Revised" License
It'd be nice if there was a log of the sent boosts with time/date, amount, sender/receiver, and message.
ERROR MESSAGE: failed to connect to all addresses
Traceback (most recent call last):
File "C:\Users\chris\source\Repos\BoostCLI\venv\Scripts\boostcli-script.py", line 33, in <module>
sys.exit(load_entry_point('BoostCLI', 'console_scripts', 'boostcli')())
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\chris\source\repos\boostcli\src\cli\__init__.py", line 246, in boost
payment.payment_hash.hex(),
AttributeError: 'NoneType' object has no attribute 'payment_hash'
Expected Result: Title, URL, GUID, and Podcast Index feed ID shown, followed by "No Value Block" message without stack trace.
Actual Result:
> boostcli podcast 'https://www.absna6pack.com/?format=rss'
No Value Block
Traceback (most recent call last):
File "C:\Users\chris\source\Repos\BoostCLI\venv\Scripts\boostcli-script.py", line 33, in <module>
sys.exit(load_entry_point('BoostCLI', 'console_scripts', 'boostcli')())
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Users\chris\source\Repos\BoostCLI\venv\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\chris\source\repos\boostcli\src\cli\__init__.py", line 133, in podcast
["Title", podcast_value.podcast_title],
AttributeError: 'NoneType' object has no attribute 'podcast_title'
See thread on PodcastIndex.social but the long and short of it is that it appears that the value for custom record 7629169 is being base64 encoded when it shouldn't be. This causes boostagrams sent with BoostCLI to go missing, which is a big problem with shared node services like Satoshis.Stream where the podcast information in the custom record is required to determine which users should receive the boost value.
https://www.podserve.fm/series/rss/2202/behind-the-schms.rss
edit: just tried again, also happens with podcastindex URL: https://podcastindex.org/podcast/150842
Traceback (most recent call last):
File "/usr/lib/python3.9/encodings/hex_codec.py", line 19, in hex_decode
return (binascii.a2b_hex(input), len(input))
binascii.Error: Odd-length string
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/me/BoostCLI/venv/bin/boostcli", line 33, in <module>
sys.exit(load_entry_point('BoostCLI', 'console_scripts', 'boostcli')())
File "/home/me/BoostCLI/venv/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/home/me/BoostCLI/venv/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/me/BoostCLI/venv/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/me/BoostCLI/venv/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/me/BoostCLI/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/me/BoostCLI/venv/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/me/BoostCLI/src/cli/__init__.py", line 329, in boost
for i, payment in enumerate(payments):
File "/home/me/BoostCLI/src/services/lightning_service.py", line 183, in pay_boost_invoice
dest = codecs.decode(destination.receiver_address, "hex")
binascii.Error: decoding with 'hex' codec failed (Error: Odd-length string)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.