Jackett: [AlphaRatio] Result is counted but not printed

Created on 9 Mar 2019  路  12Comments  路  Source: Jackett/Jackett

This doesn't always happen apparently, but in this particular case it did. It correctly says:

Your search was done using: AlphaRatio (1) ,

so it seems that it's found 1 result, but then no result is shown below:

No matching records found

and also:

Showing 0 to 0 of 0 entries (filtered from 1 total entries)

I obviously have no filter set. To reproduce search for "loro ithd" without quotes.

All 12 comments

I'm thinking the problem might be related to the fact the torrent was just uploaded a few hours before and thus had the extra html that made the number of seeds a red zero.

ar_red_seeds

Can confirm that red zero is the cause of the problem. It doesn't happen anymore with the previous torrent because its stats have since updated, but it happens with the newest torrents that have that red zero.

please provide the full enhanced log file.

  1. scroll down to the bottom of the Jackett Dashboard and tick the enhanced Logging checkbox
  2. scroll up a bit and click on the apply server settings button
  3. repeat the test
  4. find the log.txt file (linux ~/.config/Jackett/, windows %ProgramData%\Jackett)
  5. edit it with a plain text editor, redacting any personal details, usernames, passwords, passkeys, hashes etc.
  6. save, then drag-drop it here for us to take a look at.
    Thanks.

addendum: the AlphaRatio uses the gazelle engine. I don't know how to change the native jackett c# indexer to handle the difference in the selector that you have discovered, so I am going to pass this ticket on to the more experienced devs.

@garfield69 There's almost always a torrent with a red zero among the newest torrents, so this should be fairly easy to reproduce at any given time. In case a full log is absolutely necessary I'll gladly provide it. :)

nah. I don't have a login for alpharatio.
If you send an invite to garfieldsixtynine @ gmail.com I will certainly investigate.

But doing a little research into the jackett gazelle engine, it does not process the sites html, it uses the site's provided API which returns json.
If you cannot provide an invite, then if you want to experiment in providing the required data, you could try the following:

  1. from a browser login to alpharatio.
  2. paste the following url: https://alpharatio.cc/ajax.php?action=browse&order_by=time&order_way=desc
  3. paste the json response here so I can take a look.

If it is a large text dump maybe use pastebin or some such, or put in in a plain text file and drag/drop it here.

@garfield69 Here it is (had to rename it to .txt) :)

ajax.txt

excellent.
so the data you posted shows what you would get when you do a regular blank-search, and the result you provided does not show any obvious anomalous data.

so the next time you spot the issue, login to alpharatio, and use:
https://alpharatio.cc/ajax.php?action=browse&order_by=time&order_way=desc&searchstr=something

replacing something with whatever you searched for.
if something has dots or banks replace them with a + or if that does not work then use %20 instead.

then post the data here again, along with the title that has the red seeders, and I will compare that with the base json you gave me before.

@garfield69 Ok so searching for "desus and mero" via Jackett (and on AlphaRatio only) yields 12 results, but Jackett only prints 9 of them. This is the related response:

ajax2.txt

where, in fact, exactly 3 torrents have 0 seeders. So I'm figuring maybe it's not about the zeros being red (since you pointed out the parsing is done via API, not HTML), but maybe the gazelle handler automatically excluding results with 0 seeders?

well if it does I cant see it in the gazelle code. the seeders code just grabs the value and assigns it to the element release.Seeders = (int)torrent["seeders"];

that's the problem with not being able to generate the test myself, I cant put traces on the run and track the code flow. :-(

is there anything in the enhanced log that shows 3 exceptions being generated?

this looks like it's working as intended. You probably disabled the "show dead torrents" button on the manual search page.

@kaso17 That was it! Never noticed that button before... Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Corjaantje picture Corjaantje  路  3Comments

whitesnakeftw picture whitesnakeftw  路  3Comments

RoloSoze picture RoloSoze  路  4Comments

savahu picture savahu  路  4Comments

STX2k picture STX2k  路  3Comments