![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2018
Device: Kindle
|
No free space on device - IOError Errno 28]
Hi guys, I try to convert a book into mobi, but somehow it stops after few min.
My setup is a Ubuntu Mate on USB stick and my library is located on an external drive. I do not know why it claims there might be no space. I have plenty. Might this be related to tmp or other working dirs? Code:
calibre 3.7 embedded-python: False is64bit: True Linux-4.16.3-041603-generic-x86_64-with-Ubuntu-17.10-artful Linux ('64bit', '') ('Linux', '4.16.3-041603-generic', '#201804190730 SMP Thu Apr 19 07:32:02 UTC 2018') Python 2.7.14 Linux: ('Ubuntu', '17.10', 'artful') Interface language: de Traceback (most recent call last): File "/usr/lib/calibre/calibre/gui2/actions/convert.py", line 157, in convert_ebook self.do_convert(book_ids, bulk=bulk) File "/usr/lib/calibre/calibre/gui2/actions/convert.py", line 174, in do_convert self.gui.library_view.model().db, book_ids, out_format=prefs['output_format']) File "/usr/lib/calibre/calibre/gui2/tools.py", line 60, in convert_single_ebook index_is_id=True) File "/usr/lib/calibre/calibre/db/legacy.py", line 346, in copy_format_to return self.new_api.copy_format_to(book_id, fmt, dest, use_hardlink=use_hardlink) File "/usr/lib/calibre/calibre/db/cache.py", line 62, in call_func_with_lock return func(*args, **kwargs) File "/usr/lib/calibre/calibre/db/cache.py", line 739, in copy_format_to use_hardlink=use_hardlink, report_file_size=report_file_size) File "/usr/lib/calibre/calibre/db/backend.py", line 1453, in copy_format_to shutil.copyfileobj(f, dest) File "/usr/lib/python2.7/shutil.py", line 66, in copyfileobj fdst.write(buf) IOError: [Errno 28] Auf dem Gerät ist kein Speicherplatz mehr verfügbar |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, conversion copies files out of the library to /tmp and uses /tmp for various intermediate data.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2018
Device: Kindle
|
Understood. In my case, I have created a tmpfs on tmp to decrease the wear of my USB stick. Which also explains the limited amount of space.
Is there a possibility to override these "intermediate workding dirs"? In this case I could move these folders onto the hard drive which has plenty of free space. |
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,600
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2018
Device: Kindle
|
In the guide you mention I can find only win and osx. And I guess these env variables exist only on windows. How could I possibly change them in Ubuntu?
Thank you in advance! |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
google how to set environment variables in ubuntu
|
![]() |
![]() |
![]() |
Tags |
convert, errno 28, memory stick, mobi, ubuntu |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Help Needed] Calibre IOError: [Errno 13] | Kyrylys | Calibre | 3 | 08-13-2017 05:28 PM |
Ubuntu & Kindle 3: errno 28 no space left on device | CromoX | Calibre | 1 | 09-15-2011 07:42 PM |
IOError: [Errno 22] Invalid argument | jkcoder | Calibre | 5 | 09-25-2010 09:28 AM |
IOError: [Errno 13] Permission denied | s3ntient | Calibre | 3 | 02-20-2010 02:01 PM |
IOError errno 5? | codemac | Calibre | 11 | 10-22-2009 02:36 PM |