Can not publish in 0.15.1 - Channel name hangs #544

Closed
opened 2017-09-09 06:09:49 +02:00 by oakey22 · 16 comments
oakey22 commented 2017-09-09 06:09:49 +02:00 (Migrated from github.com)

The Issue

Steps to reproduce

  1. Go to Publish and try and publish something

Expected behaviour

Should load the list of channel names

Actual behaviour

Just hangs on listing the channel names and never loads them up. Can not enter any info in the lbry://....... box either till the channel names are resolved.

https://spee.ch/a6bb8f325ba66e1d1aadec58a1d5e833d5c688ec/nochannelname.png

## The Issue ### Steps to reproduce 1. Go to Publish and try and publish something ### Expected behaviour Should load the list of channel names ### Actual behaviour Just hangs on listing the channel names and never loads them up. Can not enter any info in the lbry://....... box either till the channel names are resolved. https://spee.ch/a6bb8f325ba66e1d1aadec58a1d5e833d5c688ec/nochannelname.png
oakey22 commented 2017-09-10 18:55:28 +02:00 (Migrated from github.com)

getting this in the developer tools

Uncaught (in promise) TypeError: Cannot read property 'name' of undefined at file:///opt/LBRY/resources/app/dist/js/bundle.js:35181:26 at Array.map (native) at ChannelSection.render (file:///opt/LBRY/resources/app/dist/js/bundle.js:35180:29) at file:///opt/LBRY/resources/app/dist/js/bundle.js:74359:21 at measureLifeCyclePerf (file:///opt/LBRY/resources/app/dist/js/bundle.js:73639:12) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (file:///opt/LBRY/resources/app/dist/js/bundle.js:74358:25) at ReactCompositeComponentWrapper._renderValidatedComponent (file:///opt/LBRY/resources/app/dist/js/bundle.js:74385:32) at ReactCompositeComponentWrapper._updateRenderedComponent (file:///opt/LBRY/resources/app/dist/js/bundle.js:74309:36) at ReactCompositeComponentWrapper._performComponentUpdate (file:///opt/LBRY/resources/app/dist/js/bundle.js:74287:10) at ReactCompositeComponentWrapper.updateComponent (file:///opt/LBRY/resources/app/dist/js/bundle.js:74208:12) (anonymous) @ channelSection.jsx:111 render @ channelSection.jsx:111 (anonymous) @ ReactCompositeComponent.js:795 measureLifeCyclePerf @ ReactCompositeComponent.js:75 _renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:794 _renderValidatedComponent @ ReactCompositeComponent.js:821 _updateRenderedComponent @ ReactCompositeComponent.js:745 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 updateChildren @ ReactChildReconciler.js:109 _reconcilerUpdateChildren @ ReactMultiChild.js:206 _updateChildren @ ReactMultiChild.js:310 updateChildren @ ReactMultiChild.js:297 _updateDOMChildren @ ReactDOMComponent.js:942 updateComponent @ ReactDOMComponent.js:760 receiveComponent @ ReactDOMComponent.js:722 receiveComponent @ ReactReconciler.js:124 updateChildren @ ReactChildReconciler.js:109 _reconcilerUpdateChildren @ ReactMultiChild.js:206 _updateChildren @ ReactMultiChild.js:310 updateChildren @ ReactMultiChild.js:297 _updateDOMChildren @ ReactDOMComponent.js:942 updateComponent @ ReactDOMComponent.js:760 receiveComponent @ ReactDOMComponent.js:722 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 performUpdateIfNecessary @ ReactCompositeComponent.js:560 performUpdateIfNecessary @ ReactReconciler.js:156 runBatchedUpdates @ ReactUpdates.js:150 perform @ Transaction.js:143 perform @ Transaction.js:143 perform @ ReactUpdates.js:89 flushBatchedUpdates @ ReactUpdates.js:172 closeAll @ Transaction.js:209 perform @ Transaction.js:156 batchedUpdates @ ReactDefaultBatchingStrategy.js:62 enqueueUpdate @ ReactUpdates.js:200 enqueueUpdate @ ReactUpdateQueue.js:24 enqueueSetState @ ReactUpdateQueue.js:218 ReactComponent.setState @ ReactBaseClasses.js:64 onStateChange @ connectAdvanced.js:205 notify @ Subscription.js:26 notifyNestedSubs @ Subscription.js:62 onStateChange @ connectAdvanced.js:202 notify @ Subscription.js:26 notifyNestedSubs @ Subscription.js:62 onStateChange @ connectAdvanced.js:202 dispatch @ createStore.js:173 (anonymous) @ store.js:40 (anonymous) @ index.js:14 dispatch @ applyMiddleware.js:35 callback @ content.js:431

