Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoneType errors #57

Closed
MatthK opened this issue Feb 18, 2021 · 4 comments
Closed

NoneType errors #57

MatthK opened this issue Feb 18, 2021 · 4 comments

Comments

@MatthK
Copy link

MatthK commented Feb 18, 2021

I came across a bunch of errors where TubeSync failed to download the videos. Here are the error messages:

<div class="col s12">
    <h2>8 Errors</h2>
    <p>
      Tasks which generated an error are shown here. Tasks are retried a couple of
      times, so if there was an intermittent error such as a download got interrupted
      it will be scheduled to run again.
    </p>
    <div class="collection">
      
        <a href="/media/a006fcbe-f440-4a25-a768-b104bb2309f4" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Blippi BREAD Song | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:24:53</strong>
        </a>
      
        <a href="/media/68139be4-3049-4656-bcc3-d7754186140c" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Blippi FARM Song | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:25:03</strong>
        </a>
      
        <a href="/media/967e1de7-dc38-42a9-b829-4dc41a13ad43" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Animal Sounds (On The Farm) | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:25:23</strong>
        </a>
      
        <a href="/media/720b90fd-32eb-4780-b0c4-524ee0a09a52" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Twinkle Twinkle Little Star | Blippi LULLABY | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:25:48</strong>
        </a>
      
        <a href="/media/8ccc9784-f219-40e4-b6f2-4ba06d88b211" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Raspberry Song - Part 2 | BLIPPI Music | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:25:58</strong>
        </a>
      
        <a href="/media/f1a1c187-349d-401b-b95f-3b2de38477fb" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Plane Song | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:26:33</strong>
        </a>
      
        <a href="/media/404d40be-b709-4368-9b54-de03c2f1bb14" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Dinosaur Song! RAWR! | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:26:54</strong>
        </a>
      
        <a href="/media/0a0e8455-c9e6-41e5-ab86-e904433c40a9" class="collection-item error-text">
          <i class="fas fa-exclamation-triangle"></i> <strong>Downloading media for "Funny Fun Ice Cream Song | Educational Songs For Kids"</strong>, attempted 8 times<br>
          Error: "unsupported operand type(s) for +: 'NoneType' and 'NoneType'"<br>
          <i class="fas fa-history"></i> Task will be retried at <strong>2021-02-18 15:27:59</strong>
        </a>
      
    </div>
  </div>
@meeb
Copy link
Owner

meeb commented Feb 18, 2021

What version of TubeSync are you running? Can you also paste the actual errors that caused this front end messages from the container console log?

@MatthK
Copy link
Author

MatthK commented Feb 18, 2021

Version v0.8

I picked a few lines before and after the error. Is that enough or did I not copy enough?

