Giter VIP home page Giter VIP logo

Comments (11)

mateoradman avatar mateoradman commented on June 18, 2024 1

Thank you for reaching out! I am working on reproducing this bug.

Additionally, I will improve the error reporting procedure in v1.4 which will help detecting what went wrong.

from bazarr-bulk.

mateoradman avatar mateoradman commented on June 18, 2024

Hi @madejackson, thanks for reporting this bug. I will need a few more information to be able to work on this.

  1. Which operation did you try to run? (Syncing, OCR Fixes, ...)
  2. Were you attempting to perform actions on movie or tv show subtitles?
  3. Are there any bazarr logs suggesting that something went wrong while using Bazarr bulk CLI? (System > Logs)

from bazarr-bulk.

madejackson avatar madejackson commented on June 18, 2024

Hi Mateo,

Thanks for investigating this.

So it doesn't really matter unfortunately. The Error is present for all inputs and the bazarr log stays empty (also true with debugging enabled in bazarr settings):

~$ bb --config bazarr.json movies ocr-fixes
Bazarr API is healthy.
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 4, column: 1) }
~$ bb --config bazarr.json movies common-fixes
Bazarr API is healthy.
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 4, column: 1) }
~$ bb --config bazarr.json movies sync
Bazarr API is healthy.
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 4, column: 1) }
~$ bb --config bazarr.json tv-shows sync
Bazarr API is healthy.
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 4, column: 1) }
~$ bb --config bazarr.json tv-shows ocr-fixes
Bazarr API is healthy.
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 4, column: 1) }
~$ bb --config bazarr.json tv-shows somethingsomething
error: unrecognized subcommand 'somethingsomething'

grafik

from bazarr-bulk.

mateoradman avatar mateoradman commented on June 18, 2024

Thanks for looking into it. In order to further debug what went wrong, can you please kindly provide the following information:

  1. navigate to http://YOUR_BAZARR_INSTANCE/api/
  2. on the right hand side click on Authorise and input your API key
  3. click on Episodes > GET Episodes > Try it out > Execute. You will get the response printed out below. Can you please export this response as a JSON file and attach it here?
  4. Do the same for GET /movies and GET /series.

from bazarr-bulk.

madejackson avatar madejackson commented on June 18, 2024

Yes no Problem,

Here you go:

Episodes for series with ID 1:
response_1710154203699.json

Movies (length 100):
response_1710154365768.json

Headers:

access-control-allow-origin: * content-encoding: gzip content-length: 38458 content-type: application/json date: Mon,11 Mar 2024 10:52:44 GMT server: waitress vary: Accept-Encoding x-firefox-spdy: h2

from bazarr-bulk.

Fratt avatar Fratt commented on June 18, 2024

I'm experiencing an issue that looks similar to his

$ bb --config config.json movies sync
Bazarr API is healthy.
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) }

my config.json looks like

{
  "host": "192.168.1.2",
  "protocol": "http",
  "port": "6767",
  "apiKey": "xxx"
}

Something that might be relevant is that the base URL of Bazarr is not /, but bazarr/.
Meaning that my Bazarr is reached under http://192.168.1.2:6767/bazarr/
And the API under http://192.168.1.2:6767/bazarr/api/

Thanks in advance!

from bazarr-bulk.

Related Issues (10)

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.