Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 01-15-2016, 10:59 PM   #1
Rewarp
Member
Rewarp began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Zareason Zatab2
Can't get rid of "No space left on device"

I am running into strange issues with the Android 6.0 installation of Calibre Companion.

This time, it is because after multiple reinstallations of CC, now Calibre seems to think that there is not enough space on the device, despite me changing the storage to an external SD card on my nvidia Shield K1 tablet.

Code:
calibre, version 2.49.0
ERROR: Unhandled exception: <b>IOError</b>:[Errno 28] No space left on device

calibre 2.49  isfrozen: True is64bit: True
Linux-4.4.0-1-default-x86_64-with-SuSE-20160113-x86_64 Linux ('64bit', 'ELF')
('Linux', '4.4.0-1-default', '#1 SMP PREEMPT Mon Jan 11 14:46:34 UTC 2016 (83948c1)')
Python 2.7.9
Linux: ('openSUSE ', '20160113', 'x86_64')
Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 1262, in dispatch_sync_event
  File "site-packages/calibre/gui2/device.py", line 1464, in sync_to_device
  File "site-packages/calibre/gui2/library/models.py", line 613, in get_preferred_formats_from_ids
  File "site-packages/calibre/db/legacy.py", line 343, in copy_format_to
  File "site-packages/calibre/db/cache.py", line 57, in call_func_with_lock
  File "site-packages/calibre/db/cache.py", line 720, in copy_format_to
  File "site-packages/calibre/db/backend.py", line 1411, in copy_format_to
  File "shutil.py", line 52, in copyfileobj
IOError: [Errno 28] No space left on device
A run down of how it got to this point.

I tried to connect to my library via my own personal network, which is not connected to the Internet, resulting in CC throwing an "Unlicensed app" error. Meaning I had to uninstall and reinstall the app. Eventually, I realised I had to start CC while connected to the Internet first, before I could switch over to my own personal network.

Next, I realised belatedly that the Android setting to treat the external SD Card as part of the Internal SD Card was not working as expected, meaning the books were being loaded to the internal sd card. So I reformatted the card, and set CC to explicitly use the external storage.

Now when I connect CC to my library, despite having 0 books on my device, I am given the error stating I don't have any space left on my device.

tl;dr How can I get Calibre to work as if it were looking at a new device?
Rewarp is offline  
Old 01-16-2016, 01:13 AM   #2
Rewarp
Member
Rewarp began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Zareason Zatab2
I figured it out. For some reason, Calibre had completely filled up my /tmp folder, and it wasn't automatically cleared. This also resolves a weird mystery nearly a year ago when my computer was complaining about the diskspace being full, and I thought it was because of a btrfs issue.
Rewarp is offline  
Advert
Old 01-16-2016, 01:24 AM   #3
Rewarp
Member
Rewarp began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Zareason Zatab2
Quote:
Originally Posted by Rewarp View Post

I tried to connect to my library via my own personal network, which is not connected to the Internet, resulting in CC throwing an "Unlicensed app" error. Meaning I had to uninstall and reinstall the app. Eventually, I realised I had to start CC while connected to the Internet first, before I could switch over to my own personal network.
I would like to point out that this is a particularly annoying flaw. I am used to switching to my own private network which is not connected to the Internet for moving books between my devices. But why should a product that was clearly authenticated because I installed it directly from the Play Store suddenly lose its authentication when it is used separate from the Internet?
Rewarp is offline  
Old 01-16-2016, 01:38 AM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,258
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
For CC questions you would be best served by posting in the CC forum here.

The author has recently said he is reconsidering the licensing checks within CC and might be removing them.
PeterT is offline  
Old 01-16-2016, 05:00 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,675
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

This thread has been copied to the CC forum == >> Can't get rid of "No space left on device"

So I'm closing this one

Last edited by BetterRed; 01-16-2016 at 05:05 AM.
BetterRed is offline  
Advert
Old 01-16-2016, 06:22 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,783
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@BR: I copied it instead of moving it because the original question is about calibre, not CC. The problem would apply to any device.
chaley is offline  
Closed Thread

Tags
calibre companion, wireless connection


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get rid off "left-justified" text SMR Kindle Developer's Corner 3 03-01-2012 01:14 AM
epub "padding left" to mobi "block quote" conversion issue 1611mac Conversion 3 01-11-2012 02:10 PM
Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" therealjoeblow Calibre 15 07-25-2011 03:14 PM
SONY pocket edition: "Device locked" + "charge battery" obstacles? hermes Devices 3 06-02-2011 03:32 AM
"28, No space left on device" - memory card, unable to fill it! jrr Calibre 4 11-11-2010 04:47 PM


All times are GMT -4. The time now is 12:39 PM.


MobileRead.com is a privately owned, operated and funded community.