NZB upload / "Add NZB" fails from Chrome / Downloads

Find a bug? Report it here.

NZB upload / "Add NZB" fails from Chrome / Downloads

Postby PMShodan » Sun Jun 25, 2017 1:14 pm

I just bought nzb360 but failed executing my most-used task: downloading an NZB file from nzbindex.nl and uploading it via nzb360! Only if the file is manually added in the nzb360 app itself, it does work, but not by just selecting the downloaded NZB.

Workflow:
    1, Download of .nzb file via nzbindex.nl (using the Chrome app)
    2. Selecting the just downloaded NZB directly in the Chrome app or in "Downloaded"
    3. nzb360 asks "Add NZB - Upload: 485?" (don't know why 485?)
    4. After "Yes, Upload!" the screen flashes shortly but the queue stays empty
    5. On the local SABnzbd site, an error ist listed (see below)

As mentioned, if you go directly into the app and select "add NZB" there, it does work. But simply selecting the just downloaded NZB in the Chrome app would be the simpler and preferred solution.

Code: Select all
ERROR a few seconds ago [25/Jun/2017:15:04:24] HTTP
Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 663, in respond
  File "cherrypy\_cpreqbody.pyo", line 989, in process
  File "cherrypy\_cpreqbody.pyo", line 558, in process
  File "cherrypy\_cpreqbody.pyo", line 223, in process_multipart_form_data
  File "cherrypy\_cpreqbody.pyo", line 215, in process_multipart
  File "cherrypy\_cpreqbody.pyo", line 556, in process
  File "cherrypy\_cpreqbody.pyo", line 715, in default_proc
  File "cherrypy\_cpreqbody.pyo", line 730, in read_into_file
  File "cherrypy\_cpreqbody.pyo", line 669, in read_lines_to_boundary
EOFError: Illegal end of multipart body.
ERROR a few seconds ago [25/Jun/2017:15:04:24] HTTP
Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 663, in respond
  File "cherrypy\_cpreqbody.pyo", line 989, in process
  File "cherrypy\_cpreqbody.pyo", line 558, in process
  File "cherrypy\_cpreqbody.pyo", line 223, in process_multipart_form_data
  File "cherrypy\_cpreqbody.pyo", line 215, in process_multipart
  File "cherrypy\_cpreqbody.pyo", line 556, in process
  File "cherrypy\_cpreqbody.pyo", line 715, in default_proc
  File "cherrypy\_cpreqbody.pyo", line 730, in read_into_file
  File "cherrypy\_cpreqbody.pyo", line 669, in read_lines_to_boundary
EOFError: Illegal end of multipart body.
ERROR a few seconds ago [25/Jun/2017:15:04:24] HTTP
Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 663, in respond
  File "cherrypy\_cpreqbody.pyo", line 989, in process
  File "cherrypy\_cpreqbody.pyo", line 558, in process
  File "cherrypy\_cpreqbody.pyo", line 223, in process_multipart_form_data
  File "cherrypy\_cpreqbody.pyo", line 215, in process_multipart
  File "cherrypy\_cpreqbody.pyo", line 556, in process
  File "cherrypy\_cpreqbody.pyo", line 715, in default_proc
  File "cherrypy\_cpreqbody.pyo", line 730, in read_into_file
  File "cherrypy\_cpreqbody.pyo", line 669, in read_lines_to_boundary
EOFError: Illegal end of multipart body.
ERROR a few seconds ago [25/Jun/2017:15:04:24] HTTP
Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 663, in respond
  File "cherrypy\_cpreqbody.pyo", line 989, in process
  File "cherrypy\_cpreqbody.pyo", line 558, in process
  File "cherrypy\_cpreqbody.pyo", line 223, in process_multipart_form_data
  File "cherrypy\_cpreqbody.pyo", line 215, in process_multipart
  File "cherrypy\_cpreqbody.pyo", line 556, in process
  File "cherrypy\_cpreqbody.pyo", line 715, in default_proc
  File "cherrypy\_cpreqbody.pyo", line 730, in read_into_file
  File "cherrypy\_cpreqbody.pyo", line 669, in read_lines_to_boundary
EOFError: Illegal end of multipart body.
PMShodan
 
Posts: 5
Joined: Sun Jun 25, 2017 12:49 pm

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby Kev » Sun Jun 25, 2017 1:54 pm

Thanks for the report. I will look into this today.
Developer of nzb360
User avatar
Kev
Site Admin
 
Posts: 1380
Joined: Mon Feb 24, 2014 2:29 am

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby Kev » Mon Jun 26, 2017 2:56 am

I've finally fixed this, and holy hell was that not easy. Android really needs to get their stuff together with content resolvers.

Either way, will be included in next release.

Sent from my SM-G950F using Tapatalk
Developer of nzb360
User avatar
Kev
Site Admin
 
Posts: 1380
Joined: Mon Feb 24, 2014 2:29 am

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby PMShodan » Mon Jun 26, 2017 8:28 am

Great to hear, thanks for your efforts and the extremely quick response to the problem!
Looking forward to the next release ...
PMShodan
 
Posts: 5
Joined: Sun Jun 25, 2017 12:49 pm

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby CBers » Mon Jun 26, 2017 8:45 pm

PMShodan wrote:I just bought nzb360 but failed executing my most-used task: downloading an NZB file from nzbindex.nl and uploading it via nzb360!


Sorry, probably a stupid question, but why not just send the NZB direct to sabnzbd, instead of downloading it and uploading it?
User avatar
CBers
 
Posts: 339
Joined: Sat Mar 01, 2014 9:35 am

Re: NZB upload /

Postby PMShodan » Tue Jun 27, 2017 8:09 am

CBers wrote:
PMShodan wrote:I just bought nzb360 but failed executing my most-used task: downloading an NZB file from nzbindex.nl and uploading it via nzb360!


Sorry, probably a stupid question, but why not just send the NZB direct to sabnzbd, instead of downloading it and uploading it?


Because the indexer used is not Newznab based and does not support direct interaction with SABnzbd or I want to download something without an indexer from open sites like nzbindex.nl directly on my mobile Chrome where I know currently no way to directly send the NZB to SABnzbd like it is possible on Windows with an extension. Do you know a way to send an NZB directly to SABnbd from a site like nzbindex.nl using Chrome on Android?
Last edited by PMShodan on Tue Jun 27, 2017 9:29 am, edited 1 time in total.
PMShodan
 
Posts: 5
Joined: Sun Jun 25, 2017 12:49 pm

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby PMShodan » Tue Jun 27, 2017 8:20 am

Kev wrote:I've finally fixed this, and holy hell was that not easy. Android really needs to get their stuff together with content resolvers.

Either way, will be included in next release.

Sent from my SM-G950F using Tapatalk


I'm sorry to report that in the new release, it is now more broken than it was before :o

Now a downloaded NZB cannot be uploaded at all, neither (a) from Chrome or Downloads directly, nor (b) by selecting "Add NZB" in the app itself, which was working before.

In case of (a), after selecting the downloaded NZB, nzb360 opens up and asks "Add NZB: Upload: null?" and after "Yes, Upload!" a red banner with "Error adding NZB" is shown. No error message on SABnzbd itself.

In case of (b), the same red banner "Error adding NZB" is shown.

SABnzbd is the current version 2.1.0 running on WIndows 10.
The smartphone used is a OnePlus 5 running Android 7.1.1.
The NZB is question is this one: https://nzbindex.com/download/170929928 ... 666-MB.nzb
PMShodan
 
Posts: 5
Joined: Sun Jun 25, 2017 12:49 pm

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby CBers » Tue Jun 27, 2017 10:04 pm

Possibly that particular NZB, as I couldn't upload it to NzbGet, but I was able to upload one of my previously used NZB files OK.
User avatar
CBers
 
Posts: 339
Joined: Sat Mar 01, 2014 9:35 am

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby Kev » Wed Jun 28, 2017 1:20 am

Yeah, these nzb files are formatted differently than the ones I was testing with. However, I think I have solved the problem. Will you be willing to test a sideloaded APK to confirm?
Developer of nzb360
User avatar
Kev
Site Admin
 
Posts: 1380
Joined: Mon Feb 24, 2014 2:29 am

Re: NZB upload / "Add NZB" fails from Chrome / Downloads

Postby Kev » Wed Jun 28, 2017 2:02 am

Just tested with a few others. All look good. Update has been pushed!
Developer of nzb360
User avatar
Kev
Site Admin
 
Posts: 1380
Joined: Mon Feb 24, 2014 2:29 am

Next

Return to Bug Reports