Skip to content

Long Excerpt results in Failed Publish #30

@cahlenlee

Description

@cahlenlee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions