Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2016, 05:41 PM   #1
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
Red face New laptop, Fire HDX issues

I've been using Calibre for a while and I love it so much that if there's ever a need for a brand ambassador, my name should be at the top of the list. It has seen me through a Nook Simple Touch, Nook Colour and now to the Fire HDX.
In that time, I've gone through 3 laptops and seen my library grow to over 15000 items.

My present laptop is a Lenovo i7-4510U CPU @ 2.00 GHz 2.60GHz, with 8.00 GB RAM, 64 -bit operating system, x64-based processor, running Windows 10 home. At present there is 21.8 GB free on the local disk, Drive D.

Now I don't actually know what all that stuff means, but my brother gave it to me as a gift and I'm grateful. As an avid reader, the first thing I did was to export my Calibre Library (save to disk), to my external hard drive and downloaded and installed Calibre 2.50.1. I was able to read and send books to my sisters' Kindle reader and Fire 7. But my HDX has presented several issues, see the error messages below.

FIRST THIS ONE.

Failed to get children from device: hr=2147942402 facility=7 error_code=2 description: The system cannot find the file specified.


Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 503, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 216, in books
File "site-packages\calibre\devices\mtp\driver.py", line 188, in get_driveinfo
File "site-packages\calibre\devices\mtp\windows\driver.py", line 267, in filesystem_cache
WPDError: Failed to get children from device: hr=2147942402 facility=7 error_code=2 description: The system cannot find the file specified.

AND THEN THIS ONE.

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 503, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 283, in books
File "site-packages\calibre\devices\mtp\driver.py", line 306, in write_metadata_cache
File "site-packages\calibre\ebooks\metadata\book\json_codec.p y", line 126, in encode_to_file
File "json\__init__.py", line 250, in dumps
File "json\encoder.py", line 210, in encode
MemoryError

It sees my device, but claims it can't communicate with it. I'll be grateful for any help. Thanks in advance.


PS Also I've opened the Fire's internal storage using Windows Explorer, and I've noticed my books , all AZW3 are in the Documents folder, not in Books. I've read on various treads that this isn't right, but I've no idea how to fix it and I've always been able to see and read my items so far.
renzii is offline   Reply With Quote
Old 02-05-2016, 06:41 PM   #2
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
Latest error message

out of memory

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 503, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 283, in books
File "site-packages\calibre\devices\mtp\driver.py", line 306, in write_metadata_cache
File "site-packages\calibre\ebooks\metadata\book\json_codec.p y", line 126, in encode_to_file
File "tempfile.py", line 612, in write
MemoryError: out of memory

But I have 36.4 GB of free space on my Fire...
renzii is offline   Reply With Quote
Advert
Old 02-05-2016, 08:00 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,938
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
But is TEMP on disk D?

Unless you have made changes to the Standard Environment

or ADD a nee Environment variable CALIBRE_TEMP_DIR (sets the temporary directory used by calibre) with the location to use
theducks is offline   Reply With Quote
Old 02-05-2016, 09:02 PM   #4
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
Quote:
Originally Posted by theducks View Post
But is TEMP on disk D?

Unless you have made changes to the Standard Environment

or ADD a nee Environment variable CALIBRE_TEMP_DIR (sets the temporary directory used by calibre) with the location to use

As a teacher myself, I get what you mean about doing my own homework, but really, I don't understand what you've written...
renzii is offline   Reply With Quote
Old 02-05-2016, 09:10 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,938
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by renzii View Post
As a teacher myself, I get what you mean about doing my own homework, but really, I don't understand what you've written...
Calibre use the TEMP folder defined by the OS (unless you override).
That is typically on C:


Open a command prompt type
Code:
SET
you should see (somewhere in the results)
Code:
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\xyz\LOCALS~1\Temp
TMP=C:\DOCUME~1\xyz\LOCALS~1\Temp
That tells you where Windows has your TEMP and TMP set

Google setting Windows Environment variables (your OS version)
theducks is offline   Reply With Quote
Advert
Old 02-05-2016, 09:35 PM   #6
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
This?

SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\renee\AppData\Local\Temp
TMP=C:\Users\renee\AppData\Local\Temp
USERDOMAIN=RENZII
USERDOMAIN_ROAMINGPROFILE=RENZII
renzii is offline   Reply With Quote
Old 02-05-2016, 09:42 PM   #7
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
I see that Drive C is called Windows8_OS (C) and apparently has 759 GB free
renzii is offline   Reply With Quote
Old 02-05-2016, 09:52 PM   #8
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
I've found Calibre in the Program Files (x86). Am I ok so far?
renzii is offline   Reply With Quote
Old 02-05-2016, 10:26 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,938
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by renzii View Post
I've found Calibre in the Program Files (x86). Am I ok so far?
all looks Normal


Your Anti virus is (over) protecting your temp folder.

Try a temporary disable (caution: don't surf/download anything during this time)

It that works, visit you A/V provider to find out how to allow Calibre in
theducks is offline   Reply With Quote
Old 02-05-2016, 11:01 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That memory error refers to being out of RAM not hard disk space. Changing your temp directory will not affect it. The first error refers to a problem with enumerating files on the device -- I suggest you try resetting your Fire, that usually fixes this class of problems. But note that resetting your device will remove all content from it.
kovidgoyal is offline   Reply With Quote
Old 02-05-2016, 11:25 PM   #11
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
By resetting, do you mean allowing Calibre to configure it, or should I de-register it with Amazon and then start again? BTW, thank you for all the quick responses...
renzii is offline   Reply With Quote
Old 02-06-2016, 12:06 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No I mean reset the device back to factory defaults. Just google reset kindle fire to get instructions.
kovidgoyal is offline   Reply With Quote
Old 02-06-2016, 12:27 AM   #13
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
To factory reset the Fire (will erase everything)...

Settings ---> Device Options ---> Reset to Factory Defaults
AnemicOak is offline   Reply With Quote
Old 02-10-2016, 11:32 PM   #14
renzii
Librarian/Reader/Student
renzii began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Feb 2012
Location: Trinidad
Device: Kindle Fire 6th Gen
Still stuck

Quote:
Originally Posted by kovidgoyal View Post
No I mean reset the device back to factory defaults. Just google reset kindle fire to get instructions.
Thank you for all your tips, but two resets later, I'm still stuck. Is doesn't seem possible my library is now too big? I've never had any issue before...



Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 503, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 283, in books
File "site-packages\calibre\devices\mtp\driver.py", line 306, in write_metadata_cache
File "site-packages\calibre\ebooks\metadata\book\json_codec.p y", line 126, in encode_to_file
File "tempfile.py", line 613, in write
File "tempfile.py", line 523, in _check
File "tempfile.py", line 531, in rollover
MemoryError
renzii is offline   Reply With Quote
Old 02-10-2016, 11:39 PM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Switch to the 64bit version of calibre. Uninstall calibre and install it again from http://calibre-ebook.com/download_windows64
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre, device error, fire hdx, windows 10


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fire 8.9 HDX Frustrations! Tackrill Kindle Fire 1 09-27-2015 09:48 PM
Ended Fire HDX 8.9 dieterpops Flea Market 1 03-05-2015 09:08 AM
fire vs hd vs hdx crane3 Kindle Fire 3 01-22-2015 07:48 PM
Fire HDX 7 & Fire TV Bundle for $249 tubemonkey Deals and Resources (No Self-Promotion or Affiliate Links) 0 05-28-2014 02:21 AM
Better bookmarks for Fire HDX? el.jeffe58 Kindle Fire 3 02-11-2014 09:16 PM


All times are GMT -4. The time now is 10:44 PM.


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