getting this in the developer tools `Uncaught (in promise) TypeError: Cannot read property 'name' of undefined at file:///opt/LBRY/resources/app/dist/js/bundle.js:35181:26 at Array.map (native) at ChannelSection.render (file:///opt/LBRY/resources/app/dist/js/bundle.js:35180:29) at file:///opt/LBRY/resources/app/dist/js/bundle.js:74359:21 at measureLifeCyclePerf (file:///opt/LBRY/resources/app/dist/js/bundle.js:73639:12) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (file:///opt/LBRY/resources/app/dist/js/bundle.js:74358:25) at ReactCompositeComponentWrapper._renderValidatedComponent (file:///opt/LBRY/resources/app/dist/js/bundle.js:74385:32) at ReactCompositeComponentWrapper._updateRenderedComponent (file:///opt/LBRY/resources/app/dist/js/bundle.js:74309:36) at ReactCompositeComponentWrapper._performComponentUpdate (file:///opt/LBRY/resources/app/dist/js/bundle.js:74287:10) at ReactCompositeComponentWrapper.updateComponent (file:///opt/LBRY/resources/app/dist/js/bundle.js:74208:12) (anonymous) @ channelSection.jsx:111 render @ channelSection.jsx:111 (anonymous) @ ReactCompositeComponent.js:795 measureLifeCyclePerf @ ReactCompositeComponent.js:75 _renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:794 _renderValidatedComponent @ ReactCompositeComponent.js:821 _updateRenderedComponent @ ReactCompositeComponent.js:745 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 updateChildren @ ReactChildReconciler.js:109 _reconcilerUpdateChildren @ ReactMultiChild.js:206 _updateChildren @ ReactMultiChild.js:310 updateChildren @ ReactMultiChild.js:297 _updateDOMChildren @ ReactDOMComponent.js:942 updateComponent @ ReactDOMComponent.js:760 receiveComponent @ ReactDOMComponent.js:722 receiveComponent @ ReactReconciler.js:124 updateChildren @ ReactChildReconciler.js:109 _reconcilerUpdateChildren @ ReactMultiChild.js:206 _updateChildren @ ReactMultiChild.js:310 updateChildren @ ReactMultiChild.js:297 _updateDOMChildren @ ReactDOMComponent.js:942 updateComponent @ ReactDOMComponent.js:760 receiveComponent @ ReactDOMComponent.js:722 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 receiveComponent @ ReactCompositeComponent.js:546 receiveComponent @ ReactReconciler.js:124 _updateRenderedComponent @ ReactCompositeComponent.js:753 _performComponentUpdate @ ReactCompositeComponent.js:723 updateComponent @ ReactCompositeComponent.js:644 performUpdateIfNecessary @ ReactCompositeComponent.js:560 performUpdateIfNecessary @ ReactReconciler.js:156 runBatchedUpdates @ ReactUpdates.js:150 perform @ Transaction.js:143 perform @ Transaction.js:143 perform @ ReactUpdates.js:89 flushBatchedUpdates @ ReactUpdates.js:172 closeAll @ Transaction.js:209 perform @ Transaction.js:156 batchedUpdates @ ReactDefaultBatchingStrategy.js:62 enqueueUpdate @ ReactUpdates.js:200 enqueueUpdate @ ReactUpdateQueue.js:24 enqueueSetState @ ReactUpdateQueue.js:218 ReactComponent.setState @ ReactBaseClasses.js:64 onStateChange @ connectAdvanced.js:205 notify @ Subscription.js:26 notifyNestedSubs @ Subscription.js:62 onStateChange @ connectAdvanced.js:202 notify @ Subscription.js:26 notifyNestedSubs @ Subscription.js:62 onStateChange @ connectAdvanced.js:202 dispatch @ createStore.js:173 (anonymous) @ store.js:40 (anonymous) @ index.js:14 dispatch @ applyMiddleware.js:35 callback @ content.js:431`
tzarebczan commented 2017-09-10 19:00:16 +02:00 (Migrated from github.com)

Anything change recently? Have you tried clearing cache in the settings screen? Can you also check the daemon (lbrynet) version in Help.

Anything change recently? Have you tried clearing cache in the settings screen? Can you also check the daemon (lbrynet) version in Help.
oakey22 commented 2017-09-10 19:09:57 +02:00 (Migrated from github.com)

the only thing i changed was upgrading to the new app.

App | 0.15.1
Daemon (lbrynet) | 0.15.2
Platform | Linux (Linux-4.4.0-93-generic-x86_64-with-Ubuntu-16.04-xenial)

the only thing i changed was upgrading to the new app. App | 0.15.1 Daemon (lbrynet) | 0.15.2 Platform | Linux (Linux-4.4.0-93-generic-x86_64-with-Ubuntu-16.04-xenial)
oakey22 commented 2017-09-10 19:30:05 +02:00 (Migrated from github.com)

Tried 0.15.0 and it is the same, i am now back on 0.15.1

I used the lbrynet-cli channel_list_mine and it displays all my channel names.

Tried 0.15.0 and it is the same, i am now back on 0.15.1 I used the lbrynet-cli channel_list_mine and it displays all my channel names.
tzarebczan commented 2017-09-10 21:59:27 +02:00 (Migrated from github.com)

