Long Excerpt results in Failed Publish #30

Open
opened 2020-05-24 18:48:55 +02:00 by cahlenlee · 0 comments
cahlenlee commented 2020-05-24 18:48:55 +02:00 (Migrated from github.com)

DESCRIPTION:
If the user submits a new or edited post with a long Excerpt, it will fail to publish to LBRY with the following error in the 'lbrynet' console:

"lbry.wallet.rpc.jsonrpc.RPCError: (1, 'the transaction was rejected by network rules.\n\nbad-txns-claimscriptsize-toolarge (code 16)"


REPRO STEPS:

  1. Log into self-hosted Wordpress site w/ LBRYPress Plugin
  2. Create a New Post
  3. Enter 10000 characters into the Excerpt
  4. Publish the Post

Results: Post does not publish on LBRY

Expected: Post publishes on LBRY, or user receives an error in the Wordpress UI


ENVIRONMENT:
Ubuntu 18.04.4
WordPress 5.3.3
PHP 7.2.24
LBRYPress 0.0.1
Lodestar Theme 1.0.8


CALLSTACK:
2020-05-24 16:42:08,690 ERROR lbry.extras.daemon.daemon:706: error handling api request
Traceback (most recent call last):
File "lbry/extras/daemon/daemon.py", line 698, in _process_rpc_call
File "lbry/extras/daemon/daemon.py", line 3039, in jsonrpc_publish
File "lbry/extras/daemon/daemon.py", line 3482, in jsonrpc_stream_update
File "lbry/extras/daemon/daemon.py", line 5240, in broadcast_or_release
File "lbry/wallet/manager.py", line 301, in broadcast_or_release
File "lbry/wallet/network.py", line 83, in send_request
File "lbry/wallet/network.py", line 73, in send_request
File "lbry/wallet/rpc/session.py", line 479, in send_request


IMAGES:

LBRYPress_0 1 1_LongExcerptError


LBRY ADDRESS:
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
mail@cahlen.org

**DESCRIPTION:** If the user submits a new or edited post with a long Excerpt, it will fail to publish to LBRY with the following error in the 'lbrynet' console: "lbry.wallet.rpc.jsonrpc.RPCError: (1, 'the transaction was rejected by network rules.\n\nbad-txns-claimscriptsize-toolarge (code 16)" ----- **REPRO STEPS:** 1) Log into self-hosted Wordpress site w/ LBRYPress Plugin 2) Create a New Post 3) Enter 10000 characters into the Excerpt 4) Publish the Post **Results**: Post does not publish on LBRY **Expected:** Post publishes on LBRY, or user receives an error in the Wordpress UI ----- **ENVIRONMENT:** Ubuntu 18.04.4 WordPress 5.3.3 PHP 7.2.24 LBRYPress 0.0.1 Lodestar Theme 1.0.8 ----- **CALLSTACK:** 2020-05-24 16:42:08,690 ERROR lbry.extras.daemon.daemon:706: error handling api request Traceback (most recent call last): File "lbry/extras/daemon/daemon.py", line 698, in _process_rpc_call File "lbry/extras/daemon/daemon.py", line 3039, in jsonrpc_publish File "lbry/extras/daemon/daemon.py", line 3482, in jsonrpc_stream_update File "lbry/extras/daemon/daemon.py", line 5240, in broadcast_or_release File "lbry/wallet/manager.py", line 301, in broadcast_or_release File "lbry/wallet/network.py", line 83, in send_request File "lbry/wallet/network.py", line 73, in send_request File "lbry/wallet/rpc/session.py", line 479, in send_request ----- **IMAGES:** ![LBRYPress_0 1 1_LongExcerptError](https://user-images.githubusercontent.com/30788194/82759657-01e5e200-9dac-11ea-981f-52b77d72ce82.png) ----- **LBRY ADDRESS:** bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b mail@cahlen.org
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrypress#30
No description provided.