![]() |
#136 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@JimmXinu: Thanks, good to know
@DivingDuck: Those PDF files generated covers from the first page for me in my windows calibre 64 bit install. Can you run calibre in debug mode and post the log when you add one of those PDF files. (Right click the preferences button to restart in debug mode). |
![]() |
![]() |
![]() |
#137 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Here it is:
Spoiler:
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The problem seems to be pdfinfo is returning non UTF-8 data on your system, despite passing the -enc UTF-8 option to it. Probably a bug in this version of poppler (which is where pdfinfo comes from).
Can you run the followoing in the direcotory containing the pdf file Code:
calibre-debug -c "from calibre.ebooks.metadata.pdf import *; pdfinfo, pdftoppm = get_tools(); subprocess.call([pdfinfo, '-enc', 'UTF-8', 'UTP1007.pdf'])" > output.txt |
![]() |
![]() |
![]() |
#139 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
There is a weird Count pages issue
I have it set to auto update the columns (no user needed ![]() The PI ends its run, but the columns do noy show the values UNTIL I click a new selection (I think this is a screen refresh issue) |
![]() |
![]() |
![]() |
#140 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Never mind, cool.
Here it is: Spoiler:
Last edited by Divingduck; 05-12-2017 at 01:39 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#141 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I need the actual file not a copy paste as I have to check why UTF-8 decoding is failing.
|
![]() |
![]() |
![]() |
#142 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
I attach it in post #140
|
![]() |
![]() |
![]() |
#143 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah the culprit is the localized date string, this should take care of it: https://github.com/kovidgoyal/calibr...66becc9e0cc062
|
![]() |
![]() |
![]() |
#144 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Thanks. I will test as soon you release the next beta. (Or can I runt it from source?)
|
![]() |
![]() |
![]() |
#145 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can run from source, but you have to checkout the vs2015 branch.
|
![]() |
![]() |
![]() |
#146 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Perfect, works like charm. Thanks again.
|
![]() |
![]() |
![]() |
#147 |
eBook-Reader-Fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
|
I just tried to insert a Word document (docx) into Calibre. I received the following error message:
Spoiler:
Addendum: I have tested a few more Word documents. The error I have mentioned occurs when I have previously created this file from a PDF document. For this I use the software "PDF Converter Professional 8". Last edited by Martina Schein; 05-12-2017 at 03:55 PM. |
![]() |
![]() |
![]() |
#148 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Thanks for the explanation.
|
![]() |
![]() |
![]() |
#149 | |||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Quote:
Quote:
Though I have always used a wrapper script for `calibre`, to make it run calibre-debug -g and log to a /tmp file. ... Kovid, I cannot figure out how to run either `calibre` or `calibre-debug -g` with the necessary options passed. ![]() Code:
calibre-debug: error: no such option: --with-library Code:
calibre: error: no such option: --username Also, I keep getting errors when I try running calibredb list as a test against the server. Code:
[eschwartz@arch ~]$ calibredb list --with-library "http://0.0.0.0:8080/#Amazon" --username XXXXXX --password XXXX Traceback (most recent call last): File "/usr/bin/calibredb", line 20, in <module> sys.exit(main()) File "/home/eschwartz/git/calibre/src/calibre/db/cli/main.py", line 251, in main return run_cmd(cmd, opts, args[1:], DBCtx(opts)) File "/home/eschwartz/git/calibre/src/calibre/db/cli/main.py", line 55, in run_cmd ret = m.main(opts, args, dbctx) File "/home/eschwartz/git/calibre/src/calibre/db/cli/cmd_list.py", line 324, in main for_machine=opts.for_machine File "/home/eschwartz/git/calibre/src/calibre/db/cli/cmd_list.py", line 150, in do_list ans = dbctx.run('list', fields, sort_by, ascending, search_text, limit) File "/home/eschwartz/git/calibre/src/calibre/db/cli/main.py", line 189, in run return self.remote_run(name, m, *args) File "/home/eschwartz/git/calibre/src/calibre/db/cli/main.py", line 209, in remote_run res = self.br.open_novisit(rq) File "/usr/lib/python2.7/site-packages/mechanize/_mechanize.py", line 239, in open_novisit url_or_request, data, visit=False, timeout=timeout) File "/usr/lib/python2.7/site-packages/mechanize/_mechanize.py", line 284, in _mech_open response = UserAgentBase.open(self, request, data) File "/usr/lib/python2.7/site-packages/mechanize/_opener.py", line 195, in open response = urlopen(self, req, data) File "/usr/lib/python2.7/site-packages/mechanize/_urllib2_fork.py", line 352, in _open '_open', req) File "/usr/lib/python2.7/site-packages/mechanize/_urllib2_fork.py", line 340, in _call_chain result = func(*args) File "/usr/lib/python2.7/site-packages/mechanize/_urllib2_fork.py", line 1185, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/site-packages/mechanize/_urllib2_fork.py", line 1154, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1042, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 880, in _send_output msg += message_body UnicodeDecodeError: 'utf8' codec can't decode byte 0x95 in position 0: invalid start byte Last edited by eschwartz; 05-12-2017 at 04:38 PM. |
|||
![]() |
![]() |
![]() |
#150 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Martina: I dont think that;s a bug in the beta, it would have happened in calibre 2.x as well. Regardless, this should fix it: https://github.com/kovidgoyal/calibr...c70f08cd89936b
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beta testers needed | kovidgoyal | Calibre | 54 | 05-20-2016 12:34 PM |
Windows beta testers needed | kovidgoyal | Calibre | 19 | 02-08-2016 04:38 PM |
Beta testers for calibre 2.0 needed | kovidgoyal | Calibre | 142 | 05-08-2015 04:44 AM |
Arc Updated Jelly Bean release - Beta testers needed | kobo-adrian | Kobo Tablets | 19 | 05-23-2013 09:32 PM |
Web Browsing from the Ebw-1150 - BETA Testers needed | Nate the great | Fictionwise eBookwise | 26 | 09-21-2008 11:52 PM |