Quote:
Originally Posted by chaley
Random thought: the error is almost always "max recursion exceeded" when fetching the list of "keys" for a "dictionary" (a type of array indexed by words instead of numbers). One way I can imagine this happening is that calibre is running out of memory and therefore unable to dynamically allocate memory to the "stack". Do you have a lot of memory on this computer? If not, do you have a rather large virtual memory paging file? I have 8GB of memory. My paging file size is controlled by Windows, and is currently 1.2 GB.
One error in the log looked like it happened during translation, when the template formatter was returning an error message. Do the errors go away if you run calibre in English? I tried running in German and everything worked.
|
Hello Chaley,
Thanks for looking to my problem. Sorry for come back so late. I though I have some time this morning, but was interrupted after I did a new source update and first tests. I have 8 GB memory on this computer too and page file (managed by windows) is 1.25GB. My actual usage in memory is about 2.8 to 3.8 GB
I had this morning two different experiences with calibre:
I download the new source updates this morning at 10:30 and see that all custom columns are now ok except column "Virtuelle Bibliothek" {0:'virtual_libraries()'}, where only the first book in the list is shown correctly and all other books have a template error with "recursion maximum depth exceeded while calling a Python object" and sometimes "This function can be used only in GUI mode" (what I did actual)
When I run the same in debug mode the custom columns have errors again and was not able to switch back to the first status with only column "Virtuelle Bibliothek" errors but sometimes some books have correct filled custom columns and a lot not.
I switch the language between German and English and it seems that with english it is a bit better (but do not count on it, I start calibre 3 times with 3 different results for custom columns.
I too believe this is a memory problem and I vaguely remember, that there was something similar in the past. Maybe I can remember myself some when later