App locks up on sandbox file #2508

Closed
opened 2019-05-23 22:21:15 +02:00 by tzarebczan · 6 comments
tzarebczan commented 2019-05-23 22:21:15 +02:00 (Migrated from github.com)

The Issue

When opening lbry://HartwigChessSet#690cf3aa77e89b9eb58ec5e761bfa9455093d395 (make sure it's not downloaded already), the app will lock up. You'll get a Quit/Wait dialog after 30 seconds or so. If you quit/restart, and then reopen, it works.

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-desktop/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on live chat at https://chat.lbry.com --> ## The Issue When opening lbry://HartwigChessSet#690cf3aa77e89b9eb58ec5e761bfa9455093d395 (make sure it's not downloaded already), the app will lock up. You'll get a Quit/Wait dialog after 30 seconds or so. If you quit/restart, and then reopen, it works. ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: - LBRY App version: - LBRY Installation ID: - Operating system: ## Anything Else <!-- Include anything else that does not fit into the above sections --> ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here -->
btzr-io commented 2019-06-04 02:25:27 +02:00 (Migrated from github.com)

Looks like is stuck on waiting for blob..., also got this errors on the console:

Not allowed to load local resource: blob:file:///dda0d7dd-9962-4e40-901f-e4391fa14fe5
    Uncaught TypeError: t.children[0].play is not a function
    at f.refreshMetadata (player-legacy.js:1)
    at setTimeout **(player-legacy.js:1)**

Note:
That's not a 3D file, so it's not an issue with the 3D-viewer, the content is not using webgl, just a lib (photon) to generate 3D-CSS effects, but that's not the actual issue.

Looks like is stuck on `waiting for blob...`, also got this errors on the console: ``` Not allowed to load local resource: blob:file:///dda0d7dd-9962-4e40-901f-e4391fa14fe5 ``` ``` Uncaught TypeError: t.children[0].play is not a function at f.refreshMetadata (player-legacy.js:1) at setTimeout **(player-legacy.js:1)** ``` > **Note:** That's not a 3D file, so it's not an issue with the 3D-viewer, the content is not using `webgl`, just a lib ([photon](https://github.com/thomasxiii/photon)) to generate 3D-CSS effects, but that's not the actual issue.
btzr-io commented 2019-06-04 03:01:14 +02:00 (Migrated from github.com)

Render media don't have support for the lbry-x format, so I'm not sure why is it here ?
lbryio/lbry-desktop@d9e9a95879/src/ui/component/fileViewer/internal/player.jsx (L260)

Render media don't have support for the `lbry-x` format, so I'm not sure why is it here ? https://github.com/lbryio/lbry-desktop/blob/d9e9a95879650b1065f1a27d844e3d1b887517dd/src/ui/component/fileViewer/internal/player.jsx#L260
btzr-io commented 2019-06-04 04:26:37 +02:00 (Migrated from github.com)

@tzarebczan I managed to suppress the error / blocking of the app, now the issue is displaying the content once the download is completed ( different issue ? ) 👍

@tzarebczan I managed to suppress the error / blocking of the app, now the issue is displaying the content once the download is completed ( different issue ? ) :+1:
tzarebczan commented 2019-06-04 04:35:23 +02:00 (Migrated from github.com)

Hmm, it should do that by default for these file types. I can take a look in your branch to see why it's not. I know others of a similar type would work...

Hmm, it should do that by default for these file types. I can take a look in your branch to see why it's not. I know others of a similar type would work...
btzr-io commented 2019-06-04 05:24:03 +02:00 (Migrated from github.com)

@tzarebczan No, looks like there was no real logic for that 🙃,
Must've been removed somewhere along the way ?

@tzarebczan No, looks like there was no real logic for that :upside_down_face:, Must've been removed somewhere along the way ?
btzr-io commented 2019-06-04 22:33:26 +02:00 (Migrated from github.com)

Fixed on #2530

Fixed on #2530
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#2508
No description provided.