|  12-30-2012, 07:59 PM | #1 | 
| Groupie   Posts: 191 Karma: 134 Join Date: May 2010 Device: IREX DR1000 |  No space on temp = unknown error 
			
			Hi, yesterday I saved a lot of books on a directory of my HD. The temp dir was full and I did not recognize this fact. Calibre returned the error: Unknown error saving file ID=xxxxxx There were few ids even if the unsaved files where over 150. Is there a way to better handle this situation and have a more verbose error message ? | 
|   |   | 
|  12-31-2012, 02:12 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			No space on temp is not a common enough error for me to bother trying to special case it, patches welcome.
		 | 
|   |   | 
|  12-31-2012, 12:33 PM | #3 | 
| Groupie   Posts: 191 Karma: 134 Join Date: May 2010 Device: IREX DR1000 | 
			
			Oh, lazy programmer ! :-) Kovid, I had 3,5 GB on the temp directory. Saving 400 books has eaten them all. It is more common than you think. However I have a question: is there a way to set the temp dir inside calibre ? Actually I use the command line with: SET CALIBRE_TEMP_DIR="MyPath" and then start your program. I have still not found a way to perform this task inside calibre. PS: Happy new year ! Last edited by Giuseppe Chillem; 12-31-2012 at 12:37 PM. | 
|   |   | 
|  12-31-2012, 01:42 PM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			If you want to put your temp dir in RAM for a psychological performance gain, you have to live with the consequences. 3.5GB of temp space is not even in the same multiverse as typical amounts of temp space on personal computers.
		 | 
|   |   | 
|  01-01-2013, 01:03 PM | #5 | 
| Groupie   Posts: 191 Karma: 134 Join Date: May 2010 Device: IREX DR1000 | 
			
			Kovid, it is the space available on my "C" partition ;-) However you have not answered my other question... | 
|   |   | 
|  01-01-2013, 01:11 PM | #6 | 
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			is "MyPath" a placeholder for posting? That path needs to be fully qualified (and writable from/with your user rights) eg "c:\temp\calibre" | 
|   |   | 
|  01-01-2013, 02:51 PM | #7 | 
| Wizard            Posts: 4,812 Karma: 26912940 Join Date: Apr 2010 Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet | 
			
			3.5 gig seems dangerously little free space on any partition. (especially if it is your operating system position?) Perhaps you could free up some more? Helen | 
|   |   | 
|  01-01-2013, 04:21 PM | #8 | 
| Grand Sorcerer            Posts: 13,693 Karma: 79983758 Join Date: Nov 2007 Location: Toronto Device: Libra H2O, Libra Colour | |
|   |   | 
|  01-01-2013, 04:51 PM | #9 | 
| Wizard            Posts: 4,812 Karma: 26912940 Join Date: Apr 2010 Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet | |
|   |   | 
|  01-01-2013, 04:52 PM | #10 | 
| Omnivorous            Posts: 3,283 Karma: 27978909 Join Date: Feb 2008 Location: Rural NW Oregon Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1 | |
|   |   | 
|  01-01-2013, 05:02 PM | #11 | 
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			I had 2@ whoppers: Seagate ST251: 40MB $450 each, in a Zero Wait-state 10MHz AT clone. A smokin' fast Paradox (DOS) Database machine    | 
|   |   | 
|  01-01-2013, 07:04 PM | #12 | |
| Groupie   Posts: 191 Karma: 134 Join Date: May 2010 Device: IREX DR1000 | Quote: 
 Actually from the command line a enter SET CALIBRE_TEMP_DIR=Z:\_CalibreTemp\ And then start calibre Is there a way to do this from the inside of calibre to set it automatically at startup ? | |
|   |   | 
|  01-01-2013, 07:05 PM | #13 | 
| Groupie   Posts: 191 Karma: 134 Join Date: May 2010 Device: IREX DR1000 | |
|   |   | 
|  01-01-2013, 07:19 PM | #14 | 
| Omnivorous            Posts: 3,283 Karma: 27978909 Join Date: Feb 2008 Location: Rural NW Oregon Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1 | 
			
			How large is your hard drive (15GB is a darn small drive)? If 15GB is your home partition, what is the rest of the drive used for? If you have other larger partitions, why aren't you using those?
		 | 
|   |   | 
|  01-02-2013, 10:19 AM | #15 | 
| Handy Elephant            Posts: 1,737 Karma: 26785684 Join Date: Dec 2009 Location: Southern Sweden, far out in the quiet woods Device: Samsung Galaxy Tab S8 Ultra | 
			
			Most likely not. But why not set that variable automatically during OS startup? That is the normal way to handle this. I assume that there is some functionality in Windows for this purpose? I guess that you are using some version of Windows?
		 Last edited by Adoby; 01-02-2013 at 10:24 AM. | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Space Captain Smith of the British Space Empire | Kacetwo | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 07-02-2012 03:41 AM | 
| ERROR: Could not open ebook: Unknown book type | wooboo | Conversion | 0 | 05-06-2012 08:55 PM | 
| Template error value:unknown field null | sfuller | Calibre | 4 | 06-13-2011 03:02 PM | 
| Newbie question for Calibre: "Unknown Book Type" error | rvdparis | Calibre | 8 | 04-28-2009 04:20 AM |