Git Product home page Git Product logo

Comments (4)

mdhiggins avatar mdhiggins commented on May 29, 2024

I wonder if Radarr broke something in their nightly build

I made a few small changes to postRadarr/postSonarr in this update that will print out some more information before this failure in the debug level logging

cf09e2f0fd3fd4def4e01370a5238cc43ca603e3
ce25248a9bd7a2775851355ff92900cef3b6d4d3

If you could rerun this job with debug level logging and these new updates I can try and see why this is failiing

I'm also in the process of migrating the docker containers build from hub's automated build to github actions in order to support more architectures but haven't quite finished that

You can use the SMA_UPDATE environment variable set to true to update SMA with a container restart without needing a new build

https://github.com/mdhiggins/sickbeard_mp4_automator/wiki/Debug-Level-Logging

That's how to enable debug level logging

from radarr-sma.

preacher65 avatar preacher65 commented on May 29, 2024

Thanks. The sma log split across two files mid-processing, so I snipped from after the qtfaststart items and merged, hopefully I've captured it all. BTW this is just a small random file I'm grabbing to test, I'm deleting and re-downloading the same one each time.

2021-02-21 19:54:53 - resources.mediaprocessor - DEBUG - Final output file: /movies/The Little Things (2021)/The Little Things (2021) [WEBRip-720p][8bit][h264][AAC 2.0]-EVO.mp4.
2021-02-21 19:54:53 - RadarrPostProcess - DEBUG - Radarr host: 127.0.0.1.
2021-02-21 19:54:53 - RadarrPostProcess - DEBUG - Radarr port: 7878.
2021-02-21 19:54:53 - RadarrPostProcess - DEBUG - Radarr webroot: .
2021-02-21 19:54:53 - RadarrPostProcess - DEBUG - Radarr apikey: a764dec478d2455fa3762893516b3e66.
2021-02-21 19:54:53 - RadarrPostProcess - DEBUG - Radarr protocol: http://.
2021-02-21 19:54:54 - RadarrPostProcess - DEBUG - {'name': 'RescanMovie', 'movieId': '184'}
2021-02-21 19:54:54 - RadarrPostProcess - DEBUG - {'message': 'The JSON value could not be converted to System.Nullable`1[System.Int32]. Path: $.movieId | LineNumber: 0 | BytePositionInLine: 40.', 'description': "System.Text.Json.JsonException: The JSON value could not be converted to System.Nullable`1[System.Int32]. Path: $.movieId | LineNumber: 0 | BytePositionInLine: 40.\n ---> System.InvalidOperationException: Cannot get the value of a token type 'String' as a number.\n   at System.Text.Json.Utf8JsonReader.TryGetInt32(Int32& value)\n   at System.Text.Json.Utf8JsonReader.GetInt32()\n   at System.Text.Json.Serialization.Converters.NullableConverter`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)\n   at System.Text.Json.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)\n   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)\n   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)\n   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)\n   --- End of inner exception stack trace ---\n   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, Utf8JsonReader& reader, Exception ex)\n   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)\n   at System.Text.Json.Serialization.JsonConverter`1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)\n   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonConverter jsonConverter, Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)\n   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)\n   at System.Text.Json.JsonSerializer.ReadAsync[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options, CancellationToken cancellationToken)\n   at NzbDrone.Common.Serializer.STJson.Deserialize(Stream input, Type type) in D:\\a\\1\\s\\src\\NzbDrone.Common\\Serializer\\System.Text.Json\\STJson.cs:line 50\n   at Radarr.Http.Extensions.ReqResExtensions.FromJson(Stream body, Type type) in D:\\a\\1\\s\\src\\Radarr.Http\\Extensions\\ReqResExtensions.cs:line 31\n   at NzbDrone.Api.Commands.CommandModule.StartCommand(CommandResource commandResource) in D:\\a\\1\\s\\src\\NzbDrone.Api\\Commands\\CommandModule.cs:line 56\n   at Radarr.Http.REST.RestModule`1.<set_CreateResource>b__43_0(Object options) in D:\\a\\1\\s\\src\\Radarr.Http\\REST\\RestModule.cs:line 206\n   at Nancy.NancyModule.<>c__DisplayClass38_0`1.<Post>b__0(Object args)\n   at Nancy.NancyModule.<>c__DisplayClass40_0`1.<Post>b__0(Object args, CancellationToken ct)\n   at Nancy.Routing.Route`1.Invoke(DynamicDictionary parameters, CancellationToken cancellationToken)\n   at Nancy.Routing.DefaultRouteInvoker.Invoke(Route route, CancellationToken cancellationToken, DynamicDictionary parameters, NancyContext context)\n   at Nancy.Routing.DefaultRequestDispatcher.Dispatch(NancyContext context, CancellationToken cancellationToken)\n   at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, CancellationToken cancellationToken, IPipelines pipelines)"}
2021-02-21 19:54:54 - RadarrPostProcess - ERROR - Radarr monitor status update failed.
Traceback (most recent call last):
  File "/usr/local/sma/postRadarr.py", line 168, in <module>
    if rescanAndWait(host, port, webroot, apikey, protocol, movieid, log):
  File "/usr/local/sma/postRadarr.py", line 26, in rescanAndWait
    log.info("Radarr response Rescan command: ID %d %s." % (rstate['id'], rstate['state']))
KeyError: 'id'

I've just noticed that they've pushed an updated image, but the only update would appear to be
Radarr/Radarr@3f5ff23
More changed on the 14th, errors seem to appear in my logs on the 13th, but that could be a timezone thing...
https://github.com/Radarr/Radarr/commits/develop

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 29, 2024

That was actually quite helpful

See if this fixes it
58e0ba7f84bb2cb32389a4f10183f36088bedb69

Looks like the movieID was getting passed as a string instead of an int, wondering if previously they had accepted this but now they don't, this should convert it to an int

from radarr-sma.

preacher65 avatar preacher65 commented on May 29, 2024

Yes, that works perfectly now. Thanks!

from radarr-sma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.