question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors while importing local media

See original GitHub issue

Hi Marcel

I fixed most ID3 info for my local collection (ca 8000 tracks) and started importing them with debug logging on 😃. Importing for most of the tracks goes well. Don’t see many albums/artists (yet), only many tracks. But it’s worth mentioning some errors and the related debug logging around that time:

Job [Add file://album/variousartistsfantasydancehitsvolume1 to database] failed with error 'NoneType' object has no attribute 'name'.
21:20:35 – (ERROR) /usr/local/lib/python3.9/site-packages/music_assistant/mass.py - message first occurred at 21:20:28 and shows up 2 times
[547391316272] Error handling message: Unknown error (unknown_error)
21:20:35 – (ERROR) Home Assistant WebSocket API (custom integration)
[547391316272] Error handling message: Unknown error (unknown_error)
21:20:28 – (ERROR) Home Assistant WebSocket API (custom integration)
[547391316272] Error handling message: Unknown error (unknown_error)
21:19:33 – (ERROR) Home Assistant WebSocket API (custom integration) - message first occurred at 21:15:26 and shows up 2 times
Job [Add file://playlist/varioushithistory1955198555m3u to database] failed with error argument of type 'NoneType' is not iterable.
21:19:33 – (ERROR) /usr/local/lib/python3.9/site-packages/music_assistant/mass.py - message first occurred at 21:15:26 and shows up 2 times

I attached also the debug log around these errors: debug.log `

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
erkrcommented, May 17, 2022

I prefer to give it a test run with your next version 😉

1reaction
marcelveldtcommented, May 15, 2022

What is the best way to stop the scan?

Just reload the integration and it will continue where it left off. Maybe do that a couple op times until the full collection is synced.

That said, I’m going to change the logic a bit to make it free memory

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code Astrology WordPress Failed To Import Media? 5 ...
In this article, you will learn the five most common WP errors that occur when importing files from your local computer to your...
Read more >
WordPress Failed to Import Media: What to Do Now?
Here are some tips on what to do if WordPress failed to import media. Taking these steps should guarantee a fast and smooth...
Read more >
WordPress: Fix "Failed to import Media" error - devowl.io
In rare cases the error “Failed to import Media” can occur. The error means that WordPress was not able to fetch the media...
Read more >
php - Error (near "ON" at position 25) while importing Table for ...
This happens because of the importing connectivity issue with phpmyadmin when you import large DB, here is how you can import ...
Read more >
Project import errors – Support Portal | Snyk
While importing a project into the Snyk console, you may sometimes encounter an error; for example: Some common errors and suggested...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found