Failure in tempfile.mkstemp

Support for the Debian/Ubuntu package, created by JCFP.

Failure in tempfile.mkstemp

Postby fr3sh » March 13th, 2012, 6:50 pm

Hi

I have error while Im try download anything. I reinstall Fedora several times and always the same result. The configuration are ok. I try diffrent storages no luck. I use live fedora on USB and USB HDD where files are downloading. Here are logs:

2012-03-13 23:37:18,820 ERROR: Failure in tempfile.mkstemp


2012-03-13 23:36:48,667::ERROR::[__init__:759] Failure in tempfile.mkstemp
2012-03-13 23:36:56,295::INFO::[__init__:760] Traceback:
Traceback (most recent call last):
File "/usr/share/SABnzbd/sabnzbd/__init__.py", line 753, in get_new_id
fd, path = tempfile.mkstemp('', 'SABnzbd_%s_' % prefix, folder)
File "/usr/lib/python2.7/tempfile.py", line 293, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python2.7/tempfile.py", line 228, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 5] Input/output error: '/media/Nowy/usenet/in/******
PRiORiTY/__ADMIN__/SABnzbd_article_6xs7fg'
2012-03-13 23:36:56,485::ERROR::[__init__:759] Failure in tempfile.mkstemp
2012-03-13 23:36:56,485::INFO::[__init__:760] Traceback:
Traceback (most recent call last):
File "/usr/share/SABnzbd/sabnzbd/__init__.py", line 753, in get_new_id
fd, path = tempfile.mkstemp('', 'SABnzbd_%s_' % prefix, folder)
File "/usr/lib/python2.7/tempfile.py", line 293, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python2.7/tempfile.py", line 228, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 5] Input/output error: '/media/Nowy/usenet/in/*******
PRiORiTY/__ADMIN__/SABnzbd_article_7hfosa'
fr3sh
Newbie
Newbie
 
Posts: 3
Joined: March 13th, 2012, 6:40 pm

Re: Failure in tempfile.mkstemp

Postby shypike » March 14th, 2012, 6:57 am

It means that SABnzbd doesn't have permissions to write to
whatever folder you set as "temporary download folder".
User avatar
shypike
Administrator
Administrator
 
Posts: 16723
Joined: January 18th, 2008, 1:49 pm

Re: Failure in tempfile.mkstemp

Postby fr3sh » March 14th, 2012, 8:12 am

Ok but he download two and a half GB from 5 into the same directory and after 2,5GB give me that error.
fr3sh
Newbie
Newbie
 
Posts: 3
Joined: March 13th, 2012, 6:40 pm

Re: Failure in tempfile.mkstemp

Postby shypike » March 14th, 2012, 1:18 pm

Disk full?
User avatar
shypike
Administrator
Administrator
 
Posts: 16723
Joined: January 18th, 2008, 1:49 pm

Re: Failure in tempfile.mkstemp

Postby fr3sh » March 14th, 2012, 2:14 pm

No way. Whole disk 290GB is free. I even try another storage and the same error.
fr3sh
Newbie
Newbie
 
Posts: 3
Joined: March 13th, 2012, 6:40 pm

Re: Failure in tempfile.mkstemp

Postby roads » March 19th, 2013, 3:03 am

I have the same error and yes the disk is full but still there should be a disk full and no Failure in tempfile.mkstemp??
roads
Jr. Member
Jr. Member
 
Posts: 89
Joined: February 16th, 2010, 4:06 pm

Re: Failure in tempfile.mkstemp

Postby shypike » March 19th, 2013, 4:33 am

roads wrote:I have the same error and yes the disk is full but still there should be a disk full and no Failure in tempfile.mkstemp??


Not if you also have a permissions issue.
Besides, you should set a minimum threshold in Config->Folders.
That will avoid things like this.
User avatar
shypike
Administrator
Administrator
 
Posts: 16723
Joined: January 18th, 2008, 1:49 pm

Re: Failure in tempfile.mkstemp

Postby roads » March 19th, 2013, 5:14 am

I have "5G" there and I am not aware of a permission issue?
roads
Jr. Member
Jr. Member
 
Posts: 89
Joined: February 16th, 2010, 4:06 pm

Re: Failure in tempfile.mkstemp

Postby shypike » March 19th, 2013, 11:53 am

That doesn't look like a disk-full error, but more like a permissions error.
Unfortunately the operating system isn't sending a clear error message back to SABnzbd.
User avatar
shypike
Administrator
Administrator
 
Posts: 16723
Joined: January 18th, 2008, 1:49 pm


Return to Debian/Ubuntu Package