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

Both regular scan and force scan error out #3408

Open
YaibaToKen opened this issue Nov 25, 2024 · 5 comments
Open

Both regular scan and force scan error out #3408

YaibaToKen opened this issue Nov 25, 2024 · 5 comments
Labels
needs-triage Needs to be triaged by a developer and assigned a release

Comments

@YaibaToKen
Copy link

What happened?

Scan starts and finishes a couple of seconds later, not picking up on new Comics.

What did you expect?

Scan to take longer than a few seconds and pick on new Comics.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.4 - Stable

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

None

If the issue is being seen in the UI, what browsers are you seeing the problem on?

No response

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

No response

Relevant log output

[Kavita] [2024-11-25 14:39:37.716 +00:00  243] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Processing series Angel with 17 files
[Kavita] [2024-11-25 14:39:37.716 +00:00  243] [Error] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] There was an exception updating series for Angel
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Globalization.NumberFormatInfo.InitializeInvariantAndNegativeSignFlags()
   at System.Globalization.CultureInfo.GetFormat(Type formatType)
   at API.Entities.Volume.GetNumberTitle() in /home/runner/work/Kavita/Kavita/API/Entities/Volume.cs:line 72
   at API.Services.Tasks.Scanner.ProcessSeries.UpdateVolumes(Series series, IList`1 parsedInfos, Boolean forceUpdate) in /home/runner/work/Kavita/Kavita/API/Services/Tasks/Scanner/ProcessSeries.cs:line 620
   at API.Services.Tasks.Scanner.ProcessSeries.ProcessSeriesAsync(IList`1 parsedInfos, Library library, Int32 totalToProcess, Boolean forceUpdate) in /home/runner/work/Kavita/Kavita/API/Services/Tasks/Scanner/ProcessSeries.cs:line 118
[Kavita] [2024-11-25 14:39:37.716 +00:00  243] [Debug] API.Services.Tasks.ScannerService [TIME] Kavita took 4 ms to process Angel

Additional Notes

No response

@YaibaToKen YaibaToKen added the needs-triage Needs to be triaged by a developer and assigned a release label Nov 25, 2024
@YaibaToKen
Copy link
Author

This does not seem to happen on the current nightly release

@YaibaToKen
Copy link
Author

YaibaToKen commented Nov 25, 2024

[Kavita] [2024-11-25 17:06:17.106 +00:00  103] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Processing series Convergence Justice League of America with 2 files
[Kavita] [2024-11-25 17:06:17.106 +00:00  103] [Error] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] There was an exception updating series for Convergence Justice League of America
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Globalization.NumberFormatInfo.InitializeInvariantAndNegativeSignFlags()
   at System.Globalization.CultureInfo.GetFormat(Type formatType)
   at API.Entities.Volume.GetNumberTitle() in /home/runner/work/Kavita/Kavita/API/Entities/Volume.cs:line 70
   at API.Services.Tasks.Scanner.ProcessSeries.UpdateVolumes(Series series, IList`1 parsedInfos, Boolean forceUpdate) in /home/runner/work/Kavita/Kavita/API/Services/Tasks/Scanner/ProcessSeries.cs:line 620
   at API.Services.Tasks.Scanner.ProcessSeries.ProcessSeriesAsync(IList`1 parsedInfos, Library library, Int32 totalToProcess, Boolean forceUpdate) in /home/runner/work/Kavita/Kavita/API/Services/Tasks/Scanner/ProcessSeries.cs:line 118
[Kavita] [2024-11-25 17:06:17.106 +00:00  103] [Debug] API.Services.Tasks.ScannerService [TIME] Kavita took 0 ms to process Convergence Justice League of America

This apparently still happens in the current nightly.

@ComputerWolf
Copy link

Not sure if this the same issue or something that needs a separate issue but I am experiencing something similar on both Scoop and Docker installs on Windows. My books are on a Windows mount if that makes a difference. No new books can be added and it errors out reading metadata on existing books when doing a forced scan.

[Kavita] [2024-11-24 23:26:00.413 -05:00  86] [Error] API.Services.Tasks.ScannerService [ScannerService] Issue occurred while setting IssueOrder for series Legends & Lattes
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Globalization.NumberFormatInfo.InitializeInvariantAndNegativeSignFlags()
   at System.Globalization.CultureInfo.GetFormat(Type formatType)
   at System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted[T](T value)
   at API.Services.Tasks.Scanner.ParseScannedFiles.UpdateSortOrder(ConcurrentDictionary`2 scannedSeries, ParsedSeries series) in C:\Users\josep\Documents\Projects\KavitaOrg\Kavita\API\Services\Tasks\Scanner\ParseScannedFiles.cs:line 825
   at API.Services.Tasks.Scanner.ParseScannedFiles.UpdateSeriesSortOrder(ConcurrentDictionary`2 scannedSeries) in C:\Users\josep\Documents\Projects\KavitaOrg\Kavita\API\Services\Tasks\Scanner\ParseScannedFiles.cs:line 554

@joelaw9
Copy link

joelaw9 commented Nov 25, 2024

Getting the same error as Yaiba. Install is on a Debian LXC container, using a TrueNAS drive for manga storage.

@jeffp1717
Copy link

jeffp1717 commented Nov 25, 2024

What happened?
Scan starts and finishes a couple of seconds later, not picking up on new Comics/Books.

What did you expect?
Scan to take longer than a few seconds and pick on new Comics/Books.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.
0.8.4 - Stable

What operating system is Kavita being hosted from?
Docker (Dockerhub Container) lscr.io/linuxserver/kavita

If the issue is being seen on Desktop, what OS are you running where you see the issue?
Unraid

If the issue is being seen in the UI, what browsers are you seeing the problem on?
Chrome/Firefox

If the issue is being seen on Mobile, what OS are you running where you see the issue?
None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?
No response

Relevant log output:

[Kavita] [2024-11-25 15:52:38.164 -05:00  204] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 67 files for /data/books2/Stephen King
[Kavita] [2024-11-25 15:52:38.165 -05:00  397] [Debug] API.Controllers.LibraryController Caching libraries for library_admin
[Kavita] [2024-11-25 15:52:38.167 -05:00  397] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/library/libraries responded 200 in 3.4748 ms
[Kavita] [2024-11-25 15:52:38.216 -05:00  397] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/stream/sidenav?visibleOnly=true responded 200 in 6.7886 ms
[Kavita] [2024-11-25 15:52:38.207 -05:00  204] [Warning] API.Services.BookService [GetComicInfo] There was an exception parsing metadata
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Globalization.NumberFormatInfo.InitializeInvariantAndNegativeSignFlags()
   at System.Globalization.CultureInfo.GetFormat(Type formatType)
   at Nager.ArticleNumber.ArticleNumberHelper.IsValidIsbn13(String isbn13)
   at API.Services.BookService.GetComicInfo(String filePath) in C:\Users\josep\Documents\Projects\KavitaOrg\Kavita\API\Services\BookService.cs:line 467

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
None yet
Development

No branches or pull requests

4 participants