![]() |
#181 | |
Addict
![]() ![]() ![]() ![]() Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
Quote:
then I added (in the create ebook -> advanced -> additional parameters): --add-chapters-to-toc , and different versions of: --chapter-regex, --chapter-regex=., --chapter-regex=h1, but none worked: I always get an lrf without the TOC, I don't know why... can you help? alessandro |
|
![]() |
![]() |
![]() |
#182 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Quote:
|
|
![]() |
![]() |
![]() |
#183 | |
Sleeper.
![]() Posts: 109
Karma: 10
Join Date: Dec 2007
Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro
|
Quote:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5.4; zh-TW; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1 Page: doesn't seem to make a difference. But why not use https://www.mobileread.com/forums/sho...057#post244057 Cheers, jo. |
|
![]() |
![]() |
![]() |
#184 |
Addict
![]() ![]() ![]() ![]() Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
A request-for-info, rather than a request-for-improvement:
where do you keep your temporary file containing the htm of what's inside the editor window? I ask because I'd like to keep on adding to the final document even between sessions, so I could back it up, then - when opening firefox again - I could load it and transfer it to a clean editor window... I tried searching for it with 'lsof', but I didnt find it... alessandro |
![]() |
![]() |
![]() |
#185 |
Addict
![]() ![]() ![]() ![]() Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
found:
/tmp/bookit-1.tmp /tmp/bookit-2.tmp /tmp/bookit-3.tmp ... (on linux) alessandro |
![]() |
![]() |
![]() |
#186 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Those temp files are only created when you build an ebook. I'm working on load/save for the editor for the next release but haven't gotten to it yet. I've run into an issue with add link/add image commands. Turns out the midas editor built into Mozilla has issues when run from an extension.
|
![]() |
![]() |
![]() |
#187 |
Addict
![]() ![]() ![]() ![]() Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
those .tmp (really .htm) files seem rather well-formed to me, links and images too.
Rather, there may be some unicode problems, because I found here and there some chinese characters that were not there in the original htm file from which I took the text snippets... alessandro |
![]() |
![]() |
![]() |
#188 |
Connoisseur
![]() ![]() Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
|
Not Working For Me
Hiya B'Wofe!
For some reason, I'm striking out with the latest version. When I double-click the icon while in Firefox, I get the hourglass for a few seconds, then Calibre pops open, but no new file appears in there. Anything I can try testing or doing to help? Dane |
![]() |
![]() |
![]() |
#189 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Quote:
Also, try creating an ebook the normal way and wait for calibre to pop up. Then, select the "Show Log File" menu item from either the taskbar context menu or the Tools/Bookit menu. This should show you the output from the most recent run. Paste that into a post and I'll see if anything looks wrong. I'm in crunch mode at work right now, after this week I should have time to fix a few bugs and add a few more features to the editor. Thanks. |
|
![]() |
![]() |
![]() |
#190 |
Connoisseur
![]() ![]() Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
|
Beowulf, here's the logfile data
"C:\Documents and Settings\Dane Udenberg\Application Data\Mozilla\Firefox\Profiles\a5b9n19w.default\ext ensions\{950a782d-e82f-45e2-9da7-44898356813d}\platform\WINNT\runsilent.exe" C:\DOCUME~1\DANEUD~1\LOCALS~1\Temp\bookit-exe-6.tmp false
Downloading . Could not fetch stylesheet https://www.mobileread.com/forums/"clientscript/vbulletin_css/style-cd454bec-00017.css" https://www.mobileread.com/forums/sho...=24403&page=13 saved to c:\docume~1\daneud~1\locals~1\temp\calibre_52nkgl_ web2lrf\showthread.php Processing u'showthread.php' Parsing HTML... Converting to BBeB... An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. An error occurred while processing a table: Table has cell that is too large. Ignoring table markup. Rationalizing font sizes... Traceback (most recent call last): File "convert_from.py", line 183, in <module> File "convert_from.py", line 177, in main File "convert_from.py", line 155, in process_profile File "convert_from.py", line 69, in create_lrf File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\html\ convert_from.py", line 1918, in process_file File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\html\ convert_from.py", line 1798, in writeto File "calibre\ebooks\lrf\pylrs\pylrs.pyo", line 615, in renderLrf IOError: [Errno 2] No such file or directory: u'C:\\temp\\bookit\\Bookit plugin for Firefox - Page 13 - MobileRead Forums.lrf' Traceback (most recent call last): File "cli.py", line 430, in <module> File "cli.py", line 427, in main File "cli.py", line 218, in command_add File "cli.py", line 141, in do_add IOError: [Errno 2] No such file or directory: u'C:\\temp\\bookit\\Bookit plugin for Firefox - Page 13 - MobileRead Forums.lrf' Hope it helps! Let me know if I can do anything else to test for you. Dane |
![]() |
![]() |
![]() |
#191 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Looks like web2lrf is having trouble writing the lrf file.
Does c:\temp\bookit exists? Also, try overriding the filename by the giving a full output filename path in the advanced tab. Make sure you don't set this permanently otherwise you'll overwrite the same file each time. |
![]() |
![]() |
![]() |
#192 |
Connoisseur
![]() ![]() Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
|
Was a Path Problem
Hi Beowulf,
I see it now, I did have a path problem. Adding the necessary folder structure to create the specified temp path solved it. Question: Should Bookit create the necessary folders if a specified path doesn't exist? Or, have a Browse button for specifying the chosen path? Dane |
![]() |
![]() |
![]() |
#193 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Quote:
thanks. |
|
![]() |
![]() |
![]() |
#194 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Just a quick FYI, I've been completely tied up with a new product release at work and haven't had any spare time to work on the plugin. And now there's a hurricane baring down on us and I may be without power for a while. During Alicia in 1983 we didn't have power for two weeks, that was fun!
So I haven't lost interest, I'm just a bit preoccupied! |
![]() |
![]() |
![]() |
#195 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Back to the 21st Century
Power and internet have been restored, I feel like a modern human again.
Missing a few shingles, trees, and a fence, but otherwise none the worse for wear. I need a few days to resolve work crises and then I'll try to remember where I was with the plugin. I see Kovid has gotten some epub support out. When get gets web2epub released I'll add support to bookit for it. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
BookIt and 64 bit | jlbfoot | LRF | 0 | 03-09-2009 03:24 PM |
Idea for a "Bookit" Plugin -- Maybe Kovid? | dsuden | Sony Reader | 55 | 01-03-2009 11:22 AM |
Great new Idea! Bookit button | =X= | Feedback | 0 | 10-27-2008 01:49 PM |
Making MobiRead Threads BookIt Friendly | =X= | Feedback | 3 | 08-11-2008 11:24 PM |