And you've tried clearing the cache too? Can you provide your latest lbrynet.log file to see if there are any clues there.

And you've tried clearing the cache too? Can you provide your latest lbrynet.log file to see if there are any clues there.
oakey22 commented 2017-09-11 11:53:03 +02:00 (Migrated from github.com)

lbrynet (copy).txt
I tried clearing the cache, the log is added to this post, i also edited out my balance

[lbrynet (copy).txt](https://github.com/lbryio/lbry-app/files/1292116/lbrynet.copy.txt) I tried clearing the cache, the log is added to this post, i also edited out my balance
unclejed613 commented 2017-09-14 04:34:46 +02:00 (Migrated from github.com)

I'm having a similar problem with 0.15.1. When I try to publish, the channel drop down is all blacked out. clearing the cache fixes it until the next time I publish, so I have to clear the cache and restart the app every time I want to publish. I'm running the app on Ubuntu linux.

I'm having a similar problem with 0.15.1. When I try to publish, the channel drop down is all blacked out. clearing the cache fixes it until the next time I publish, so I have to clear the cache and restart the app every time I want to publish. I'm running the app on Ubuntu linux.
tzarebczan commented 2017-09-14 18:26:15 +02:00 (Migrated from github.com)

@unclejed613 I think your issue is a little different - probably more rendering related. Are you using a VM or a regular desktop? Using remote desktop software?

If you open up developer tools ( Developer > Tools from the top menu bar), do you see any errors these while clicking the drop down?

@unclejed613 I think your issue is a little different - probably more rendering related. Are you using a VM or a regular desktop? Using remote desktop software? If you open up developer tools ( Developer > Tools from the top menu bar), do you see any errors these while clicking the drop down?
tzarebczan commented 2017-09-14 18:29:55 +02:00 (Migrated from github.com)

@oakey22 - I do see something related to UPNP failures in your log, but it most likely wouldn't cause this issue. Do you have UPNP enabled on your router? It's trying to use port 4444 by default. It may cause some streaming issues if it fails.

Otherwise, same question to you, are you using a VM/remote desktop or is this a regular desktop? I wonder if its somehow related to some graphical issues.

@oakey22 - I do see something related to UPNP failures in your log, but it most likely wouldn't cause this issue. Do you have UPNP enabled on your router? It's trying to use port 4444 by default. It may cause some streaming issues if it fails. Otherwise, same question to you, are you using a VM/remote desktop or is this a regular desktop? I wonder if its somehow related to some graphical issues.
btzr-io commented 2017-09-14 19:13:27 +02:00 (Migrated from github.com)
Related issues with dropdown render: https://github.com/electron/electron/issues/7289 https://github.com/electron/electron/issues/4322 https://github.com/avocode/avocode/issues/1158
oakey22 commented 2017-09-14 20:36:43 +02:00 (Migrated from github.com)

I have checked the router and UPNP is enabled, i am also running this on linux desktop.

I dont get a black box, i just get nothing other than Anonymous and New channel, neither do anything and i get the updating channels ... all the time underneath

I have checked the router and UPNP is enabled, i am also running this on linux desktop. I dont get a black box, i just get nothing other than Anonymous and New channel, neither do anything and i get the updating channels ... all the time underneath
tzarebczan commented 2017-09-19 16:43:32 +02:00 (Migrated from github.com)

@oakey22 - does this still happen in v16?

@oakey22 - does this still happen in v16?
oakey22 commented 2017-09-21 12:05:54 +02:00 (Migrated from github.com)

Still happening in v16RC7 for me

Still happening in v16RC7 for me
tzarebczan commented 2017-09-21 16:44:42 +02:00 (Migrated from github.com)

Rouse is also having the same issue, I'll try to troubleshoot with him.

Rouse is also having the same issue, I'll try to troubleshoot with him.
tzarebczan commented 2017-09-21 16:58:10 +02:00 (Migrated from github.com)

@kauffj below is the line it's happening on > 35209 in bundle.js - var name = _ref.name; line

        this.props.channels.map(function (_ref) {
          var name = _ref.name;
          return _react2.default.createElement(
            "option",
            { key: name, value: name },
            name
          );
        }),
        _react2.default.createElement(
          "option",
          { key: "new", value: "new" },
          __("New channel...")
        )
      ));
@kauffj below is the line it's happening on > 35209 in bundle.js - var name = _ref.name; line ``` this.props.channels.map(function (_ref) { var name = _ref.name; return _react2.default.createElement( "option", { key: name, value: name }, name ); }), _react2.default.createElement( "option", { key: "new", value: "new" }, __("New channel...") ) )); ```
oakey22 commented 2017-09-22 09:41:39 +02:00 (Migrated from github.com)

Can confirm that this is working now with the above change

Can confirm that this is working now with the above change
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/lbry-desktop#544
No description provided.