Getting .cbr.rar files instead of .cbr

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
AtariBaby
Jr. Member
Jr. Member
Posts: 73
Joined: November 25th, 2011, 5:10 pm

Getting .cbr.rar files instead of .cbr

Post by AtariBaby »

Latest stable version of Sab
Fully updated Windows 10 Pro
Mylar>>Nzbhydra>>dognzb>>eweka>>windows 10 pc

For about 2 weeks, my automated setup is supposed to download cbr files but has been downloading files as .cbr.rar from dognzb only. Other cbr files have come in fine from other indexers. The only recent event that may have introduced a change was the most recent update. Otherwise I don’t think anything has changed.

Mylar devs cannot reproduce. Not sure what the cause is. Any ideas? Want logs?Image
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Getting .cbr.rar files instead of .cbr

Post by sander »

Technically a .cbr is a .rar file, so it is a kind-of correct behaviour of deobfuscation.

Having said that: I'll fix this in SABnzbd by making ".cbr" a known extension that needs no extension-fixing.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Getting .cbr.rar files instead of .cbr

Post by sander »

Solved: https://github.com/sabnzbd/sabnzbd/pull/1959

Will appear in SAB 3.4.2, ETA this week
AtariBaby
Jr. Member
Jr. Member
Posts: 73
Joined: November 25th, 2011, 5:10 pm

Re: Getting .cbr.rar files instead of .cbr

Post by AtariBaby »

Wow thank you!!! And yes I know that about cbr’s, but thank you because mylar and chunky comic reader don’t like .rar lol
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Getting .cbr.rar files instead of .cbr

Post by safihre »

You can already download the patched version (if you have a Github account) here:
https://github.com/sabnzbd/sabnzbd/acti ... 1307392210
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
AtariBaby
Jr. Member
Jr. Member
Posts: 73
Joined: November 25th, 2011, 5:10 pm

Re: Getting .cbr.rar files instead of .cbr

Post by AtariBaby »

Guys, may I make one more request, if you deem it worthy? I was telling the good news about the update on mylar’s github, and someone mentioned that the other, slightly older but still heavily used file format is .cbz. Is it difficult to add that also?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Getting .cbr.rar files instead of .cbr

Post by safihre »

It has been added :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Richard99
Newbie
Newbie
Posts: 2
Joined: October 6th, 2021, 3:26 pm

Re: Getting .cbr.rar files instead of .cbr

Post by Richard99 »

r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
AtariBaby
Jr. Member
Jr. Member
Posts: 73
Joined: November 25th, 2011, 5:10 pm

Re: Getting .cbr.rar files instead of .cbr

Post by AtariBaby »

safihre wrote: October 6th, 2021, 4:23 am It has been added :)
My heroes! I’ll test it out I guess!
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Getting .cbr.rar files instead of .cbr

Post by sander »

Richard99 wrote: October 6th, 2021, 3:30 pm r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
What is file extension "s01"? What kind of file is that?
Richard99
Newbie
Newbie
Posts: 2
Joined: October 6th, 2021, 3:26 pm

Re: Getting .cbr.rar files instead of .cbr

Post by Richard99 »

sander wrote: October 6th, 2021, 10:10 pm
Richard99 wrote: October 6th, 2021, 3:30 pm r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
What is file extension "s01"? What kind of file is that?
When a multipart .rar gets to .r99 it than goes to s00 01 02 etc then t00.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Getting .cbr.rar files instead of .cbr

Post by sander »

Richard99 wrote: October 7th, 2021, 7:09 am
sander wrote: October 6th, 2021, 10:10 pm
Richard99 wrote: October 6th, 2021, 3:30 pm r01 etc works now, but s01 02 etc t01 02 etc and so on still get .rar added.
What is file extension "s01"? What kind of file is that?
When a multipart .rar gets to .r99 it than goes to s00 01 02 etc then t00.
Ah, yes. I found this quote somewhere: "When you find a group of .rar files you are interested in, make sure that all the .r0* files exist before you start downloading them. You will need the .rar file and the .r00 through .rnn files to decompress the entire archive. If a RAR archive is split into more than 100 chunks, the file extension continues to .s00 through .s99 and then .t00 through .t99. "

So this is the old rar format, until rar 2.0? https://en.wikipedia.org/wiki/RAR_(file ... )#Versions


Anyway: I think SAB will recognize rNN, sNN and tNN as rar file now, wihtout adding .rar.
AtariBaby
Jr. Member
Jr. Member
Posts: 73
Joined: November 25th, 2011, 5:10 pm

Re: Getting .cbr.rar files instead of .cbr

Post by AtariBaby »

.cbr and .cbz Tested and working guys. Thanks!
AtariBaby
Jr. Member
Jr. Member
Posts: 73
Joined: November 25th, 2011, 5:10 pm

Re: Getting .cbr.rar files instead of .cbr

Post by AtariBaby »

Hi guys

I hope it was appropriate to add to this thread. I have discovered that cumulatively, there is still a problem. About 1 in 10 cbr/cbz files is malformed or corrupted somehow. The file will be somewhat less than full size. As a result, in a comic reader, the comic will essentially break at some point when turning pages, and result in an error message.

While there are a few apps in the system that delivers comics to me, I was thinking Sabnzbd might be the most likely culprit, after a previous update essentially made a bug out of cbr’s and cbz’s, resulting in this post and your prompt fixes. Is there anything I can provide that would help troubleshoot? It’s hard to repeat the bug, because it happens infrequently.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Getting .cbr.rar files instead of .cbr

Post by safihre »

All this bug did was change the filename, not the contents. So that can't really be related..
Integrity of the downloaded files is not specific to the type of files.
To really Debug if it's a Sab problem, you'll need to enable Debug logging in the Status window and then after it happens again click Show Logging in the same window and share the logs of the specific download.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply