Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-28-2011, 06:22 PM   #1
random43743
Member
random43743 began at the beginning.
 
random43743's Avatar
 
Posts: 13
Karma: 10
Join Date: Oct 2010
Location: Germany
Device: kindle PW + kindle 3
Question Troubles w/ Content Server

Hi,

I am having trouble getting the content server to run. It might be caused by the new update (0.7.43), but since i just started to try this feature i am not sure.

The log states:
Code:
[29/Jan/2011:00:04:48] ENGINE Bus STARTING
[29/Jan/2011:00:04:48] ENGINE Started monitor thread '_TimeoutMonitor'.
[29/Jan/2011:00:04:49] ENGINE Serving on 0.0.0.0:8080
[29/Jan/2011:00:04:49] ENGINE Bus STARTED
[29/Jan/2011:00:05:14] HTTP Traceback (most recent call last):
  File "site-packages\cherrypy\_cprequest.py", line 606, in respond
  File "site-packages\cherrypy\_cpdispatch.py", line 25, in __call__
  File "site-packages\calibre\library\server\utils.py", line 51, in do
  File "site-packages\calibre\library\server\content.py", line 138, in index
  File "site-packages\calibre\library\server\browse.py", line 202, in do
  File "site-packages\calibre\library\server\browse.py", line 500, in browse_catalog
  File "site-packages\calibre\library\server\browse.py", line 361, in browse_toplevel
KeyError: ':user'
Anyone else experiencing problems?
random43743 is offline   Reply With Quote
Old 01-28-2011, 07:51 PM   #2
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,176
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It is indeed a bug, triggered by having a user created category or a custom column that becomes a category. Will be fixed in the next release.
kovidgoyal is offline   Reply With Quote
Old 01-31-2011, 02:32 AM   #3
MerLock
Evangelist
MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.MerLock ought to be getting tired of karma fortunes by now.
 
Posts: 411
Karma: 1034889
Join Date: Nov 2007
Device: none
Is this related to the same problem? I'm running windows XP

I updated to the new version of calibre as well as added some custom columns:

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "site-packages\cherrypy\_cprequest.py", line 606, in respond
File "site-packages\cherrypy\_cpdispatch.py", line 25, in __call__
File "site-packages\calibre\library\server\utils.py", line 51, in do
File "site-packages\calibre\library\server\content.py", line 138, in index
File "site-packages\calibre\library\server\browse.py", line 202, in do
File "site-packages\calibre\library\server\browse.py", line 500, in browse_catalog
File "site-packages\calibre\library\server\browse.py", line 359, in browse_toplevel
KeyError: ':custom'

Never had a problem with the content server before.
MerLock is offline   Reply With Quote
Old 01-31-2011, 03:32 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by MerLock View Post
Quote:
Originally Posted by random43743 View Post
File "site-packages\calibre\library\server\browse.py", line 500, in browse_catalog
File "site-packages\calibre\library\server\browse.py", line 361, in browse_toplevel
KeyError: ':user'
Is this related to the same problem? I'm running windows XP

File "site-packages\calibre\library\server\browse.py", line 500, in browse_catalog
File "site-packages\calibre\library\server\browse.py", line 359, in browse_toplevel
KeyError: ':custom'
Yes, same error different category or custom column. Per Kovid, it will be fixed in the next release
DoctorOhh is offline   Reply With Quote
Old 01-31-2011, 04:25 PM   #5
Archon
Zealot
Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!
 
Archon's Avatar
 
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
I am getting the same message from my Mac server.

If you have an older version downgrade and wait for the fix.

Happy Monday
Archon
Archon is offline   Reply With Quote
Old 02-08-2011, 03:14 PM   #6
The QCC
Junior Member
The QCC began at the beginning.
 
The QCC's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2010
Location: Kitchener, ON Canada
Device: Augen EBA701 and Kindle Wi-Fi
Content server log

This may seem obvious to some people, but I would like to know how I clear the Content Server log.
Just deleting the entries from the log panel does not work.

There does not appear to an option to clear all entries in the UI.

Where does the log file reside on a Windows 7 computer?

Thank you.
The QCC is offline   Reply With Quote
Old 02-08-2011, 03:31 PM   #7
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,176
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's in the calibre config directory, look in preferences->miscellaneous
kovidgoyal is offline   Reply With Quote
Old 02-08-2011, 03:34 PM   #8
Archon
Zealot
Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!
 
Archon's Avatar
 
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
Go to Preferences:Miscellaneous:Open Calibre Configuration Directory

I may be wrong, but if you shut Calibre down and remove the log file it should re-create the file next time it starts up with a new file. Since I have a copy on this computer that has never had the server started on it and it does not have a log file.

If you break it you bought it though. (That's my CYA statement).

Weeeeeeeeeeeeeeee!
Archon

Dang it Kovid beat me to it.
Fastest keyboard in the west.
Archon is offline   Reply With Quote
Old 02-24-2011, 01:37 PM   #9
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
Does anybody else still have this problem?
I'm running 0.7.46 and the content server fails as described above.
I have three custom columns - a date, a 5-star, a tag. The 5-star & tag columns are also user categories.

When I export the books to a generic library (no custom columns) and run the content server from there it works as expected.
capnm is offline   Reply With Quote
Reply

Tags
content_server calibre


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal Content Server mdb139 Apple Devices 19 11-21-2011 12:40 PM
Content Server Problem Paede Calibre 13 11-29-2010 01:56 AM
Need help - content server Sydney's Mom Calibre 0 08-28-2010 04:07 PM
Content Server thibaulthalpern Calibre 5 04-28-2009 12:56 PM
Table of content troubles with HTML2LRF sahlberg Calibre 2 11-03-2008 04:23 AM


All times are GMT -4. The time now is 03:49 PM.


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