nzb-files not being monitored?

Get help, report and discuss bugs.
void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 03:04

Hello,

I installed latest build from github releases page on Windows. I imported my settings from Linux, as I planned to relocate my NZBget server to my windows box. I did simple export/import settings from web UI.

I copied 57 nzb files into my ${MainDir}/nzb-get directory in a 'Series' subdirectory and it is not picking them up. I even clicked Add and then clicked Scan, but it still doesn't do anything. I checked the logs but it doesn't mention anything. Any reason why this isn't working? What can I do to diagnose the problem?

void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

Re: nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 03:35

Another oddity is that nzbget keeps crashing with these logs:

Code: Select all

Sun Mar 20 22:33:00 2016	ERROR	Could not find file E:\nzbget\tmp\20.029 for Arrow.S04E15.1080p.HDTV.X264-DIMENSION.nzb.2\303416.r09 [29/66]
Sun Mar 20 22:33:00 2016	ERROR	Could not find file (null) for Arrow.S04E15.1080p.HDTV.X264-DIMENSION.nzb.2\303416.r09 [66/66]
Sun Mar 20 22:33:00 2016	ERROR	Unhandled Exception: code: 0xC0000005, flags: 0, address: 0x008845E0
I shortened the logs a bit. I look in my E:\nzbget\tmp directory and it's completely empty. Maybe nzbget is having trouble reading from the main directory, for whatever reason. Any thoughts?

void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

Re: nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 03:49

I'm attaching logs from a debug build of nzbget. Hope it helps, I didn't see anything helpful in it.
Last edited by void.pointer on 21 Mar 2016, 22:54, edited 1 time in total.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzb-files not being monitored?

Post by hugbug » 21 Mar 2016, 08:46

void.pointer wrote:I copied 57 nzb files into my ${MainDir}/nzb-get directory in a 'Series' subdirectory and it is not picking them up.
Most likely the directory where you put the files isn't the directory monitored by NZBGet. In web-interface open URL http://ip:port:/jsonrpc/config and check "NzbDir".
void.pointer wrote:ERROR Could not find file E:\nzbget\tmp\20.029 for Arrow.S04E15.1080p.HDTV.X264-DIMENSION.nzb.2\303416.r09 [29/66]
Please install v16.4 (over your existing installation) and test there.

void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

Re: nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 12:04

hugbug wrote:
void.pointer wrote:I copied 57 nzb files into my ${MainDir}/nzb-get directory in a 'Series' subdirectory and it is not picking them up.
Most likely the directory where you put the files isn't the directory monitored by NZBGet. In web-interface open URL http://ip:port:/jsonrpc/config and check "NzbDir".
void.pointer wrote:ERROR Could not find file E:\nzbget\tmp\20.029 for Arrow.S04E15.1080p.HDTV.X264-DIMENSION.nzb.2\303416.r09 [29/66]
Please install v16.4 (over your existing installation) and test there.
Configuration is correct. I attached my conf file for you so you can see for yourself. Also I did the same test with 16.4 (debug build) and same results.
Attachments
nzbget.conf.txt
(74.79 KiB) Downloaded 177 times
Last edited by void.pointer on 21 Mar 2016, 22:55, edited 1 time in total.

void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

Re: nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 12:09

I attached Visual Studio to the process after the debug assertion dialog came up. Same call stack every time, you'd indexing out of bounds of a std::vector.

Code: Select all

 	nzbget.exe!std::vector<__int64,std::allocator<__int64> >::operator[](unsigned int _Pos=9) Line 1232	C++
 	nzbget.exe!ServerVolume::AddData(int bytes=155) Line 85	C++
 	nzbget.exe!StatMeter::AddServerData(int bytes=155, int serverId=1) Line 412	C++
 	nzbget.exe!ArticleDownloader::AddServerData() Line 675	C++
 	nzbget.exe!ArticleDownloader::Download() Line 349	C++
 	nzbget.exe!ArticleDownloader::Run() Line 146	C++
 	nzbget.exe!Thread::thread_handler(void * object=0x01330328) Line 168	C++
 	nzbget.exe!invoke_thread_procedure(void(*)(void *) procedure=0x00b68f75, void * const context=0x01330328) Line 82	C++
 	nzbget.exe!thread_start<void (__cdecl*)(void *)>(void * const parameter=0x0132d100) Line 115	C++

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzb-files not being monitored?

Post by hugbug » 21 Mar 2016, 12:44

void.pointer wrote: indexing out of bounds of a std::vector.
Thanks. That's fixed in develop.
void.pointer wrote:Configuration is correct. I attached my conf file for you so you can see for yourself. Also I did the same test with 16.4 (debug build) and same results.
With "same results" you mean errors like "ERROR Could not find file E:\nzbget\tmp\20.029 for Arrow.S04E15.1080p.HDTV.X264-DIMENSION.nzb.2\303416.r09 [29/66]" or that files from NzbDir aren't added to queue?

void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

Re: nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 15:48

hugbug wrote: Thanks. That's fixed in develop.
Nice. I assume this means the fix is not in the latest setup.exe available on github. Any idea when you plan to release one? At the moment I am not able to build nzbget on Windows. The vcxproj is completely broken, there is no SLN file, and it can't find paths to openssl, regex.h (which isn't even available on windows?), etc.
hugbug wrote: With "same results" you mean errors like "ERROR Could not find file E:\nzbget\tmp\20.029 for Arrow.S04E15.1080p.HDTV.X264-DIMENSION.nzb.2\303416.r09 [29/66]" or that files from NzbDir aren't added to queue?
Sorry to confuse you. Ultimately I'm talking about 2 different symptoms. In this case, "same results" means it crashes the same way with the same call stack.

The issue of nzb-files not being read may or may not be due to the same root cause, I'm not sure. There are absolutely no logs (even in debug build) regarding the nzb-files issue. I'm not able to diagnose the problem myself. Now that the crash is fixed, and doesn't seem to be related, do you have any idea about the nzb-files issue? Let me know what info I can provide for you. Note however I can't run nzbget until the crash is fixed.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzb-files not being monitored?

Post by hugbug » 21 Mar 2016, 16:11

void.pointer wrote:The vcxproj is completely broken, there is no SLN file, and it can't find paths to openssl, regex.h (which isn't even available on windows?), etc.
vcxproj is fine, the official installer is built from this project file. Sln isn't needed since it doesn't contain any valuable data to justify including in the repository. See Installation-on-Windows#compiling for the links for required libraries. Download libraries, then setup search paths for libraries and includes in the project settings.
void.pointer wrote:I can't run nzbget until the crash is fixed.
Just use 16.4. Once everything is sorted out consider updating to 17.0-testing.
E:\nzbget\tmp\20.029
This filename means the option DirectWrite is disabled but it's active in the config-file you've posted. Looks like you've posted a wrong config-file. Check which config-file is really used. One of the first lines in http://ip:port:/jsonrpc/config contains the path to current config-file.

void.pointer
Posts: 60
Joined: 28 Sep 2014, 20:58

Re: nzb-files not being monitored?

Post by void.pointer » 21 Mar 2016, 20:39

What I'm telling you is the crash still happens in 16.4. This is what I meant when I said "the result is the same".

Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests