06-30-2013, 07:37 AM | #1 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
Problems connecting two libraries
Hello,
lately i can't connect my two libraries in order to transfer some books. The little orders icon is working for hours till I get the following error message: Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 85, in run File "site-packages\calibre\gui2\device.py", line 476, in _books File "site-packages\calibre\devices\usbms\driver.py", line 246, in books File "site-packages\calibre\devices\usbms\driver.py", line 391, in sync_booklists File "site-packages\calibre\devices\usbms\driver.py", line 390, in write_prefix File "site-packages\calibre\ebooks\metadata\book\json_codec.p y", line 123, in encode_to_file File "json\__init__.py", line 250, in dumps File "json\encoder.py", line 209, in encode MemoryError Last week it still worked fine What to do? |
06-30-2013, 09:10 AM | #2 |
Well trained by Cats
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I think you ran out of memory (the last line).
The question: Why? Is this a Flash drive? You do know that keeping (using) a Library on a Network drive is unreliable (an not supported)? |
06-30-2013, 09:12 AM | #3 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to transfer books between libraries you dont use connect to folder, you use copy to library.
|
07-02-2013, 07:33 AM | #4 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
Quote:
Hi, before I can copy to library, I have to connect the two libraries. And this seems to be impossible now. Maybe the database is too big? Bevore this was no problem at all: open my new library, connect it to my complete library and then copy the books from the new library to the complete library. But now I can't connect my new library to the complete one. After an our I get either a error message or the whole program crashes. And an other bad thing is I can't stop this order because it's machine oriented (soory I am using the german version so I have problems to find the right english names. Anyway, its a phantastic program and I thank you very much for it. |
|
07-02-2013, 07:35 AM | #5 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
Quote:
I was also wonderin about this memory error. |
|
07-02-2013, 08:00 AM | #6 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error comes from trying to connect to a folder as a device, it has nothing to do with libraries. You are either manually trying to conenct to a folder or you have set the auto connect to folder tweak under Preferences->Tweaks.
|
07-02-2013, 10:29 AM | #7 | |
Guru
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
Quote:
Both of these libraries have to be real calibre libraries with a metadata.db file in their parent folder. (These libraries cannot be just a set of files you placed somewhere on your hard drive.) Then you load (Quick Switch) the library that you want to copy from. Highlight all of the books you want to copy and right click on any highlighted book. A context menu appears and you select Copy to Library and the appropriate library name you want to copy to. Calibre will spend some time copying the files over and you should be set. Please note that under the Add Books toolbar button there is an option on how to treat newly added books that are duplicates. You should set this as you want before adding books. You might also want to review your Add Books template in Preferences. A good template can save you lots of time correcting data that is based on the filename. |
|
07-04-2013, 07:45 AM | #8 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
Oh, I did not know that you can transfer books without connecting the libraries. It works and it solves this problem. Normally I add books to the new library, fix all the metadata and then transfer them to my complete library. so I won't need this Add Books Template (?)
|
07-04-2013, 07:50 AM | #9 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
I always connected to the folder where my other library sits and it worked (until now).
How do I get the auto connect folder tweak? I don't have it. This should be my answer to Kovid ;-) |
07-04-2013, 07:53 AM | #10 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
|
07-04-2013, 08:29 AM | #11 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
What version of calibre are you running? You should have the tweak. Preferences - Tweaks and find this tweak. The tweak has been around a long time. If you don't have it you are running an ancient version of calibre.
Quote:
Last edited by DoctorOhh; 07-04-2013 at 08:34 AM. |
|
07-05-2013, 07:31 AM | #12 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Aug 2011
Device: kindle
|
I just updated to Calibre 0.9.38
When I tried to open the Tweaks I got the following error message: Traceback (most recent call last): File "site-packages\calibre\gui2\preferences\main.py", line 282, in show_plugin File "site-packages\calibre\customize\__init__.py", line 636, in create_widget File "importlib\__init__.py", line 37, in import_module File "site.py", line 66, in load_module ZipImportError: can't find module calibre.gui2.preferences.tweaks Update: After restarting the computer there was no more error and I found the tweak. auto_connect_to_folder = '' I guess that my problems are solved and I thank you all for your help. Last edited by Poldi; 07-05-2013 at 07:40 AM. |
07-05-2013, 07:39 AM | #13 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have a corrupted install, uninstall and re-install and you should be fine.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Connecting to wifi problems | pamay | Amazon Kindle | 2 | 10-10-2012 11:15 PM |
Problems connecting to Wi-Fi | Zardis | enTourage Archive | 7 | 05-17-2011 07:11 PM |
Problems Connecting to Whispernet | bookman | Amazon Kindle | 3 | 02-14-2009 07:55 PM |
Problems connecting wifi | DeGodefroi | iRex | 3 | 04-16-2008 10:07 AM |
Problems connecting to iDS | harryo | iRex | 3 | 08-11-2006 10:47 AM |