View previous topic :: View next topic |
Author |
Message |
eugynon n00b
Joined: 15 Dec 2003 Posts: 6 Location: Bergen, Norway
|
Posted: Wed May 18, 2005 4:24 pm Post subject: nzbget error |
|
|
After updated portage-tree and whole system i got problems with nzbget.
When i try to download a file i get this error: [ERROR] Could not create file***************************
anyone got the same problem and know how to solve this?
Thanks
Terje |
|
Back to top |
|
|
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Thu May 19, 2005 5:45 pm Post subject: |
|
|
That's not a lot to go on. I'm a relentless nget user myself, and haven't used nzbget before, but...
1. Is anything logged when you get this error?
2. Do you have it configured to write the posts it sucks down to a non-existent directory or to a directory you don't have write permissions on?
3. How about running it with strace and seeing what output is generated?
...just some starters. |
|
Back to top |
|
|
er76 Tux's lil' helper
Joined: 13 Mar 2005 Posts: 86 Location: Knoxville, TN USA
|
Posted: Mon May 30, 2005 5:21 pm Post subject: |
|
|
Did any one find a solution to this problem because I am getting the same error. |
|
Back to top |
|
|
CTU-Butler n00b
Joined: 30 Oct 2003 Posts: 23 Location: Watford, England
|
Posted: Tue May 31, 2005 6:03 am Post subject: |
|
|
I get exactly the same error now. Don't think it's anything to do with the configuration because it writes the parts to the temporary directory fine, it seems to be a problem with the files being 'stuck together' so to speak. I have tried downloading to several different directories with no luck.
Tried emerging with 'debug' set but it wouldn't compile but I've used 0.2.0 before with no problem, but I had to emerge it on a different box yesterday and it's just not having it.
Anyone else? _________________ "There are things in this world that are just out of our control...sometimes we blame ourselves to try and make some kind of sense out of them." |
|
Back to top |
|
|
Karak n00b
Joined: 04 May 2005 Posts: 35 Location: Austin, TX
|
Posted: Tue May 31, 2005 7:07 am Post subject: |
|
|
I don't know about nzbget, I am assuming it's some sort of newsreader used to grab binary files from usenet in conjunction with the .nzb files you get from NewzBin... if so, you might try klibido instead... it's what I use and it works flawlessly. :> _________________ It's a shame so many perfectly good idea's have to be discarded simply because they won't work. |
|
Back to top |
|
|
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Tue May 31, 2005 2:17 pm Post subject: |
|
|
There are good reasons to use nzbget or nget over a gui binary newsreader like klibido, pan or bnr2. I love nget, and rarely have a good reason to resort to a bloated newsreader app for pulling down binaries any more. Besides, it really should work.
Try using strace to see where its derailing. I don't have much experiance with that tool, but it saved me from going insane when troubleshooting a logrotation problem I was having the other day. Also, you might try contacting the developer. The nget developer was very helpful recently to someone on the forums here.
There must be some sort of bug with the way nzbget is encoding the posts. What about downgrading the package until a new release comes out. Have there been any version changes in any of its dependancies that might be responsible?
If you can't make it work, there's always nget, which is a really nice tool. There is a patch for nget that gives it nzb support. You might look into that as an alternative to nzbget. I don't know much about the patch as I don't really use nzb, but I have read elsewhere that it works nicely. |
|
Back to top |
|
|
CTU-Butler n00b
Joined: 30 Oct 2003 Posts: 23 Location: Watford, England
|
Posted: Tue May 31, 2005 6:43 pm Post subject: |
|
|
Well changing ACCEPT_KEYWORDS="~x86" back to stable and reemerging libxml2, ncurses, uulib and nzbget seems to have worked, so I guess an upgrade in one of these is the problem. _________________ "There are things in this world that are just out of our control...sometimes we blame ourselves to try and make some kind of sense out of them." |
|
Back to top |
|
|
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Tue May 31, 2005 7:41 pm Post subject: |
|
|
CTU-Butler wrote: | Well changing ACCEPT_KEYWORDS="~x86" back to stable and reemerging libxml2, ncurses, uulib and nzbget seems to have worked, so I guess an upgrade in one of these is the problem. |
I assume you're setting that in /etc/portage/package.keywords. If not, be sure to use that config file for setting keywords for individual packages rather than adjusting the global variable to resolve conflicts like this. Just ignore me if I am being patronizing (which I probably am).... |
|
Back to top |
|
|
er76 Tux's lil' helper
Joined: 13 Mar 2005 Posts: 86 Location: Knoxville, TN USA
|
Posted: Tue May 31, 2005 10:04 pm Post subject: |
|
|
Can someone tell me what goes in the nzbget.cfg so I can create my own. |
|
Back to top |
|
|
er76 Tux's lil' helper
Joined: 13 Mar 2005 Posts: 86 Location: Knoxville, TN USA
|
Posted: Tue May 31, 2005 10:38 pm Post subject: |
|
|
I found a example of the nzbget.cfg in /usr/share/doc/nzbget-0.1.2/nzbget.cfg.example.gz.
Just uncompress it, copy it to $HOME/.nzbget/, and rename it to nzbget.cfg.
Also, it needs to edit to suit your needs. |
|
Back to top |
|
|
er76 Tux's lil' helper
Joined: 13 Mar 2005 Posts: 86 Location: Knoxville, TN USA
|
Posted: Tue May 31, 2005 10:57 pm Post subject: |
|
|
I got a new error now:
Unable to send request to nzbserver at localhost (port 6789)
Anybody seen this error before? |
|
Back to top |
|
|
CTU-Butler n00b
Joined: 30 Oct 2003 Posts: 23 Location: Watford, England
|
Posted: Thu Jun 02, 2005 8:23 am Post subject: |
|
|
mazirian wrote: | CTU-Butler wrote: | Well changing ACCEPT_KEYWORDS="~x86" back to stable and reemerging libxml2, ncurses, uulib and nzbget seems to have worked, so I guess an upgrade in one of these is the problem. |
I assume you're setting that in /etc/portage/package.keywords. If not, be sure to use that config file for setting keywords for individual packages rather than adjusting the global variable to resolve conflicts like this. Just ignore me if I am being patronizing (which I probably am).... |
Not at all, thanks for the advice These forums are the best!
er76 wrote: | I got a new error now:
Unable to send request to nzbserver at localhost (port 6789)
Anybody seen this error before? |
I'm guessing you've just moved up to nzbget 0.2? In which case nzbget by default now employs a server/client structure. To make it work like nzbget 0.1.2 and previous, use
Code: | nzbget -n <name of nzb here> |
_________________ "There are things in this world that are just out of our control...sometimes we blame ourselves to try and make some kind of sense out of them." |
|
Back to top |
|
|
er76 Tux's lil' helper
Joined: 13 Mar 2005 Posts: 86 Location: Knoxville, TN USA
|
Posted: Sat Jun 04, 2005 4:11 pm Post subject: |
|
|
Thanks that worked.
I tried downloading a mp3, but at the end, it said it could not create the file. I found the tmp files, there were segmented with numbers for file extensions. I tried using cat to put them together, did not work. |
|
Back to top |
|
|
jongust n00b
Joined: 13 Jun 2005 Posts: 47
|
Posted: Mon Jun 13, 2005 6:09 am Post subject: I hope this helps |
|
|
I believe that was happening to me also.....what i did was to make sure the full path was set......ex:
<option name="destinationdir">/home/speedy/download</option> <!-- destination-directory to$downloaded files -->
good luck er76! |
|
Back to top |
|
|
Ziphon42 n00b
Joined: 18 Mar 2004 Posts: 12
|
Posted: Sat Jul 23, 2005 3:38 am Post subject: |
|
|
Just in case anyone is trying to find the answer, when I set
Code: | <option name="appendpostnametodir">no</option> |
I solved my cannot create file problems....
hopes this helps |
|
Back to top |
|
|
FerGeCo n00b
Joined: 09 Jan 2005 Posts: 9
|
Posted: Tue Aug 09, 2005 3:18 pm Post subject: |
|
|
Ziphon42 wrote: | Just in case anyone is trying to find the answer, when I set
Code: | <option name="appendpostnametodir">no</option> |
I solved my cannot create file problems....
hopes this helps |
This worked for me!
Thanxz (: |
|
Back to top |
|
|
beltazore Apprentice
Joined: 30 Oct 2003 Posts: 174 Location: Norway
|
Posted: Sat Aug 13, 2005 3:43 pm Post subject: |
|
|
Ziphon42 wrote: | Just in case anyone is trying to find the answer, when I set
Code: | <option name="appendpostnametodir">no</option> |
I solved my cannot create file problems....
hopes this helps |
This worked for me too! |
|
Back to top |
|
|
tld Veteran
Joined: 09 Dec 2003 Posts: 1816
|
Posted: Tue Aug 23, 2005 8:29 pm Post subject: |
|
|
For anyone interested, through testing and looking at the code, here's an explanation of how nzbget is using that appendpostnametodir option. I actually wanted to be able to specify directories for different downloads and the way this functions is a bit confusing. Here's what will happen with the appendpostnametodir on:
As the example cfg file mentions, if the nzb file is named in the format msgid_12345_postname.nzb, a directory called postname will be created under the destination directory ("destinationdir" option or your -d command line option) and the finished files will be put there.
If the nzb file is NOT named in that format (and here's where it gets a bit unintuitive) it attempts to create a directory using the exact name of the nzb file in the directory from which nzbget was run...not your specified destinationdir. In server mode, that's the directory from which you started the server. If your not in server mode (the -n option) it's the directory you're in.
So obviously, if you're in the directory with the nzb file (as is usually the case), it's trying to create a directory with the same name as the nzb file.
I plan on running it in server mode and renaming the nzb files before queuing them up to get the directory name I want...but I'll start the server from the destinationdir directory in case I forget or screwup the name.
Tom |
|
Back to top |
|
|
MilkSjeik n00b
Joined: 17 Apr 2005 Posts: 66 Location: Belgium
|
Posted: Fri Feb 23, 2007 7:54 pm Post subject: |
|
|
Ziphon42 wrote: | Just in case anyone is trying to find the answer, when I set
Code: | <option name="appendpostnametodir">no</option> |
I solved my cannot create file problems....
hopes this helps |
Helped me to... most easy option |
|
Back to top |
|
|
PraetorX n00b
Joined: 01 Jan 2004 Posts: 13
|
Posted: Thu Mar 01, 2007 7:18 pm Post subject: |
|
|
This is why I love fgo! I've been beating my head over this for the past few weeks and finally decided to do a search. Ziphon's post solved my issues. |
|
Back to top |
|
|
|