![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run the server as
calibre-server --develop That should tell you which request is causing the crash |
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2011
Device: kindle
|
Re-loaded the server with Fedora 15.
I installed the repo version of Calibre. This time the iPhone will never even get the login prompt, it just spins. If I hit the mobile site from my PC's browser while the iPhone hits it, it will crash. It gives the same error: Code:
calibre-server --auto-reload --with-library /home/calibre --pidfile /var/run/calibre-server.pid --port 80 --max-cover 600x800 --username calibre --password eB00k$ --develop [08/Dec/2011:08:47:27] ENGINE Bus STARTING CherryPy Checker: The config entry 'server.shutdown_timeout' in section 'server.shutdown_timeout' is of type 'float', which does not match the expected type 'int'. [08/Dec/2011:08:47:27] ENGINE PID 17549 written to u'/var/run/calibre-server.pid'. [08/Dec/2011:08:47:27] ENGINE Started monitor thread '_TimeoutMonitor'. [08/Dec/2011:08:47:27] ENGINE Started monitor thread 'Autoreloader'. [08/Dec/2011:08:47:27] ENGINE Serving on 0.0.0.0:80 [08/Dec/2011:08:47:28] ENGINE Bus STARTED FunctionFunction mobile_css called with args: () {} Time: mobile_css 0.000231981277466 71.91.170.132 - calibre [08/Dec/2011:08:47:35] "GET /mobile/style.css HTTP/1.1" 200 1758 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4779'} Time: get 0.110754966736 71.91.170.132 - calibre [08/Dec/2011:08:47:35] "GET /get/thumb/4779 HTTP/1.1" 200 1828 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4768'} Time: get 0.171000003815 71.91.170.132 - calibre [08/Dec/2011:08:47:35] "GET /get/thumb/4768 HTTP/1.1" 200 1483 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" get called with args: () {'what': u'thumb', 'id': u'4772'} Time: get 0.341555833817 71.91.170.132 - calibre [08/Dec/2011:08:47:35] "GET /get/thumb/4772 HTTP/1.1" 200 1595 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4773'} Time: get 0.0681707859039 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/4773 HTTP/1.1" 200 1567 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4784'} Time: get 0.0529968738556 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/4784 HTTP/1.1" 200 1834 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4771'} Time: get 0.0889151096344 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/4771 HTTP/1.1" 200 1638 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'88'} Time: get 0.0835309028625 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/88 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'85'} Time: get 0.075366973877 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/85 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: Function get called with args: () {'what': u'thumb', 'id': u'80'} Time: get 0.0849969387054 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/80 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4770'} Time: get 0.0908119678497 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/4770 HTTP/1.1" 200 1392 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'86'} Time: get 0.0805931091309 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/86 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'76'} Time: get 0.0702171325684 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/76 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" () {'what': u'thumb', 'id': u'84'} Time: get 0.422515153885 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/84 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'83'} Time: get 0.0776691436768 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/83 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'81'} Time: get 0.0943129062653 71.91.170.132 - calibre [08/Dec/2011:08:47:36] "GET /get/thumb/81 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'77'} Time: get 0.0705258846283 71.91.170.132 - calibre [08/Dec/2011:08:47:37] "GET /get/thumb/77 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'78'} Time: get 0.0694010257721 71.91.170.132 - calibre [08/Dec/2011:08:47:37] "GET /get/thumb/78 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'74'} Time: get 0.0924589633942 71.91.170.132 - calibre [08/Dec/2011:08:47:37] "GET /get/thumb/74 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4765'} Time: get 0.0600299835205 71.91.170.132 - calibre [08/Dec/2011:08:47:37] "GET /get/thumb/4765 HTTP/1.1" 200 1695 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'75'} Time: get 0.0888950824738 71.91.170.132 - calibre [08/Dec/2011:08:47:37] "GET /get/thumb/75 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function mobile called with args: () {'sort': 'date', 'start': '26', 'search': '', 'num': '25', 'order': 'descending'} Time: mobile 0.525810956955 71.91.170.132 - calibre [08/Dec/2011:08:47:43] "GET /mobile?search=;order=descending;sort=date;num=25;start=26 HTTP/1.1" 200 14913 "http://66.225.195.49/mobile" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'73'} Time: get 0.095593214035 71.91.170.132 - calibre [08/Dec/2011:08:47:43] "GET /get/thumb/73 HTTP/1.1" 200 1334 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'63'} Time: get 0.0707111358643 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/63 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'6'} Time: get 0.0582928657532 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/6 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'62'} Time: get 0.0867822170258 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/62 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'62'} Time: get 0.0681121349335 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/62 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'10'} Time: get 0.0766899585724 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/10 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'73'} Time: get 0.0991401672363 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/73 HTTP/1.1" 200 1334 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4560'} Time: get 0.0897591114044 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/4560 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'4620'} Time: get 0.0745100975037 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/4620 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'451'} Time: get 0.071142911911 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/451 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'452'} Time: get 0.0687918663025 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/452 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'1120'} Time: get 0.0801560878754 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/1120 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'1124'} Time: get 0.0716059207916 71.91.170.132 - calibre [08/Dec/2011:08:47:44] "GET /get/thumb/1124 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'2128'} Function get called with args: () {'what': u'thumb', 'id': u'2341'} Time: get 0.0710980892181 71.91.170.132 - calibre [08/Dec/2011:08:47:45] "GET /get/thumb/2341 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'1362'} Time: get 0.0687489509583 71.91.170.132 - calibre [08/Dec/2011:08:47:45] "GET /get/thumb/1362 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'63'} Time: get 0.0796849727631 71.91.170.132 - calibre [08/Dec/2011:08:47:45] "GET /get/thumb/63 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" Function get called with args: () {'what': u'thumb', 'id': u'1'} Time: get 0.0777270793915 71.91.170.132 - calibre [08/Dec/2011:08:47:45] "GET /get/thumb/1 HTTP/1.1" 200 1103 "http://66.225.195.49/mobile?search=;order=descending;sort=date;num=25;start=26" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" libgomp: Thread creation failed: Resource temporarily unavailable |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2011
Device: kindle
|
BTW, I purchased a windows vps and loaded Calibre on it, and used ServiceEx to load the content server as a service and it works just fine, no crashes. I figure with the Windows version I can install Kindle PC and Nook PC, etc, and just use to to completely manage my library instead of managing on my PC and then syncing to the linux vps content server.
So, I guess what that means is I have given up on trying to get the Linux install to work. I have the VPS for a month, I will not renew it. I am still willing to help try and figure this error out, but I have not seen anyone else posting about it on here. I can do whatever you want\need in order to test, or I can email you the root password of the VPS and let you have at it for a while. As much as I like Calibre I may even be willing to pay for it for a few more months if you need the test box. |
![]() |
![]() |
![]() |
#19 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You've likely got some cover in your library that is causing imagemagick to crash when generating the thumbnail. ImageMagick tries to run multi-threaded on linux if libgomp is vailable, not on widows, so you aren't seeing it on windows.
|
![]() |
![]() |
![]() |
#20 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2011
Device: kindle
|
Can't be a cover in my library.
I deleted my entire library off of the server, leaving only the metadata.db. The Server works, serves pages, etc, but uses the standard default cover image as f no cover images are available, and if you try to download any of the books you get an error when trying to download, but you can still search, view the book details, etc. Server does the same thing, as soon as an iPhone (safari client) hits the site, it comes down with the same error (while the iPhone is being presented with the login prompt.) So, unless it is something in my metatdata.db that would be causing it... which the only thing I can think of, that I have not tried yet, is on my laptop I have the kindle categories plugin installed, and a few books assigned to custom Kindle categories. This plugin is not installed on the linux server / nor my windows vps. This is the only thing I can think of that would have changed anything in the database that would not be present in a default database file. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have simply disabled openmp in the calibre linux binary builds. That should fix this for the next release.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre server on (headless no X) sheevaplug | junke1990 | Related Tools | 6 | 07-13-2013 08:04 AM |
Headless server on NAS readonly problem | artifact | Related Tools | 1 | 06-28-2011 09:34 PM |
Fresh daily papers daily with Calibre, on a headless server | Fastolfe | General Discussions | 2 | 12-20-2010 05:29 AM |
Headless Calibre Server Setup | godzilla8nj | Related Tools | 4 | 03-10-2010 01:39 PM |
Can't Launch Calibre after fresh install | hfrummer | Calibre | 14 | 11-18-2008 04:20 PM |