Page 1 of 1

Trouble remembering par2 location

Posted: September 12th, 2008, 7:04 pm
by endymion2k5
Hello,

Ive been on the IRC chat few times now, not that i wasnt helped i was just AFK alot and the forum seems a more viable option now. The problem is that sabnzbd keeps forgetting my par2 directory or something, ive checked a few things in advance. Im not sure wether this should be considered as a bug, i can confirm that ive had this problem for at least 0.4.0 till 0.4.3, the same counts for my OS (FreeBSD 7), reinstalled multiple times not due to this problem. Recently did an 'portupgrade -f par2cmdline' to get the latest par2 program, this did not work.

- Looked at how sabnzbd figures out where to find my par2 program, it looks in the path, my path is valid and my par2 program should be found.
- par2 program is found when i start sabnzbd, after a few days (maybe after a bad par2?) it forgets where it is, a message shows up that par2 could not be found.
- 'which par2' tells me that it is located in /usr/local/bin/par2
- PATH contains /usr/local/bin
- when using par2 manually it always said "main program missing", this is why i did an 'portupgrade -f par2cmdline', then manually worked fine again. (not sure if this is the issue after a few days)
- When par2 program seems missing, i have to shutdown sabnzbd and restart it, then it is found again.

Why should sabnzbd suddenly forget where par2 is? unrar and unzip are unscaved, wich are also in /usr/local/bin and from what ive seen from the detection code is that it is the same for par2.

What can i try for you to debug this issue further?

-- Edit [Added bit more info]

Re: Trouble remembering par2 location

Posted: September 13th, 2008, 2:58 am
by shypike
Does this coincide with when you do "apt-get upgrade" ?

Re: Trouble remembering par2 location

Posted: September 13th, 2008, 7:44 am
by endymion2k5
FreeBSD doesnt have 'apt-get' heheĀ  :P