{"log":"2021-02-18 00:04:00,008 [tubesync/INFO] Updating media server: Plex server at https://192.168.7.10:32400\n","stream":"stderr","time":"2021-02-17T16:04:00.008822708Z"}
{"log":"2021-02-18 00:04:05,129 [tubesync/INFO] Downloading media: vnd1OVaMgHQ (UUID: a006fcbe-f440-4a25-a768-b104bb2309f4) to: \"/downloads/video/Blippi/20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv\"\n","stream":"stderr","time":"2021-02-17T16:04:05.130077342Z"}
{"log":"2021-02-18 00:04:06,086 [tubesync/INFO] [youtube-dl] downloading: 20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv.f247 - 39.9% of 24.95MiB at 24.72MiB/s, 00:00 remaining\n","stream":"stderr","time":"2021-02-17T16:04:06.087142676Z"}
{"log":"2021-02-18 00:04:06,231 [tubesync/INFO] [youtube-dl] downloading: 20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv.f247 - 55.0% of 24.95MiB at 25.90MiB/s, 00:00 remaining\n","stream":"stderr","time":"2021-02-17T16:04:06.231361249Z"}
{"log":"2021-02-18 00:04:06,418 [tubesync/INFO] [youtube-dl] downloading: 20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv.f247 - 80.3% of 24.95MiB at 6.55MiB/s, 00:00 remaining\n","stream":"stderr","time":"2021-02-17T16:04:06.419225493Z"}
{"log":"2021-02-18 00:04:06,492 [tubesync/INFO] [youtube-dl] downloading: 20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv.f247 - 100.0% of 24.95MiB at 36.04MiB/s, 00:00 remaining\n","stream":"stderr","time":"2021-02-17T16:04:06.493162446Z"}
{"log":"2021-02-18 00:04:06,725 [tubesync/INFO] [youtube-dl] finished downloading: 20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv.f247 - 24.95MiB in 00:01\n","stream":"stderr","time":"2021-02-17T16:04:06.726181553Z"}
{"log":"2021-02-18 00:04:06,850 [tubesync/INFO] [youtube-dl] finished downloading: 20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv.f251 - 2.27MiB in 00:00\n","stream":"stderr","time":"2021-02-17T16:04:06.850783401Z"}
{"log":"2021-02-18 00:04:07,644 [tubesync/INFO] Successfully downloaded media: vnd1OVaMgHQ (UUID: a006fcbe-f440-4a25-a768-b104bb2309f4) to: \"/downloads/video/Blippi/20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_720p-vp9-opus.mkv\"\n","stream":"stderr","time":"2021-02-17T16:04:07.644958618Z"}
{"log":"2021-02-18 00:04:07,695 [tubesync/INFO] Copying media thumbnail from: /config/media/thumbs/a0/a006fcbe-f440-4a25-a768-b104bb2309f4.jpg to: /downloads/video/Blippi/20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_vp9-opus-30fps.jpg\n","stream":"stderr","time":"2021-02-17T16:04:07.695639692Z"}
{"log":"2021-02-18 00:04:07,712 [tubesync/INFO] Writing media NFO file to: to: /downloads/video/Blippi/20210105_blippi-educational-videos-for-kids_blippi-bread-song-educational-songs-for-kids_vnd1OVaMgHQ_vp9-opus-30fps.nfo\n","stream":"stderr","time":"2021-02-17T16:04:07.712251663Z"}
{"log":"Rescheduling Downloading media for \"Blippi BREAD Song | Educational Songs For Kids\"\n","stream":"stderr","time":"2021-02-17T16:04:07.71834898Z"}
{"log":"Traceback (most recent call last):\n","stream":"stderr","time":"2021-02-17T16:04:07.718373301Z"}
{"log":"  File \"/usr/local/lib/python3.7/dist-packages/background_task/tasks.py\", line 43, in bg_runner\n","stream":"stderr","time":"2021-02-17T16:04:07.718379847Z"}
{"log":"    func(*args, **kwargs)\n","stream":"stderr","time":"2021-02-17T16:04:07.718385509Z"}
{"log":"  File \"/app/sync/tasks.py\", line 335, in download_media\n","stream":"stderr","time":"2021-02-17T16:04:07.718390544Z"}
{"log":"    write_text_file(media.nfopath, media.nfoxml)\n","stream":"stderr","time":"2021-02-17T16:04:07.71839561Z"}
{"log":"  File \"/app/sync/models.py\", line 1081, in nfoxml\n","stream":"stderr","time":"2021-02-17T16:04:07.718400833Z"}
{"log":"    votes.text = str(self.votes)\n","stream":"stderr","time":"2021-02-17T16:04:07.718405909Z"}
{"log":"  File \"/app/sync/models.py\", line 981, in votes\n","stream":"stderr","time":"2021-02-17T16:04:07.718410789Z"}
{"log":"    return upvotes + downvotes\n","stream":"stderr","time":"2021-02-17T16:04:07.718415788Z"}
{"log":"TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'\n","stream":"stderr","time":"2021-02-17T16:04:07.718420696Z"}
{"log":"Rescheduling task Downloading media for \"Blippi BREAD Song | Educational Songs For Kids\" for 0:00:06 later at 2021-02-17 16:04:13.748176+00:00\n","stream":"stderr","time":"2021-02-17T16:04:07.748592549Z"}
{"log":"2021-02-18 00:04:10,257 [tubesync/INFO] Downloading media: OT8esd_3Kqk (UUID: 31cf3e17-f33b-4513-a03b-1bb61adacd18) to: \"/downloads/video/Blippi/20210102_blippi-educational-videos-for-kids_new-year-with-blippi-months-song-educational-songs-for-kids_OT8esd_3Kqk_720p-vp9-opus.mkv\"\n","stream":"stderr","time":"2021-02-17T16:04:10.257455986Z"}
{"log":"2021-02-18 00:04:11,410 [tubesync/INFO] [youtube-dl] downloading: 20210102_blippi-educational-videos-for-kids_new-year-with-blippi-months-song-educational-songs-for-kids_OT8esd_3Kqk_720p-vp9-opus.mkv.f247 - 10.2% of 116.59MiB at 42.48MiB/s, 00:02 remaining\n","stream":"stderr","time":"2021-02-17T16:04:11.410388337Z"}
{"log":"2021-02-18 00:04:11,529 [tubesync/INFO] [youtube-dl] downloading: 20210102_blippi-educational-videos-for-kids_new-year-with-blippi-months-song-educational-songs-for-kids_OT8esd_3Kqk_720p-vp9-opus.mkv.f247 - 15.3% of 116.59MiB at 48.12MiB/s, 00:02 remaining\n","stream":"stderr","time":"2021-02-17T16:04:11.529372668Z"}
{"log":"2021-02-18 00:04:11,663 [tubesync/INFO] [youtube-dl] downloading: 20210102_blippi-educational-videos-for-kids_new-year-with-blippi-months-song-educational-songs-for-kids_OT8esd_3Kqk_720p-vp9-opus.mkv.f247 - 20.5% of 116.59MiB at 47.55MiB/s, 00:01 remaining\n","stream":"stderr","time":"2021-02-17T16:04:11.66350351Z"}
{"log":"2021-02-18 00:04:11,955 [tubesync/INFO] [youtube-dl] downloading: 20210102_blippi-educational-videos-for-kids_new-year-with-blippi-months-song-educational-songs-for-kids_OT8esd_3Kqk_720p-vp9-opus.mkv.f247 - 25.4% of 116.59MiB at 25.91MiB/s, 00:03 remaining\n","stream":"stderr","time":"2021-02-17T16:04:11.955561275Z"}
{"log":"2021-02-18 00:04:12,388 [tubesync/INFO] [youtube-dl] downloading: 20210102_blippi-educational-videos-for-kids_new-year-with-blippi-months-song-educational-songs-for-kids_OT8esd_3Kqk_720p-vp9-opus.mkv.f247 - 34.6% of 116.59MiB at 48.71MiB/s, 00:01 remaining\n","stream":"stderr","time":"2021-02-17T16:04:12.389012932Z"}

@meeb
Copy link
Owner

meeb commented Feb 18, 2021

This is fixed in v0.9, please upgrade and see if it's resolved for you.

@meeb
Copy link
Owner

meeb commented Feb 18, 2021

Duplicate of #50. Feel free to comment here again if your issue isn't resolved in v0.9.

@meeb meeb closed this as completed Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants